店铺不存在
This commit is contained in:
@@ -426,7 +426,7 @@ public class ShopInfoServiceImpl extends ServiceImpl<ShopInfoMapper, ShopInfo> i
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Long getMainIdByShopId(Long shopId) {
|
public Long getMainIdByShopId(Long shopId) throws CzgException {
|
||||||
ShopInfo shopInfo = this.getById(shopId);
|
ShopInfo shopInfo = this.getById(shopId);
|
||||||
if (shopInfo == null) {
|
if (shopInfo == null) {
|
||||||
throw new CzgException("店铺信息不存在");
|
throw new CzgException("店铺信息不存在");
|
||||||
|
|||||||
Reference in New Issue
Block a user