From ce4f9a666b5845407687f9f4b8aeb4b457319bb4 Mon Sep 17 00:00:00 2001 From: ZhuDongming <773644075@qq.com> Date: Mon, 19 Aug 2019 16:52:20 +0800 Subject: [PATCH] 合并最大值最小值到同一Mapper --- src/main/resources/mapper/MonitorPointMapper.xml | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/MonitorPointMapper.xml b/src/main/resources/mapper/MonitorPointMapper.xml index dadb0c4..2743e54 100644 --- a/src/main/resources/mapper/MonitorPointMapper.xml +++ b/src/main/resources/mapper/MonitorPointMapper.xml @@ -143,4 +143,9 @@ right join monitor_point mpt on mpt.id = dev.monitor_point_id where mpt.id = #{id} ORDER BY version DESC </select> + <select id="selectAllById" resultType="java.util.Map"> + SELECT * + FROM monitor_point + WHERE id = #{id} + </select> </mapper> \ No newline at end of file -- Gitblit v1.8.0