TASK:模块化;
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user