leo.li
2024-09-10 e6ea2f2bfdee3bf7c67076164233af48a1d08ecc
update
1 files modified
5 ■■■■ changed files
src/main/java/com/jw/ai/service/impl/TaskServiceImpl.java 5 ●●●● patch | view | raw | blame | history
src/main/java/com/jw/ai/service/impl/TaskServiceImpl.java
@@ -148,7 +148,10 @@
                log.info("更新任务状态结果 {}", row);
            }
            String uuid = execPyTask(task, null, 0);
            List<String> uuidList = new ArrayList<>();
            uuidList.add(uuid);
            String key = String.format(Constant.DEMAND_TASK_NOTICE_KEY, task.getRequireId());
            redisUtil.set(key, uuidList.toString());
        }
    }