This commit is contained in:
苏竹红
2024-06-26 09:32:38 +08:00
parent 70f8527e37
commit 542fd9ad23
3 changed files with 3 additions and 4 deletions

View File

@@ -532,8 +532,8 @@ public class DecorationServiceImpl implements DecorationService {
throw new ServiceException(ErrorCodeEnum.PARAMS_REQUIRED);
}
//必须是待提交状态才能提交
ShopStageInfoDO shopStageInfo = shopStageInfoDAO.getByShopIdAndSubStage(request.getShopId(), ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_90.getShopSubStageStatus());
if (Objects.isNull(shopStageInfo)) {
ShopStageInfoDO shopStageInfo = shopStageInfoDAO.getByShopIdAndSubStage(request.getShopId(), ShopSubStageEnum.SHOP_STAGE_9.getShopSubStage());
if (shopStageInfo!=null&&ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_90.getShopSubStageStatus().equals(shopStageInfo.getShopSubStageStatus())) {
throw new ServiceException(ErrorCodeEnum.STATUS_NOT_SUPPORT_SUMMIT);
}
DecorationDesignInfoDO decorationDesignInfoDO = request.toDecorationDesignInfoDO();

View File

@@ -182,7 +182,7 @@ public class PreparationServiceImpl implements PreparationService {
if (preparationProcess == null){
return null;
}
preparationProcess.setTotalCount(14);
preparationProcess.setTotalCount(11);
return preparationProcess;
}

View File

@@ -46,7 +46,6 @@ public class PreparationController {
return ResponseResult.success(preparationService.getPreparationDetail(shopId));
}
@ApiOperation("筹建进展")
@GetMapping("/getPreparationProcess")
public ResponseResult<PreparationProcessVO> getPreparationProcess(@RequestParam("shopId")Long shopId) {