From 4c855671b05efba9199c456adbd7c846db608230 Mon Sep 17 00:00:00 2001 From: ‘liusuyi’ <1951119284@qq.com> Date: 星期五, 16 六月 2023 15:29:37 +0800 Subject: [PATCH] 优化三维实景业务 --- ard-work/src/main/resources/mapper/alarmpoints/ArdAlarmpointsWellMapper.xml | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/ard-work/src/main/resources/mapper/alarmpoints/ArdAlarmpointsWellMapper.xml b/ard-work/src/main/resources/mapper/alarmpoints/ArdAlarmpointsWellMapper.xml index c6ec2dc..a471902 100644 --- a/ard-work/src/main/resources/mapper/alarmpoints/ArdAlarmpointsWellMapper.xml +++ b/ard-work/src/main/resources/mapper/alarmpoints/ArdAlarmpointsWellMapper.xml @@ -71,6 +71,16 @@ </where> </select> + <select id="selectArdAlarmpointsWellByWellIdLike" parameterType="ArdAlarmpointsWell" resultMap="ArdAlarmpointsWellResult"> + <include refid="selectArdAlarmpointsWellVo"/> + <where> + <if test="id != null and id != ''">and c.id = #{id}</if> + <if test="wellId != null and wellId != ''"> and well_id like ('%${wellId}%')</if> + <!-- 鏁版嵁鑼冨洿杩囨护 --> + ${params.dataScope} + </where> + </select> + <select id="selectArdAlarmpointsWellById" parameterType="String" resultMap="ArdAlarmpointsWellResult"> <include refid="selectArdAlarmpointsWellVo"/> where id = #{id} -- Gitblit v1.9.3