|
|
@@ -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
|