Przeglądaj źródła

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

wangqiong123 2 lat temu
rodzic
commit
2c20dec85e

+ 3
- 1
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/CaseApplicationServiceImpl.java Wyświetl plik

@@ -1412,7 +1412,7 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
1412 1412
             // 根据代理人身份证去用户表查询
1413 1413
             SysUser agentUser = sysUserMapper.selectUserByIdCard(caseApplication.getIdentityNumAgent());
1414 1414
             // 代理人的部门和申请机构不匹配
1415
-            if (null != agentUser.getDeptId() && !String.valueOf(agentUser.getDeptId()).equals(applicationOrganId)) {
1415
+            if (null!=agentUser && null != agentUser.getDeptId() && !String.valueOf(agentUser.getDeptId()).equals(applicationOrganId)) {
1416 1416
 //                return "该申请代理人已在"+agentUser.getDeptName()+"申请机构下存在,请检查填写信息是否正确";
1417 1417
                 if (null != agentUser.getDept() && StrUtil.isNotEmpty(agentUser.getDept().getDeptName())) {
1418 1418
                     failureMsg.append("该申请代理人已在【").append(agentUser.getDept().getDeptName()).append("】申请机构下存在,请检查填写信息是否正确");
@@ -2381,6 +2381,8 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
2381 2381
         caseApplicationNew.setClaimPrinciOwed(caseApplicationinsertDiffer.getClaimPrinciOwed());
2382 2382
         caseApplicationNew.setClaimLiquidDamag(caseApplicationinsertDiffer.getClaimLiquidDamag());
2383 2383
         caseApplicationNew.setFeePayable(caseApplicationinsertDiffer.getFeePayable());
2384
+        caseApplicationNew.setRequestRule(caseApplicationinsertDiffer.getRequestRule());
2385
+        caseApplicationNew.setProperPreser(caseApplicationinsertDiffer.getProperPreser());
2384 2386
     }
2385 2387
 
2386 2388