Commit c1e30659 authored by chenzhao's avatar chenzhao

修改待办功能

parent 10f14228
...@@ -108,6 +108,7 @@ public class CommonserviceImpl { ...@@ -108,6 +108,7 @@ public class CommonserviceImpl {
model.setTaskSource(params.getOrDefault("taskSource","workFlow").toString()); model.setTaskSource(params.getOrDefault("taskSource","workFlow").toString());
// model.setTerminal(params.getOrDefault("terminal","WEB").toString()); // model.setTerminal(params.getOrDefault("terminal","WEB").toString());
model.setCreateDate(new Date()); model.setCreateDate(new Date());
model.setFinishStatus(false);
model.setTaskCode(params.get("taskCode").toString()); model.setTaskCode(params.get("taskCode").toString());
model.setRecUserId(params.get("userId").toString()); model.setRecUserId(params.get("userId").toString());
model.setAgencyCode(params.get("agencyCode").toString()); model.setAgencyCode(params.get("agencyCode").toString());
...@@ -126,6 +127,7 @@ public class CommonserviceImpl { ...@@ -126,6 +127,7 @@ public class CommonserviceImpl {
model.setTaskStatusLabel(params.get("taskStatusLabel").toString()); model.setTaskStatusLabel(params.get("taskStatusLabel").toString());
model.setEndUserId(reginParams.getUserModel().getUserId()); model.setEndUserId(reginParams.getUserModel().getUserId());
model.setEndDate(new Date()); model.setEndDate(new Date());
model.setFinishStatus(true);
Systemctl.taskV2Client.update(model,model.getSequenceNbr()); Systemctl.taskV2Client.update(model,model.getSequenceNbr());
//修改model并返回 用于组装新待办 //修改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