From cdec9062c85f52d43e8d74e82cbcf9f8606ebb01 Mon Sep 17 00:00:00 2001 From: jinpengyong <jpy123456> Date: Tue, 30 Jan 2024 16:39:59 +0800 Subject: [PATCH] chore:设备在线率接口提交 --- screen-api/src/main/resources/mapper/DeviceMapper.xml | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/screen-api/src/main/resources/mapper/DeviceMapper.xml b/screen-api/src/main/resources/mapper/DeviceMapper.xml index 39de26e..996b601 100644 --- a/screen-api/src/main/resources/mapper/DeviceMapper.xml +++ b/screen-api/src/main/resources/mapper/DeviceMapper.xml @@ -268,4 +268,13 @@ d.is_delete = 0 order by d.mac </select> + + + <select id="getPage" resultType="com.moral.api.vo.OnlineRateVo"> + select d.name,d.state,d.mac from device as d where organization_id=#{organizationId} + </select> + + <select id="getList" resultType="com.moral.api.vo.OnlineRateVo"> + select d.name,d.state,d.mac from device as d where organization_id=#{organizationId} + </select> </mapper> \ No newline at end of file -- Gitblit v1.8.0