fix - 调整设置因数据字段修改为不能为空后引起的异常
This commit is contained in:
parent
7e5a140ed4
commit
f566fb0009
@ -55,6 +55,7 @@ public class CustomAddTimerJobCmd extends AbstractCommand<Void> implements Seria
|
||||
job.setActivityId(dto.getActivityId());
|
||||
job.setActivityName(dto.getActivityName());
|
||||
job.setAlterTime(alterTime);
|
||||
job.setException("");
|
||||
service.save(job);
|
||||
|
||||
return null;
|
||||
|
||||
@ -89,7 +89,7 @@ public class NodeAlterJobHandler extends IJobHandler {
|
||||
|
||||
Optional<CategoryItemVO> category = categoryService.get(BPM_MODEL_CATEGORY, processInstance.getProcessDefinitionKey());
|
||||
|
||||
// sendAlter(processInstance, category, e, tasks.get(0));
|
||||
sendAlter(processInstance, category, e, tasks.get(0));
|
||||
|
||||
executedJobs.add(e);
|
||||
XxlJobHelper.log("end execution of job: {}", JSON.toJSONString(e));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user