Просмотр исходного кода

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

wangqiong123 2 лет назад
Родитель
Сommit
2c20dec85e

+ 3
- 1
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/CaseApplicationServiceImpl.java Просмотреть файл

1412
             // 根据代理人身份证去用户表查询
1412
             // 根据代理人身份证去用户表查询
1413
             SysUser agentUser = sysUserMapper.selectUserByIdCard(caseApplication.getIdentityNumAgent());
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
 //                return "该申请代理人已在"+agentUser.getDeptName()+"申请机构下存在,请检查填写信息是否正确";
1416
 //                return "该申请代理人已在"+agentUser.getDeptName()+"申请机构下存在,请检查填写信息是否正确";
1417
                 if (null != agentUser.getDept() && StrUtil.isNotEmpty(agentUser.getDept().getDeptName())) {
1417
                 if (null != agentUser.getDept() && StrUtil.isNotEmpty(agentUser.getDept().getDeptName())) {
1418
                     failureMsg.append("该申请代理人已在【").append(agentUser.getDept().getDeptName()).append("】申请机构下存在,请检查填写信息是否正确");
1418
                     failureMsg.append("该申请代理人已在【").append(agentUser.getDept().getDeptName()).append("】申请机构下存在,请检查填写信息是否正确");
2381
         caseApplicationNew.setClaimPrinciOwed(caseApplicationinsertDiffer.getClaimPrinciOwed());
2381
         caseApplicationNew.setClaimPrinciOwed(caseApplicationinsertDiffer.getClaimPrinciOwed());
2382
         caseApplicationNew.setClaimLiquidDamag(caseApplicationinsertDiffer.getClaimLiquidDamag());
2382
         caseApplicationNew.setClaimLiquidDamag(caseApplicationinsertDiffer.getClaimLiquidDamag());
2383
         caseApplicationNew.setFeePayable(caseApplicationinsertDiffer.getFeePayable());
2383
         caseApplicationNew.setFeePayable(caseApplicationinsertDiffer.getFeePayable());
2384
+        caseApplicationNew.setRequestRule(caseApplicationinsertDiffer.getRequestRule());
2385
+        caseApplicationNew.setProperPreser(caseApplicationinsertDiffer.getProperPreser());
2384
     }
2386
     }
2385
 
2387
 
2386
 
2388