lizhenhao 2 سال پیش
والد
کامیت
43ae57bd58

+ 13 - 0
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/projectReport/service/CwProjectReportReviewService.java

@@ -207,6 +207,19 @@ public class CwProjectReportReviewService extends ServiceImpl<CwProjectReportRev
                 line.setReportId(reportData.getId());
                 line.setReportId(reportData.getId());
                 infoMapper.update(line, new QueryWrapper<CwProjectInfoData>().lambda().eq(CwProjectInfoData::getReportId,reportData.getId()));
                 infoMapper.update(line, new QueryWrapper<CwProjectInfoData>().lambda().eq(CwProjectInfoData::getReportId,reportData.getId()));
             }
             }
+            CwProjectReport report = new CwProjectReport();
+            if (StringUtils.isNotBlank(reportData.getRegisterAddress())){
+                report.setRegisterAddress(reportData.getRegisterAddress());
+            }
+            if (StringUtils.isNotBlank(reportData.getBusinessLocation())){
+                report.setBusinessLocation(reportData.getBusinessLocation());
+            }
+            if (StringUtils.isNotBlank(reportData.getSecurityBusiness())){
+                report.setSecurityBusiness(reportData.getSecurityBusiness());
+            }
+            if (ObjectUtil.isNotEmpty(report)) {
+                cwProjectReportService.update(report, new QueryWrapper<CwProjectReport>().lambda().eq(CwProjectReport::getId,reportData.getId()));
+            }
         }
         }
         mapper.updateById(review);
         mapper.updateById(review);
         //将关联的项目信息的状态改为6
         //将关联的项目信息的状态改为6