huanghongfa
2021-12-15 84a9829464ffa82d69d751e373c9a9309100d05b
修改bug
1个文件已修改
24 ■■■■ 已修改文件
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComMngPopulationDOMapper.xml 24 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComMngPopulationDOMapper.xml
@@ -868,7 +868,7 @@
            LEFT JOIN com_act AS ca1 ON ca1.community_id = cmpct1.community_id
            LEFT JOIN com_street AS cs1 ON cs1.street_id = ca1.street_id
        WHERE
             cmpct1.label LIKE '%低保户%' and ca.area_code = '510423'
             cmpct1.label LIKE '%低保户%' and ca1.area_code = '510423'
            <if test="streetId != null and streetId != 0">
                and cs1.street_id = #{streetId}
            </if>
@@ -881,7 +881,7 @@
            LEFT JOIN com_act AS ca2 ON ca2.community_id = cmpct2.community_id
            LEFT JOIN com_street AS cs2 ON cs2.street_id = ca2.street_id
        WHERE
            cmpct2.label LIKE '%高龄老人%' and ca.area_code = '510423'
            cmpct2.label LIKE '%高龄老人%' and ca2.area_code = '510423'
        <if test="streetId != null and streetId != 0">
            and cs2.street_id = #{streetId}
        </if>
@@ -894,7 +894,7 @@
            LEFT JOIN com_act AS ca3 ON ca3.community_id = cmpct3.community_id
            LEFT JOIN com_street AS cs3 ON cs3.street_id = ca3.street_id
        WHERE
             cmpct3.label LIKE '%特殊情况(重大病史/孕)%' and ca.area_code = '510423'
             cmpct3.label LIKE '%特殊情况(重大病史/孕)%' and ca3.area_code = '510423'
        <if test="streetId != null and streetId != 0">
            and cs3.street_id = #{streetId}
        </if>
@@ -907,7 +907,7 @@
            LEFT JOIN com_act AS ca4 ON ca4.community_id = cmpct4.community_id
            LEFT JOIN com_street AS cs4 ON cs4.street_id = ca4.street_id
        WHERE
            cmpct4.label LIKE '%特扶家庭%' and ca.area_code = '510423'
            cmpct4.label LIKE '%特扶家庭%' and ca4.area_code = '510423'
        <if test="streetId != null and streetId != 0">
            and cs4.street_id = #{streetId}
        </if>
@@ -920,7 +920,7 @@
            LEFT JOIN com_act AS ca5 ON ca5.community_id = cmpct5.community_id
            LEFT JOIN com_street AS cs5 ON cs5.street_id = ca5.street_id
        WHERE
            cmpct5.label LIKE '%退役军人%' and ca.area_code = '510423'
            cmpct5.label LIKE '%退役军人%' and ca5.area_code = '510423'
        <if test="streetId != null and streetId != 0">
            and cs5.street_id = #{streetId}
        </if>
@@ -934,7 +934,7 @@
            LEFT JOIN com_street AS cs6 ON cs6.street_id = ca6.street_id
            left join com_mng_population as cmp6 on cmp6.id = cmpct6.population_id
        WHERE
            cmpct6.label LIKE '%养老金人员%' and ca.area_code = '510423'
            cmpct6.label LIKE '%养老金人员%' and ca6.area_code = '510423'
        <if test="streetId != null and streetId != 0">
            and cs6.street_id = #{streetId}
        </if>
@@ -948,7 +948,7 @@
            LEFT JOIN com_act AS ca7 ON ca7.community_id = cmpct7.community_id
            LEFT JOIN com_street AS cs7 ON cs7.street_id = ca7.street_id
        WHERE
            cmpct7.label LIKE '%吸毒人员%' and ca.area_code = '510423'
            cmpct7.label LIKE '%吸毒人员%' and ca7.area_code = '510423'
        <if test="streetId != null and streetId != 0">
            and cs7.street_id = #{streetId}
        </if>
@@ -961,7 +961,7 @@
            LEFT JOIN com_act AS ca8 ON ca8.community_id = cmpct8.community_id
            LEFT JOIN com_street AS cs8 ON cs8.street_id = ca8.street_id
        WHERE
            cmpct8.label LIKE '%社区矫正%' and ca.area_code = '510423'
            cmpct8.label LIKE '%社区矫正%' and ca8.area_code = '510423'
        <if test="streetId != null and streetId != 0">
            and cs8.street_id = #{streetId}
        </if>
@@ -974,7 +974,7 @@
            LEFT JOIN com_act AS ca9 ON ca9.community_id = cmpct9.community_id
            LEFT JOIN com_street AS cs9 ON cs9.street_id = ca9.street_id
        WHERE
            cmpct9.label LIKE '%邪教人员%' and ca.area_code = '510423'
            cmpct9.label LIKE '%邪教人员%' and ca9.area_code = '510423'
        <if test="streetId != null and streetId != 0">
            and cs9.street_id = #{streetId}
        </if>
@@ -987,7 +987,7 @@
            LEFT JOIN com_act AS ca10 ON ca10.community_id = cmpct10.community_id
            LEFT JOIN com_street AS cs10 ON cs10.street_id = ca10.street_id
        WHERE
            cmpct10.label LIKE '%刑释人员%' and ca.area_code = '510423'
            cmpct10.label LIKE '%刑释人员%' and ca10.area_code = '510423'
        <if test="streetId != null and streetId != 0">
            and cs10.street_id = #{streetId}
        </if>
@@ -1000,7 +1000,7 @@
            LEFT JOIN com_act AS ca11 ON ca11.community_id = cmpct11.community_id
            LEFT JOIN com_street AS cs11 ON cs11.street_id = ca11.street_id
        WHERE
            cmpct11.label LIKE '%上访人员%' and ca.area_code = '510423'
            cmpct11.label LIKE '%上访人员%' and ca11.area_code = '510423'
        <if test="streetId != null and streetId != 0">
            and cs11.street_id = #{streetId}
        </if>
@@ -1013,7 +1013,7 @@
            LEFT JOIN com_act AS ca12 ON ca12.community_id = cmpct12.community_id
            LEFT JOIN com_street AS cs12 ON cs12.street_id = ca12.street_id
        WHERE
            cmpct12.label LIKE '%精神障碍患者%' and ca.area_code = '510423'
            cmpct12.label LIKE '%精神障碍患者%' and ca12.area_code = '510423'
        <if test="streetId != null and streetId != 0">
            and cs12.street_id = #{streetId}
        </if>