mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
update 后管操作停止充电接口
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user