|
|
|
@ -332,6 +332,10 @@ public class TaskRecordServiceImpl extends ServiceImpl<TaskRecordMapper, TaskRec
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TaskCaseRecord taskCaseRecord = taskCaseRecordService.updateStatus(taskId, executeId, promptId, isSuccess);
|
|
|
|
|
if (null == taskCaseRecord){
|
|
|
|
|
log.warn("completeTask:任务ID:【{}】,执行ID:【{}】,提示词id:【{}】,未查询到任务案件数据...", taskId, executeId, promptId);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
log.info("completeTask:任务ID:【{}】,执行ID:【{}】,任务状态:【{}】", taskId, executeId, taskCaseRecord.getStatus());
|
|
|
|
|
// 校验总体任务是否是取消中
|
|
|
|
|
if (StrUtil.equalsAny(taskRecord.getStatus(), TASK_STATUS_CANCELLING, TASK_STATUS_CANCELED)) {
|
|
|
|
|