|
|
@@ -89,10 +89,10 @@ public class PerceptionServiceImpl implements PerceptionService {
|
|
|
public Page<EquipmentRealtimeVO> pageEquipment(long pageNum, long pageSize, String equipmentCode,
|
|
|
String equipmentName, Integer equipmentTypeId, Integer rootTypeId,
|
|
|
Integer onlineStatus, Integer alarmStatus,
|
|
|
- Integer district, Integer currentStatus) {
|
|
|
+ Integer district, Integer currentStatus, String keyword) {
|
|
|
Page<EquipmentBaseVO> basePage = equipmentBaseService.findByPage(pageNum, pageSize, equipmentCode,
|
|
|
equipmentName, equipmentTypeId, rootTypeId, null, onlineStatus, alarmStatus,
|
|
|
- null, district, currentStatus);
|
|
|
+ null, district, currentStatus, keyword);
|
|
|
Page<EquipmentRealtimeVO> result = new Page<>(basePage.getCurrent(), basePage.getSize(), basePage.getTotal());
|
|
|
List<EquipmentRealtimeVO> records = new ArrayList<>();
|
|
|
for (EquipmentBaseVO vo : basePage.getRecords()) {
|