Commit fcb8f92d authored by hezhuozhi's avatar hezhuozhi

处理编辑详情空指针问题

parent 8484e06d
......@@ -1426,6 +1426,15 @@ public class WorkOrderServiceImpl extends BaseService<WorkOrderDto, WorkOrder, W
if(Objects.nonNull(commercial)){
commercialService.updateWithModel(commercial);
}
if(Objects.isNull(powerStationEngineeringInfoAllDto.getCommitFlag())){
throw new BadRequest("保存标识为空");
}
if(Objects.isNull(powerStationEngineeringInfoAllDto.getFlowType())){
throw new BadRequest("流程标识为空");
}
//提交
if(powerStationEngineeringInfoAllDto.getCommitFlag() == 1){
//提交并网
......
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