|
@@ -63,14 +63,14 @@ public class ZhcxItpProjectNodeStateServiceImpl extends ServiceImpl<ZhcxItpProje
|
|
|
ZhcxItpProjectNodeStateDo entity = new ZhcxItpProjectNodeStateDo();
|
|
|
if(ObjectUtil.isNull(stateDo)) {
|
|
|
entity.setId(SecurityUtil.getUUID());
|
|
|
- dto.setSaveType("update");
|
|
|
- } else {
|
|
|
- entity.setId(stateDo.getId());
|
|
|
entity.setMathinecode(mn);
|
|
|
entity.setPrjid(itpDo.getProjectid());
|
|
|
entity.setNodeid(itpDo.getInspectioncontentid());
|
|
|
entity.setDeleted("0");
|
|
|
dto.setSaveType("insert");
|
|
|
+ } else {
|
|
|
+ entity.setId(stateDo.getId());
|
|
|
+ dto.setSaveType("update");
|
|
|
}
|
|
|
|
|
|
entity.setOuttimes(itpDo.getInspectioncount());
|