zhangjian
2023-05-29 9763c7a6ed43a60c099d49cc149c86652fbb3cfa
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}