修复 联联推送订单bug

This commit is contained in:
Lemon
2023-09-13 15:23:01 +08:00
parent 6dc6e8ab05
commit 318f7a35ac
2 changed files with 10 additions and 10 deletions

View File

@@ -191,11 +191,11 @@ public class PileService {
}
// 判断桩是否在线
boolean onLineStatus = pileConnectorInfoService.checkPileOffLine(pileInfoVO.getPileSn());
if (!onLineStatus) {
// 离线
throw new BusinessException(ReturnCodeEnum.CODE_PILE_CONNECTOR_STATUS_ERROR);
}
// boolean onLineStatus = pileConnectorInfoService.checkPileOffLine(pileInfoVO.getPileSn());
// if (!onLineStatus) {
// // 离线
// throw new BusinessException(ReturnCodeEnum.CODE_PILE_CONNECTOR_STATUS_ERROR);
// }
// 查询站点信息
PileStationVO stationInfo = pileStationInfoService.getStationInfo(pileInfoVO.getStationId());