增加,门店恢复状态,删除门店接口
This commit is contained in:
@@ -174,6 +174,10 @@ public class ShopServiceImpl implements ShopService {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<ShopStageInfoVO> getShopStageInfo(Long shopId, Integer shopStage) {
|
public List<ShopStageInfoVO> getShopStageInfo(Long shopId, Integer shopStage) {
|
||||||
|
ShopInfoDO shopInfo = shopInfoDAO.getShopInfo(shopId);
|
||||||
|
if (Objects.isNull(shopInfo)){
|
||||||
|
throw new ServiceException(ErrorCodeEnum.SHOP_ID_NOT_EXIST);
|
||||||
|
}
|
||||||
if (Objects.nonNull(shopStage)) {
|
if (Objects.nonNull(shopStage)) {
|
||||||
ShopStageEnum shopStageEnum = ShopStageEnum.getShopStageEnum(shopStage);
|
ShopStageEnum shopStageEnum = ShopStageEnum.getShopStageEnum(shopStage);
|
||||||
if (Objects.isNull(shopStageEnum)) {
|
if (Objects.isNull(shopStageEnum)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user