|
@@ -114,7 +114,8 @@ public class SensorAlarmServiceImpl extends ServiceImpl<SensorAlarmMapper, Senso
|
|
|
|
|
|
@Override
|
|
|
public List<TopWarningDto> topWarning(String month, List<String> types) {
|
|
|
- return getBaseMapper().getTop10Warning(month, types);
|
|
|
+ SaBaseLoginUser loginUser = StpLoginUserUtil.getLoginUser();
|
|
|
+ return getBaseMapper().getTop10Warning(loginUser.getOrgId(), month, types);
|
|
|
}
|
|
|
|
|
|
public Page<SensorAlarm> getSensorAlarmPage(MessagePageParam messagePageParam) {
|