铺位提交审核做检验
This commit is contained in:
@@ -253,6 +253,9 @@ public class PointServiceImpl implements PointService {
|
|||||||
log.error("铺位基本信息不存在");
|
log.error("铺位基本信息不存在");
|
||||||
throw new ServiceException(ErrorCodeEnum.POINT_NOT_EXIST);
|
throw new ServiceException(ErrorCodeEnum.POINT_NOT_EXIST);
|
||||||
}
|
}
|
||||||
|
if(!pointInfo.getPointStatus().equals(PointStatusEnum.POINT_STATUS_2.getCode())){
|
||||||
|
throw new ServiceException(ErrorCodeEnum.NOT_ALLOW_OPERATE);
|
||||||
|
}
|
||||||
PointDetailInfoDO pointDetailInfo = pointDetailInfoDAO.getPointDetailInfoByPointId(pointId);
|
PointDetailInfoDO pointDetailInfo = pointDetailInfoDAO.getPointDetailInfoByPointId(pointId);
|
||||||
if(Objects.isNull(pointDetailInfo)){
|
if(Objects.isNull(pointDetailInfo)){
|
||||||
log.error("铺位详细信息不存在");
|
log.error("铺位详细信息不存在");
|
||||||
|
|||||||
Reference in New Issue
Block a user