|
@@ -207,6 +207,19 @@ public class CwProjectReportReviewService extends ServiceImpl<CwProjectReportRev
|
|
|
line.setReportId(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);
|
|
|
//将关联的项目信息的状态改为6
|