/user/shopInfo报错修复
This commit is contained in:
@@ -97,7 +97,9 @@ public class ShopExtendServiceImpl extends ServiceImpl<ShopExtendMapper, ShopExt
|
||||
newRecords.add(newRecord);
|
||||
}
|
||||
|
||||
mapper.insertBatchSelective(newRecords,50);
|
||||
if (!newRecords.isEmpty()) {
|
||||
mapper.insertBatchSelective(newRecords,50);
|
||||
}
|
||||
|
||||
shopExtendList.addAll(newRecords);
|
||||
return shopExtendList;
|
||||
|
||||
Reference in New Issue
Block a user