铺位提交审核做检验

This commit is contained in:
shuo.wang
2025-03-31 15:44:14 +08:00
parent 193f35bded
commit a1b3cf0440

View File

@@ -253,6 +253,9 @@ public class PointServiceImpl implements PointService {
log.error("铺位基本信息不存在");
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);
if(Objects.isNull(pointDetailInfo)){
log.error("铺位详细信息不存在");