|
|
@@ -97,6 +97,9 @@ public class BiService {
|
|
|
if (StrUtil.isNotBlank(monitorTargetPageParam.getRoomId())) {
|
|
|
queryWrapper.lambda().eq(MonitorTarget::getRoomId, monitorTargetPageParam.getRoomId());
|
|
|
}
|
|
|
+ if (StrUtil.isNotBlank(monitorTargetPageParam.getPlatform())) {
|
|
|
+ queryWrapper.lambda().eq(MonitorTarget::getPlatform, monitorTargetPageParam.getPlatform());
|
|
|
+ }
|
|
|
if (ObjectUtil.isAllNotEmpty(monitorTargetPageParam.getSortField(), monitorTargetPageParam.getSortOrder())) {
|
|
|
CommonSortOrderEnum.validate(monitorTargetPageParam.getSortOrder());
|
|
|
queryWrapper.orderBy(true, monitorTargetPageParam.getSortOrder().equals(CommonSortOrderEnum.ASC.getValue()), StrUtil.toUnderlineCase(monitorTargetPageParam.getSortField()));
|
|
|
@@ -165,7 +168,7 @@ public class BiService {
|
|
|
|
|
|
// 获取原始分页数据
|
|
|
|
|
|
- records = monitorTargetService.getEvnTarget(loginUser.getOrgId(), monitorTargetPageParam.getName(), monitorTargetPageParam.getRoomId());
|
|
|
+ records = monitorTargetService.getEvnTarget(loginUser.getOrgId(), monitorTargetPageParam.getName(), monitorTargetPageParam.getRoomId(),monitorTargetPageParam.getPlatform());
|
|
|
|
|
|
|
|
|
List<MonitorTargetBiDTO> monitorTargetBiDTOS = BeanUtil.copyToList(records, MonitorTargetBiDTO.class);
|