二次版本提交

This commit is contained in:
hzj
2025-08-06 09:08:00 +08:00
parent f68d5da31e
commit a27eb7e462

View File

@@ -296,7 +296,7 @@ public class EventRightServiceImpl implements EventRightService {
}else { }else {
//查询条件都为空直接拿取所有测点匹配装置 //查询条件都为空直接拿取所有测点匹配装置
List<Integer> lineAssIds = assPOList.stream().map(PqUserLineAssPO::getLineIndex).collect(Collectors.toList()); List<Integer> lineAssIds = assPOList.stream().map(PqUserLineAssPO::getLineIndex).distinct().collect(Collectors.toList());
result = pqDeviceMapper.queryListByLineIds(new Page<DeviceDTO>(PageFactory.getPageNum(param),PageFactory.getPageSize(param)),param.getSearchValue(),lineAssIds); result = pqDeviceMapper.queryListByLineIds(new Page<DeviceDTO>(PageFactory.getPageNum(param),PageFactory.getPageSize(param)),param.getSearchValue(),lineAssIds);
} }