Commit 3233b45c88a0612f3b1d5292a4a2ad767e58643c

Authored by 张志伟
1 parent 5654bd36

:fire: feat(*): bug修复

- bug修复
fw-valhalla-service/src/main/java/cn/fw/valhalla/service/report/PublicReportBizService.java
... ... @@ -63,7 +63,7 @@ public class PublicReportBizService {
63 63 log.info("开始抽取公共池报表数据,日期:{} 集团:{}", nowDate, groupId);
64 64 final String lockKey = generateKey(groupId);
65 65 RLock lock = (RLock) distributedLocker.lock(lockKey);
66   - if (lock == null || !lock.isLocked()) {
  66 + if (lock == null || !lock.isLocked() || !lock.isHeldByCurrentThread()) {
67 67 return;
68 68 }
69 69 try {
... ...