2 Commity 3aa9e1627d ... 2637e3c71f

Autor SHA1 Wiadomość Data
  xdd 2637e3c71f Merge remote-tracking branch 'origin/master' 3 tygodni temu
  xdd 8e12c4b652 fix: 企微完课打标签保存判空 3 tygodni temu

+ 6 - 2
fs-service/src/main/java/com/fs/tag/service/impl/FsTagUpdateServiceImpl.java

@@ -175,7 +175,9 @@ public class FsTagUpdateServiceImpl implements FsTagUpdateService {
         }
         }
 
 
 
 
-        fsTagUpdateQueueMapper.batchInsert(batchData);
+        if(CollectionUtils.isNotEmpty(batchData)){
+            fsTagUpdateQueueMapper.batchInsert(batchData);
+        }
     }
     }
 
 
 
 
@@ -257,7 +259,9 @@ public class FsTagUpdateServiceImpl implements FsTagUpdateService {
         }
         }
 
 
 
 
-        fsTagUpdateQueueMapper.batchInsert(batchData);
+        if(CollectionUtils.isNotEmpty(batchData)){
+            fsTagUpdateQueueMapper.batchInsert(batchData);
+        }
     }
     }
 
 
     @Override
     @Override