update 后管操作停止充电接口

This commit is contained in:
Guoqs
2024-09-18 17:08:49 +08:00
parent b0da86ca70
commit 0ca737e195
2 changed files with 2 additions and 2 deletions

View File

@@ -350,7 +350,7 @@ public class OrderService {
boolean permissionFlag = StringUtils.equals(orderInfo.getMemberId(), dto.getMemberId())
|| UserUtils.checkStationAuth(orderInfo.getStationId()); // false无权限, true有权限
if (!permissionFlag) {
throw new BusinessException(ReturnCodeEnum.CODE_ORDER_MEMBER_NOT_MATCH_ERROR);
throw new BusinessException(ReturnCodeEnum.CODE_NO_PERMISSION_TO_OPERATE_THE_ORDER_ERROR);
}
// 判断该桩是否推送了第三方站点(需要我方平台发送启动指令的,如:华为平台)
List<ThirdPartySnRelationVO> list = snRelationService.selectSnRelationListByParams(orderInfo.getStationId(), orderInfo.getPileSn(), null);