Commit 53bfc8d6 authored by caotao's avatar caotao

修改使用单位撤回或者一级驳回再提交时数据需要将已同意修改为已提交。

parent 991e0488
......@@ -360,10 +360,10 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
dto.setTaskId(taskId);
dto.setComment(comment);
HashMap<String, Object> map = new HashMap<>();
map.put("approvalStatus", operate);
if(!ObjectUtils.isEmpty(jgChangeRegistrationReform)&&(jgChangeRegistrationReform.getStatus().equals(WorkFlowStatusEnum.CHANGE_SUBMIT.getRollBack())||jgChangeRegistrationReform.getStatus().equals(WorkFlowStatusEnum.CHANGE_SUBMIT.getReject()))){
operate="提交";
map.put("approvalStatus", "提交");
}
map.put("approvalStatus", operate);
dto.setVariable(map);
//执行流程
Workflow.taskClient.completeByTask(taskId, dto);
......
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