Commit 0a13aedb authored by 朱晨阳's avatar 朱晨阳

融资驳回后, 验收管理重新提交报错

parent 0b2d191a
......@@ -1549,7 +1549,12 @@ public class WorkOrderServiceImpl extends BaseService<WorkOrderDto, WorkOrder, W
AcceptanceCheck acceptanceCheck = powerStationEngineeringInfoAllDto.getAcceptanceCheck();
if(powerStationEngineeringInfoAllDto.getFlowType() == 1 && Objects.nonNull(acceptanceCheck)) {
Map<String,Object> model =new HashMap<>();
model.put("type","1");
if(acceptanceCheck.getInstanceId() == null) {
model.put("type", "0");
}else {
model.put("type","1");
}
model.put("sequenceNbr",acceptanceCheck.getSequenceNbr());
model.put("realName",realName);
acceptanceCheckService.saveAndCommit(model);
......
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