Commit 7aeedc74 by 汪志阳

fix:离床日志输出

parent 0e334a27
......@@ -23,5 +23,5 @@ public interface PlatAlarmConfigMapper extends BaseMapper<PlatAlarmConfig> {
*/
List<PlatHealthConfigDTO> getHealthConfigList();
List<PlatAlarmConfig> listOffBed(@Param("orgDeviceId") String orgDeviceId);
List<PlatAlarmConfig> listOffBed(@Param("deviceId") String deviceId);
}
......@@ -43,5 +43,5 @@ public interface PlatAlarmConfigService extends IService<PlatAlarmConfig> {
void initData();
List<PlatAlarmConfig> listOfBed(String orgId);
List<PlatAlarmConfig> listOfBed(String deviceId);
}
......@@ -262,7 +262,7 @@ public class PlatAlarmConfigServiceImpl extends ServiceImpl<PlatAlarmConfigMappe
@Override
@TenantIdIgnore
public List<PlatAlarmConfig> listOfBed(String orgDeviceId) {
return configMapper.listOffBed(orgDeviceId);
public List<PlatAlarmConfig> listOfBed(String deviceId) {
return configMapper.listOffBed(deviceId);
}
}
......@@ -27,7 +27,7 @@
select *
from plat_alarm_config
where org_id in (
select org_id from plat_device where id = #{orgDeviceId} and del_flag = 0)
select org_id from plat_device where id = #{deviceId} and del_flag = 0)
and alarm_type = 5 and tenant_id != 0
</select>
</mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment