From 4eaab87985d925b7ef0a9459b5d5e20bb161ea53 Mon Sep 17 00:00:00 2001 From: Lemon Date: Wed, 7 Jan 2026 10:55:02 +0800 Subject: [PATCH] =?UTF-8?q?bugfix=20=20=E4=BF=AE=E5=A4=8D=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pile/service/impl/PileConnectorInfoServiceImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileConnectorInfoServiceImpl.java b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileConnectorInfoServiceImpl.java index 41f03024b..529458f5b 100644 --- a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileConnectorInfoServiceImpl.java +++ b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileConnectorInfoServiceImpl.java @@ -1066,13 +1066,14 @@ public class PileConnectorInfoServiceImpl implements PileConnectorInfoService { public PageResponse getConnectorListByStationAndStatus(QueryConnectorInfoDTO dto) { List list = new ArrayList<>(); List stationIds = dto.getStationIds(); + String status = dto.getConnectorStatus(); int pageNum = dto.getPageNum() == 0 ? 1 : dto.getPageNum(); int pageSize = dto.getPageSize() == 0 ? 10 : dto.getPageSize(); // 分页查询符合条件站点的枪口列表 PageUtils.startPage(pageNum, pageSize); - List connectorInfoVOS = pileConnectorInfoMapper.batchSelectConnectorListByStatus(stationIds, null); + List connectorInfoVOS = pileConnectorInfoMapper.batchSelectConnectorListByStatus(stationIds, status); PageInfo pageInfo = new PageInfo<>(connectorInfoVOS); // 将分页列表中充电中的枪编码筛选出来