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