baizonghao
2023-04-01 98f8160bd6531ef118d1bfcfb90368a3120ff70d
ycl-platform/src/main/resources/mapper/caseHandler/BaseCaseMapper.xml
@@ -96,8 +96,11 @@
            <if test="violationsTypeId !=null">
                and uv.grade_id = #{violationsTypeId}
            </if>
            <if test="videoId !=null">
                and uv.video_point_id = #{videoId}
            </if>
        </where>
        order by id desc
    </select>
    <select id="listIllegalBuildingsPage" resultType="com.ycl.vo.casePool.CasePoolIllegalBuildingVO">
@@ -329,9 +332,6 @@
        t1.alarm_time,
        t1.longitude,
        t1.latitude,
        -- ( CASE WHEN t1.category = 1 THEN "违规" WHEN t1.category = 2 THEN "违建" ELSE "其他" END ) AS type,
        -- ( CASE WHEN t1.event_source = 1 THEN "视频巡查" WHEN t1.event_source = 2 THEN "网格巡查" ELSE "其他" END ) AS
        alarmAdvice,
        dd.name AS type,
        ( CASE WHEN t1.event_source = 1 THEN "视频巡查" WHEN t1.event_source = 2 THEN "网格巡查" ELSE "其他" END ) AS source,
        t1.site AS address,