瀏覽代碼

内外部报验单取消的时候清空相关字段

DLC 1 月之前
父節點
當前提交
3e44a87fd7

+ 3 - 0
business-common/src/main/java/com/rongwei/bscommon/sys/service/impl/ZhcxInsideInspectionServiceImpl.java

@@ -446,6 +446,9 @@ public class ZhcxInsideInspectionServiceImpl extends ServiceImpl<ZhcxInsideInspe
             ZhcxInsideInspectionDo inside = new ZhcxInsideInspectionDo();
             inside.setId(insideId);
             inside.setInspectionstatus("40");
+            //取消的时候清空
+            inside.setCheckername("");
+
             inspectionList.add(inside);
 
             NotifyDto notify = getMailInfo4Cancel(inOper, req);

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

@@ -376,6 +376,11 @@ public class ZhcxOutsideInspectionItpServiceImpl extends ServiceImpl<ZhcxOutside
                 }
                 dispatchDo.setRefusereason(vo.get(i).getReason());
                 dispatchDo.setDispatchstatus("30");
+
+                //取消的时候清空
+                dispatchDo.setSignature("");
+                dispatchDo.setSupervision("");
+
                 inspectionItpDo.setInspectionstatus("40");
 
                 //添加项目各机号报验点状态