This commit is contained in:
2023-12-15 15:05:48 +08:00
parent be79809847
commit 1f8016c4d4
2 changed files with 8 additions and 6 deletions

View File

@@ -194,7 +194,7 @@ public class PileService {
boolean onLineStatus = pileConnectorInfoService.checkPileOffLine(pileInfoVO.getPileSn());
if (onLineStatus) {
// true为离线
throw new BusinessException(ReturnCodeEnum.CODE_PILE_CONNECTOR_STATUS_ERROR);
throw new BusinessException(ReturnCodeEnum.CODE_PILE_CONNECTOR_STATUS_OFF_LINE);
}
// 查询站点信息