fix
This commit is contained in:
@@ -95,7 +95,7 @@ public class ShopServiceImpl implements ShopService {
|
||||
public Integer deleteShop(DeleteShopRequest request) {
|
||||
ShopInfoDO shopInfo = shopInfoDAO.getShopInfo(request.getShopId());
|
||||
ShopStageInfoDO shopSubStageInfo = shopStageInfoDAO.getShopSubStageInfo(shopInfo.getId(), ShopSubStageEnum.SHOP_STAGE_3);
|
||||
if(ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_9.getShopSubStageStatus().equals(shopSubStageInfo.getShopSubStageStatus())){
|
||||
if(ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_33.getShopSubStageStatus().equals(shopSubStageInfo.getShopSubStageStatus())){
|
||||
throw new ServiceException(ErrorCodeEnum.NOT_ALLOW_OPERATE);
|
||||
}
|
||||
if(Objects.nonNull(shopInfo.getPointId())){
|
||||
|
||||
Reference in New Issue
Block a user