From 1a287e90e648f6f8340e75f5793ebf3d92864fe0 Mon Sep 17 00:00:00 2001 From: ZhuDongming <773644075@qq.com> Date: Mon, 19 Aug 2019 16:54:35 +0800 Subject: [PATCH] 合并sql并修改最大值最小值计算 --- 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