소스 검색

外部报验功能

wangming 1 년 전
부모
커밋
52ef781bdd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      business-common/src/main/java/com/rongwei/bscommon/sys/service/impl/ZhcxOutsideInspectionItpServiceImpl.java

+ 1 - 1
business-common/src/main/java/com/rongwei/bscommon/sys/service/impl/ZhcxOutsideInspectionItpServiceImpl.java

@@ -77,7 +77,7 @@ public class ZhcxOutsideInspectionItpServiceImpl extends ServiceImpl<ZhcxOutside
                 sysSerialVo.setResetrule("date:yyyyMMdd");
                 sysSerialVo.setInitValue(0L);
                 String code = serialNumberService.getCodeByTemplate(sysSerialVo);
-                if(count > 0) {
+                if(count == 0) { //第一个做修改
                     itpDo.setStructurename(structurName);
                     itpDo.setInspectioncontent(inspectionContent);
                     itpDo.setInspectioncode(code);