Quellcode durchsuchen

Merge branch 'hjb' of SH-Arbitrate/Arbitrate-Backend into dev

hejinbo vor 2 Jahren
Ursprung
Commit
c083e3711c

+ 2
- 2
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/CaseApplicationServiceImpl.java Datei anzeigen

@@ -1316,7 +1316,7 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
1316 1316
                                 if(caseAffiliate.getIdentityType()==1){
1317 1317
                                     // 校验申请人
1318 1318
                                     for (String applicAffiliateColumn : applicAffiliateColumns) {
1319
-                                        if(StrUtil.isEmpty( ObjectFieldUtils.getValue(caseApplication, applicAffiliateColumn))){
1319
+                                        if(StrUtil.isEmpty( ObjectFieldUtils.getValue(caseAffiliate, applicAffiliateColumn))){
1320 1320
                                             errorMsg.append(applicAffiliateColumn).append("不能为空,");
1321 1321
                                             // todo 暂抛出异常,后边改为提示具体的字段
1322 1322
                                             throw new ServiceException("必填字段未填写,请完善案件信息!");
@@ -1326,7 +1326,7 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
1326 1326
                                     // 校验被申请人
1327 1327
                                     // 校验申请人
1328 1328
                                     for (String applicAffiliateColumn : dectborAffiliateColumns) {
1329
-                                        if(StrUtil.isEmpty( ObjectFieldUtils.getValue(caseApplication, applicAffiliateColumn))){
1329
+                                        if(StrUtil.isEmpty( ObjectFieldUtils.getValue(caseAffiliate, applicAffiliateColumn))){
1330 1330
                                             errorMsg.append(applicAffiliateColumn).append("不能为空,");
1331 1331
                                             // todo 暂抛出异常,后边改为提示具体的字段
1332 1332
                                             throw new ServiceException("必填字段未填写,请完善案件信息!");

+ 1
- 1
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/CaseApplicationMapper.xml Datei anzeigen

@@ -1535,7 +1535,7 @@
1535 1535
         order by c.create_time desc limit 1
1536 1536
     </select>
1537 1537
     <select id="listCaseApplicationByIds" resultMap="CaseApplicationResult">
1538
-        select c.id ,c.case_num ,c.case_subject_amount ,c.register_date ,c.arbitrat_method ,
1538
+        select c.id ,c.case_num ,c.case_subject_amount ,c.register_date ,c.arbitrat_method ,c.case_name,
1539 1539
         CASE c.arbitrat_method when 1 then '开庭审理' when 2 then '书面审理'
1540 1540
         ELSE '无审理方式'
1541 1541
         END arbitratMethodName,