装修阶段
This commit is contained in:
@@ -589,8 +589,8 @@ public class DecorationServiceImpl implements DecorationService {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Boolean confirmComplete(Long shopId, LoginUserInfo user) {
|
public Boolean confirmComplete(Long shopId, LoginUserInfo user) {
|
||||||
ShopStageInfoDO shopStageInfoDO = shopStageInfoDAO.getByShopIdAndSubStage(shopId, ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_91.getShopSubStageStatus());
|
ShopStageInfoDO shopStageInfoDO = shopStageInfoDAO.getByShopIdAndSubStage(shopId, ShopSubStageEnum.SHOP_STAGE_9.getShopSubStage());
|
||||||
if (Objects.isNull(shopStageInfoDO)){
|
if (shopStageInfoDO!=null && !ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_91.getShopSubStageStatus().equals(shopStageInfoDO.getShopSubStageStatus())){
|
||||||
throw new ServiceException(ErrorCodeEnum.DESIGN_NO_COMPLETE);
|
throw new ServiceException(ErrorCodeEnum.DESIGN_NO_COMPLETE);
|
||||||
}
|
}
|
||||||
shopStageInfoDAO.batchUpdateShopStageStatus(shopId, Arrays.asList(ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_112, ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_120));
|
shopStageInfoDAO.batchUpdateShopStageStatus(shopId, Arrays.asList(ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_112, ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_120));
|
||||||
|
|||||||
Reference in New Issue
Block a user