Merge remote-tracking branch 'origin/master'

This commit is contained in:
ye1023
2026-04-21 09:35:53 +08:00
@@ -36,7 +36,12 @@ public class TaskTaskServiceImpl extends ServiceImpl<TaskTaskMapper, TaskTask> i
String jsonString = Optional.ofNullable(taskTask.getJsonData())
.map(JSON::toJSONString) // 使用 Fastjson 或 Jackson
.orElse("{}");
Result<String> res = bpmBaseExtApiImpl.startMutilProcess(taskTask.getFlowCode(), taskTask.getBusinessId(), taskTask.getFormUrl(), taskTask.getFormUrl(), userName, jsonString);
TaskTask newTask = new TaskTask();
BeanUtils.copyProperties(taskTask, newTask);
newTask.setId(null);
newTask.setStartTime(null);
this.save(newTask);
Result<String> res = bpmBaseExtApiImpl.startMutilProcess(taskTask.getFlowCode(), newTask.getId(), taskTask.getFormUrl(), taskTask.getFormUrl(), userName, jsonString);
return res.isSuccess();
}
@Transactional(rollbackFor = Exception.class)