/user/shopInfo报错修复

This commit is contained in:
张松
2025-12-01 16:08:54 +08:00
parent 2832e7066d
commit a57d2853a6

View File

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