TASK:模块化;

This commit is contained in:
shahaibo
2025-04-08 17:29:10 +08:00
parent fd8d71e2a2
commit 4cda43f3b5
10 changed files with 66 additions and 28 deletions

View File

@@ -514,7 +514,8 @@ public class RedisUtil {
String key = "task:progress:" + taskId;
String json = redisTemplate.opsForValue().get(key);
if (StringUtils.isBlank(json)) {
return new ProgressDTO(0, 0, false);
// return new ProgressDTO(0, 0, false);
return null;
}
try {
return JSON.parseObject(json, ProgressDTO.class);