bugfix
This commit is contained in:
@@ -532,8 +532,8 @@ public class DecorationServiceImpl implements DecorationService {
|
|||||||
throw new ServiceException(ErrorCodeEnum.PARAMS_REQUIRED);
|
throw new ServiceException(ErrorCodeEnum.PARAMS_REQUIRED);
|
||||||
}
|
}
|
||||||
//必须是待提交状态才能提交
|
//必须是待提交状态才能提交
|
||||||
ShopStageInfoDO shopStageInfo = shopStageInfoDAO.getByShopIdAndSubStage(request.getShopId(), ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_90.getShopSubStageStatus());
|
ShopStageInfoDO shopStageInfo = shopStageInfoDAO.getByShopIdAndSubStage(request.getShopId(), ShopSubStageEnum.SHOP_STAGE_9.getShopSubStage());
|
||||||
if (Objects.isNull(shopStageInfo)) {
|
if (shopStageInfo!=null&&ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_90.getShopSubStageStatus().equals(shopStageInfo.getShopSubStageStatus())) {
|
||||||
throw new ServiceException(ErrorCodeEnum.STATUS_NOT_SUPPORT_SUMMIT);
|
throw new ServiceException(ErrorCodeEnum.STATUS_NOT_SUPPORT_SUMMIT);
|
||||||
}
|
}
|
||||||
DecorationDesignInfoDO decorationDesignInfoDO = request.toDecorationDesignInfoDO();
|
DecorationDesignInfoDO decorationDesignInfoDO = request.toDecorationDesignInfoDO();
|
||||||
|
|||||||
@@ -182,7 +182,7 @@ public class PreparationServiceImpl implements PreparationService {
|
|||||||
if (preparationProcess == null){
|
if (preparationProcess == null){
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
preparationProcess.setTotalCount(14);
|
preparationProcess.setTotalCount(11);
|
||||||
return preparationProcess;
|
return preparationProcess;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -46,7 +46,6 @@ public class PreparationController {
|
|||||||
return ResponseResult.success(preparationService.getPreparationDetail(shopId));
|
return ResponseResult.success(preparationService.getPreparationDetail(shopId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ApiOperation("筹建进展")
|
@ApiOperation("筹建进展")
|
||||||
@GetMapping("/getPreparationProcess")
|
@GetMapping("/getPreparationProcess")
|
||||||
public ResponseResult<PreparationProcessVO> getPreparationProcess(@RequestParam("shopId")Long shopId) {
|
public ResponseResult<PreparationProcessVO> getPreparationProcess(@RequestParam("shopId")Long shopId) {
|
||||||
|
|||||||
Reference in New Issue
Block a user