Commit 7a6922ac authored by suhuiguang's avatar suhuiguang

检验检测bug:

1.开通申请后开通区域数据不变 2.开通申请附件编辑时不更新
parent cf67b5ac
......@@ -318,6 +318,7 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
}
applicationEquipService.saveBatch(equipInfos);
// 附件保存
jyjcInspectionApplicationAttachmentService.getBaseMapper().deleteByApplicationSeq(model.getSequenceNbr());
List<String> enumNameList = DocumentEnum.getEnumNameList();
for (String code : enumNameList) {
if (obj.containsKey(code)) {
......
......@@ -675,6 +675,8 @@ public class JyjcOpeningApplicationServiceImpl extends BaseService<JyjcOpeningAp
taskParams.put("taskStatusLabel", FlowStatusEnum.TO_BE_FINISHED.getName());
taskParams.put("model", jyjcOpeningApplication);
taskModelService.updateTaskModel(taskParams);
List<String> detectionRegion = (List<String>)params.get("detectionRegion");
jyjcOpeningApplication.setDetectionRegion(detectionRegion);
jyjcOpeningApplication.setPromoter("");
jyjcOpeningApplication.setNextTaskId("");
jyjcOpeningApplication.setNextExecuteUserIds("");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment