Commit 63feb74e by liuyu

Merge branch 'feature' into 'release'

2023年05/26 模板set 旧模板空判断

See merge request !66
parents 5e8010e5 3491813e
...@@ -203,7 +203,7 @@ public class TemplateTitleServiceImpl implements TemplateTitleService { ...@@ -203,7 +203,7 @@ public class TemplateTitleServiceImpl implements TemplateTitleService {
if (redissonUtil.tryLock(lockKey, 5, 5)) { if (redissonUtil.tryLock(lockKey, 5, 5)) {
String mapKey = Tools.assembleKey(GenericAttribute.REDIS_MAP_KEY, group); String mapKey = Tools.assembleKey(GenericAttribute.REDIS_MAP_KEY, group);
String mapKeyValue = redissonUtil.getMapKeyValue(mapKey, title); String mapKeyValue = redissonUtil.getMapKeyValue(mapKey, title);
if (Strings.isEmpty(mapKeyValue)) { if (Strings.isEmpty(mapKeyValue) && Objects.isNull(templateTitleVo)) {
return; return;
} }
TemplateTitleVo titleVo = JSONObject.parseObject(mapKeyValue, TemplateTitleVo.class); TemplateTitleVo titleVo = JSONObject.parseObject(mapKeyValue, TemplateTitleVo.class);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment