xieb
2024-06-25 909189963b066c7c01c3b1e00ac83b155178f384
返回填报数量
1 files modified
10 ■■■■ changed files
skjcmanager/skjcmanager-service/skjcmanager-sm/src/main/java/cn/gistack/sm/sjztmd/mapper/TbResGeneralInvestigationMapper.xml 10 ●●●● patch | view | raw | blame | history
skjcmanager/skjcmanager-service/skjcmanager-sm/src/main/java/cn/gistack/sm/sjztmd/mapper/TbResGeneralInvestigationMapper.xml
@@ -414,7 +414,7 @@
        <if test="params.tbYear != null and params.tbYear !=''">
            and trgis."tb_year" = #{params.tbYear}
        </if>
        and trgis."check_state" = 1
        and (trgis."check_state" = 1 or trgis."check_state" = 2 or trgis."check_state" = 3)
        )investigationResNum,
        (
        SELECT COUNT(*) FROM
@@ -429,7 +429,7 @@
        <if test="params.tbYear != null and params.tbYear !=''">
            and trgis."tb_year" = #{params.tbYear}
        </if>
        and trgis."check_state" = 2
        and trgis."check_state" = 3
        )checkResNum,
        (
        SELECT COUNT(*)
@@ -452,7 +452,7 @@
        <if test="params.tbYear != null and params.tbYear !=''">
            and tdis."tb_year" = #{params.tbYear}
        </if>
        and tdis."check_state" = 1
        and (tdis."check_state" = 1 or tdis."check_state" = 2 or tdis."check_state" = 3)
        )investigationDykeNum,
        (
        SELECT COUNT(*) FROM
@@ -466,7 +466,7 @@
        <if test="params.tbYear != null and params.tbYear !=''">
            and tdis."tb_year" = #{params.tbYear}
        </if>
        and tdis."check_state" = 2
        and (tdis."check_state" = 2 or tdis."check_state" = 3)
        )checkDykeNum,
        IFNULL(
        (
@@ -511,7 +511,7 @@
        group by tdi."tb_state_id",tdi."dyke_guid",tdi."unit"
        )TEMP1
        ) tdi on tdi."tb_state_id" = tdis."guid"
        where (tdis."check_state" = 1 or tdis."check_state" = 2)
        where (tdis."check_state" = 1 or tdis."check_state" = 2 or tdis."check_state" = 3)
        ) trd
        LEFT JOIN YWXT."att_ad_base" county ON county."ad_code" = trd."ad_code"
        LEFT JOIN YWXT."att_ad_base" city ON city."ad_code" = county."p_ad_code"