|
@@ -170,9 +170,9 @@ public class SubmitUserTaskController {
|
|
|
String dataId = instance.getBusinessKey();
|
|
|
// 这里把传阅数据放到任务变量中,是为了避免给流程数据操作方法增加额外的方法调用参数。
|
|
|
if (MapUtil.isNotEmpty(subVo.getCopyDat())) {
|
|
|
- //if (taskVariableData == null) {
|
|
|
- // taskVariableData = new JSONObject();
|
|
|
- //}
|
|
|
+ if (subVo.getTaskVariableData() == null) {
|
|
|
+ subVo.setTaskVariableData(new JSONObject());
|
|
|
+ }
|
|
|
subVo.getTaskVariableData().put(FlowConstant.COPY_DATA_KEY, subVo.getCopyDat());
|
|
|
}
|
|
|
FlowTaskComment flowTaskComment = BeanUtil.copyProperties(subVo.getFlowTaskCommentDto(), FlowTaskComment.class);
|