Commit cf6e87dc authored by 董建华's avatar 董建华

清洗工具

parent cd8313f9
......@@ -53,9 +53,11 @@ public class CleanDataServiceImp implements CleanDataService {
Map<String, Object> re = Maps.newHashMap();
Boolean lock = stringRedisTemplate.opsForValue().setIfAbsent(LOCKKEY, "lock");
try {
Boolean lock = stringRedisTemplate.opsForValue().setIfAbsent(LOCKKEY, "lock");
if (!lock) {
return re;
}
......
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