Commit e09c8156 authored by hezhuozhi's avatar hezhuozhi

提交编辑详情

parent 25911559
...@@ -1428,10 +1428,12 @@ public class WorkOrderServiceImpl extends BaseService<WorkOrderDto, WorkOrder, W ...@@ -1428,10 +1428,12 @@ public class WorkOrderServiceImpl extends BaseService<WorkOrderDto, WorkOrder, W
} }
//提交 //提交
if(powerStationEngineeringInfoAllDto.getCommitFlag() == 1){ if(powerStationEngineeringInfoAllDto.getCommitFlag() == 1){
//提交并网
if(Objects.nonNull(hygfOnGrid) && powerStationEngineeringInfoAllDto.getFlowType() == 0) { if(Objects.nonNull(hygfOnGrid) && powerStationEngineeringInfoAllDto.getFlowType() == 0) {
hygfOnGrid.setType("1"); hygfOnGrid.setType("1");
basicGridAcceptanceService.saveAndCommit(hygfOnGrid,userId); basicGridAcceptanceService.saveAndCommit(hygfOnGrid,userId);
} }
//提交验收
AcceptanceCheck acceptanceCheck = powerStationEngineeringInfoAllDto.getAcceptanceCheck(); AcceptanceCheck acceptanceCheck = powerStationEngineeringInfoAllDto.getAcceptanceCheck();
if(powerStationEngineeringInfoAllDto.getFlowType() == 1 && Objects.nonNull(acceptanceCheck)) { if(powerStationEngineeringInfoAllDto.getFlowType() == 1 && Objects.nonNull(acceptanceCheck)) {
Map<String,Object> model =new HashMap<>(); Map<String,Object> model =new HashMap<>();
......
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