Преглед на файлове

Merge branch 'dev' of http://git.xayunmei.com/SH-Arbitrate/Arbitrate-Backend into qtz3

qitz преди 2 години
родител
ревизия
53e8ea4137
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 3
    1
      ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/CaseApplicationServiceImpl.java

+ 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("】申请机构下存在,请检查填写信息是否正确");
2380
         caseApplicationNew.setClaimPrinciOwed(caseApplicationinsertDiffer.getClaimPrinciOwed());
2380
         caseApplicationNew.setClaimPrinciOwed(caseApplicationinsertDiffer.getClaimPrinciOwed());
2381
         caseApplicationNew.setClaimLiquidDamag(caseApplicationinsertDiffer.getClaimLiquidDamag());
2381
         caseApplicationNew.setClaimLiquidDamag(caseApplicationinsertDiffer.getClaimLiquidDamag());
2382
         caseApplicationNew.setFeePayable(caseApplicationinsertDiffer.getFeePayable());
2382
         caseApplicationNew.setFeePayable(caseApplicationinsertDiffer.getFeePayable());
2383
+        caseApplicationNew.setRequestRule(caseApplicationinsertDiffer.getRequestRule());
2384
+        caseApplicationNew.setProperPreser(caseApplicationinsertDiffer.getProperPreser());
2383
     }
2385
     }
2384
 
2386
 
2385
 
2387