店铺不存在

This commit is contained in:
2025-11-14 08:57:39 +08:00
parent 5e3440cddf
commit ab42c98d5b

View File

@@ -426,7 +426,7 @@ public class ShopInfoServiceImpl extends ServiceImpl<ShopInfoMapper, ShopInfo> i
}
@Override
public Long getMainIdByShopId(Long shopId) {
public Long getMainIdByShopId(Long shopId) throws CzgException {
ShopInfo shopInfo = this.getById(shopId);
if (shopInfo == null) {
throw new CzgException("店铺信息不存在");