update 批量查询枪口列表接口

This commit is contained in:
Lemon
2024-11-06 11:46:58 +08:00
parent 9623d1b8be
commit 50c9ef606f
2 changed files with 11 additions and 1 deletions

View File

@@ -519,7 +519,9 @@ public class PileConnectorInfoServiceImpl implements PileConnectorInfoService {
// 重新查询数据库
// 通过stationIds批量查询数据库
List<ConnectorInfoVO> newConnectorInfoList = pileConnectorInfoMapper.batchSelectConnectorList(noDataStationIds);
if (CollectionUtils.isEmpty(values)) {
values = new ArrayList<>();
}
values.add(newConnectorInfoList);
// 设置缓存