xieb
2023-11-20 438e7530cf959f73e40e27386aeb9c7ae3dbbf57
大坝安全监控预警列表
1 files modified
7 ■■■■ changed files
skjcmanager/skjcmanager-service/skjcmanager-nky/src/main/java/cn/gistack/nky/mapper/AlarmGetMapper.xml 7 ●●●● patch | view | raw | blame | history
skjcmanager/skjcmanager-service/skjcmanager-nky/src/main/java/cn/gistack/nky/mapper/AlarmGetMapper.xml
@@ -83,14 +83,17 @@
            AND NAG.type = #{vo.type}
        </if>
        <if test="vo.type != null and vo.type !='' and vo.type == 3">
            AND (NAG.type = '3' or NAG.type = '4' or NAG. type = '5')
            AND (NAG.type = '3' or NAG.type = '4' or NAG.type = '5')
        </if>
        <if test="vo.pointId != null and vo.pointId !='' ">
            AND NAG.POINT_id = #{vo.pointId}
        </if>
        <if test="vo.cdName != null and vo.cdName !=''">
        <if test="vo.cdName != null and vo.cdName !='' and vo.tpe != 3">
            AND acb."cd_nm" LIKE CONCAT('%',#{vo.cdName},'%')
        </if>
        <if test="vo.cdName != null and vo.cdName !='' and vo.tpe == 3">
            AND awcb."cd_nm" LIKE CONCAT('%',#{vo.cdName},'%')
        </if>
        AND NAG.dam_id =  #{vo.damId}
        ORDER BY NAG."TIME" DESC
        )temp