Commit 96c16166 authored by zhangsen's avatar zhangsen

copy取反

parent 6ca5127f
......@@ -628,7 +628,7 @@ public class CommonServiceImpl implements ICommonService {
}
}
model.setRoutePath(obj.getRoutePath() + urlParams);
BeanUtil.copyProperties(model, obj);
BeanUtil.copyProperties(obj, model);
model.setFlowStatus(0);
model.setFlowInstanceId(model.getRelationId());
model.setTaskTitle(obj.getStartUser() + "发起了" + obj.getTaskName());
......@@ -637,6 +637,7 @@ public class CommonServiceImpl implements ICommonService {
// model.setTerminal(params.getOrDefault("terminal","WEB").toString());
model.setCreateDate(new Date());
model.setRecUserId(RequestContext.getExeUserId());
model.setAgencyCode(RequestContext.getAgencyCode());
Systemctl.taskV2Client.create(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