Commit d762fae7c15793daa6212fad0aaf2f3607debb5f

Authored by youxiw2000
1 parent 8a86ae3b

m

trash-workFlow/src/main/java/com/trash/casefile/service/impl/ViolationWarningInformationServiceImpl.java
@@ -191,7 +191,10 @@ public class ViolationWarningInformationServiceImpl implements IViolationWarning @@ -191,7 +191,10 @@ public class ViolationWarningInformationServiceImpl implements IViolationWarning
191 if (violationWarningInformation.getViolationObjectType().equals("2")) { 191 if (violationWarningInformation.getViolationObjectType().equals("2")) {
192 violationWarningInformation.setProjectName(violationWarningInformation.getCompanyName()); 192 violationWarningInformation.setProjectName(violationWarningInformation.getCompanyName());
193 } 193 }
194 - 194 +
  195 + if(violationWarningInformation.getProjectName() == null){
  196 + violationWarningInformation.setProjectName(violationWarningInformation.getCompanyName());
  197 + }
195 log.info("违规预警信息新增"); 198 log.info("违规预警信息新增");
196 Integer result = violationWarningInformationMapper 199 Integer result = violationWarningInformationMapper
197 .insertViolationWarningInformation(violationWarningInformation); 200 .insertViolationWarningInformation(violationWarningInformation);