|
@@ -145,6 +145,15 @@ public class ZhcxInsideInspectionServiceImpl extends ServiceImpl<ZhcxInsideInspe
|
|
|
//单个报验点保存后操作
|
|
|
//生成报验单号
|
|
|
updateInspection(inspection, req);
|
|
|
+
|
|
|
+ //处理检验员
|
|
|
+ Map<String, Object> updateColsMap = req.getUpdate().getMasterUpdate().getUpdatecolumns();
|
|
|
+ if(ObjectUtil.isNotNull(updateColsMap.get("CHECKERID"))
|
|
|
+ && !updateColsMap.get("CHECKERID").toString().equals(inspection.getCheckerid())) {
|
|
|
+ inspection.setCheckerid(StringUtils.toString(updateColsMap.get("CHECKERID"), ""));
|
|
|
+ inspection.setCheckername(StringUtils.toString(updateColsMap.get("CHECKERNAME"), ""));
|
|
|
+ inspection.setCheckercontact(StringUtils.toString(updateColsMap.get("CHECKERCONTACT"), ""));
|
|
|
+ }
|
|
|
//生成空派单信息
|
|
|
dispatchService.genDispatch(inspection);
|
|
|
}
|
|
@@ -673,9 +682,9 @@ public class ZhcxInsideInspectionServiceImpl extends ServiceImpl<ZhcxInsideInspe
|
|
|
}
|
|
|
|
|
|
// 写入ZHCX_ITP_PROJECT_NODE_STATE表
|
|
|
- for (ZhcxInsideInspectionDo row : inspectionList) {
|
|
|
- saveResultToNodeState(row, es);
|
|
|
- }
|
|
|
+// for (ZhcxInsideInspectionDo row : inspectionList) {
|
|
|
+// saveResultToNodeState(row, es);
|
|
|
+// }
|
|
|
}
|
|
|
|
|
|
/**
|