Commit d4024e7c authored by zhangsen's avatar zhangsen

按钮控制问题处理

parent e983cda9
...@@ -670,13 +670,16 @@ public class CommonServiceImpl implements ICommonService { ...@@ -670,13 +670,16 @@ public class CommonServiceImpl implements ICommonService {
if (model == null) { if (model == null) {
return null; return null;
} }
JSONObject jsonObject = JSONObject.parseObject(model.getExtras());
String nextExecutorIds = jsonObject.get("nextExecutorIds").toString();
model.setFlowStatus(Integer.valueOf(params.get("flowStatus").toString())); model.setFlowStatus(Integer.valueOf(params.get("flowStatus").toString()));
model.setFlowStatusLabel(params.get("flowStatusLabel").toString()); model.setFlowStatusLabel(params.get("flowStatusLabel").toString());
model.setTaskStatus(Integer.valueOf(params.get("taskStatus").toString())); model.setTaskStatus(Integer.valueOf(params.get("taskStatus").toString()));
model.setTaskStatusLabel(params.get("taskStatusLabel").toString()); model.setTaskStatusLabel(params.get("taskStatusLabel").toString());
model.setEndUserId(exeUserId); model.setEndUserId(exeUserId);
model.setEndDate(new Date()); model.setEndDate(new Date());
model.setRoutePath(model.getRoutePath().replace("roleIds", "role").replace("edit", "look").replace("tatus","tatu")); model.setRoutePath(model.getRoutePath().replace("edit", "look").replace("nextExecutorIds","121"));
Systemctl.taskV2Client.update(model, model.getSequenceNbr()); Systemctl.taskV2Client.update(model, model.getSequenceNbr());
//修改model并返回 用于组装新待办 //修改model并返回 用于组装新待办
model.setEndUserId(null); model.setEndUserId(null);
......
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