2 커밋 3aa9e1627d ... 2637e3c71f

작성자 SHA1 메시지 날짜
  xdd 2637e3c71f Merge remote-tracking branch 'origin/master' 3 주 전
  xdd 8e12c4b652 fix: 企微完课打标签保存判空 3 주 전
1개의 변경된 파일6개의 추가작업 그리고 2개의 파일을 삭제
  1. 6 2
      fs-service/src/main/java/com/fs/tag/service/impl/FsTagUpdateServiceImpl.java

+ 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