101captain
2022-07-23 6fb4f668b1bf115f05aa4fd03344a49af58c19d0
bug修改
1个文件已修改
6 ■■■■■ 已修改文件
springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/resources/mapper/ComPbMemberWestMapper.xml 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/resources/mapper/ComPbMemberWestMapper.xml
@@ -71,7 +71,6 @@
        LEFT JOIN (
            SELECT su.* FROM sys_user su
            LEFT JOIN com_act act ON su.community_id = act.community_id
            WHERE act.area_code = #{dto.areaCode}
        ) u ON m.id_card = u.id_card and u.type = 1
        LEFT JOIN com_act act ON u.community_id = act.community_id
        LEFT JOIN com_pb_org o ON m.org_id = o.id
@@ -138,7 +137,6 @@
        LEFT JOIN (
            SELECT su.* FROM sys_user su
            LEFT JOIN com_act act ON su.community_id = act.community_id
            WHERE act.area_code = #{dto.areaCode}
        ) u ON m.id_card = u.id_card and u.type = 1
        LEFT JOIN com_act act ON u.community_id = act.community_id
        LEFT JOIN com_pb_org o ON m.org_id = o.id
@@ -205,7 +203,6 @@
        LEFT JOIN (
            SELECT su.* FROM sys_user su
            LEFT JOIN com_act act ON su.community_id = act.community_id
            WHERE act.area_code = #{pagePartyBuildingMemberVO.areaCode}
        ) u ON m.id_card = u.id_card AND u.`type` = 1
        LEFT JOIN com_act act ON u.community_id = act.community_id
        LEFT JOIN com_pb_org o ON m.org_id = o.id
@@ -256,7 +253,6 @@
            LEFT JOIN (
                SELECT su.* FROM sys_user su
                LEFT JOIN com_act act ON su.community_id = act.community_id
                WHERE act.area_code = #{dto.areaCode}
            ) t1 on cpm.id_card = t1.id_card and t1.type=1
            <where>
                and cpm.audit_result = 1
@@ -405,7 +401,6 @@
                AND caas.user_id IN ( SELECT t1.user_id FROM com_pb_member_west t LEFT JOIN (
                    SELECT su.* FROM sys_user su
                    LEFT JOIN com_act act ON su.community_id = act.community_id
                    WHERE act.area_code = #{areaCode}
                    ) t1 on t.id_card=t1.id_card WHERE audit_result = 1
                AND t.community_id = #{communityId} AND t1.type=1
        <if test="orgIds != null and orgIds.size > 0">
@@ -476,7 +471,6 @@
        LEFT JOIN (
        SELECT su.* FROM sys_user su
        LEFT JOIN com_act act ON su.community_id = act.community_id
        WHERE act.area_code = #{areaCode}
        ) u ON m.id_card = u.id_card AND u.`type` = 1
        LEFT JOIN com_pb_org o ON m.org_id = o.id
        LEFT JOIN com_pb_check_unit as cpcu ON m.check_unit_id = cpcu.id