gjs 3 年 前
コミット
009dfd23a6

+ 3 - 1
src/main/java/com/macro/mall/tiny/modules/business/service/impl/AsyncHandler.java

@@ -203,7 +203,9 @@ public class AsyncHandler {
             List<BTower> oriTowerList = towerService.list(towerWrapper);
             HashSet<BTower> towerSet = new HashSet<>(oriTowerList);
             towerSet.addAll(towerList);
-            towerService.setHasFile(new ArrayList<>(towerSet), userDetails);
+            if (towerSet.size() > 0) {
+                towerService.setHasFile(new ArrayList<>(towerSet), userDetails);
+            }
 
             // 后续清楚缓存处理
             lineCacheService.delLineList();