mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-19 18:45:03 +08:00
bugfix 修复状态筛选
This commit is contained in:
@@ -1066,13 +1066,14 @@ public class PileConnectorInfoServiceImpl implements PileConnectorInfoService {
|
||||
public PageResponse getConnectorListByStationAndStatus(QueryConnectorInfoDTO dto) {
|
||||
List<PileConnectorInfoVO> list = new ArrayList<>();
|
||||
List<String> 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<ConnectorInfoVO> connectorInfoVOS = pileConnectorInfoMapper.batchSelectConnectorListByStatus(stationIds, null);
|
||||
List<ConnectorInfoVO> connectorInfoVOS = pileConnectorInfoMapper.batchSelectConnectorListByStatus(stationIds, status);
|
||||
|
||||
PageInfo<ConnectorInfoVO> pageInfo = new PageInfo<>(connectorInfoVOS);
|
||||
// 将分页列表中充电中的枪编码筛选出来
|
||||
|
||||
Reference in New Issue
Block a user