puhanshu
2022-05-07 5374baa816194645ce8036c7bffaf7ec61a8e6cb
花城优化
1个文件已修改
7 ■■■■ 已修改文件
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComActDynTypeDOMapper.xml 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComActDynTypeDOMapper.xml
@@ -61,7 +61,7 @@
        com_act_dyn_type AS cadt
        LEFT JOIN sys_user AS su ON su.user_id = cadt.create_by
        LEFT JOIN sys_user AS su1 ON su1.user_id = cadt.update_by
        where cadt.is_del = 2 and cadt.community_id !=0
        where cadt.is_del = 2
        <if test='comActDynTypeDTO.category != null '>
            <if test="comActDynTypeDTO.category != 3">
                <if test="comActDynTypeDTO.communityId != null">
@@ -93,6 +93,9 @@
        LEFT JOIN sys_user AS su1 ON su1.user_id = cadt.update_by
        where cadt.community_id = 0 and cadt.is_del = 2
        <if test="comActDynTypeDTO.category != null">
            <if test="comActDynTypeDTO.category == 3">
                AND 1=2
            </if>
            AND cadt.category = #{comActDynTypeDTO.category}
        </if>
        <if test="comActDynTypeDTO.keyWord != null and comActDynTypeDTO.keyWord != &quot;&quot;">
@@ -113,7 +116,7 @@
        com_act_dyn_type AS cadt
        LEFT JOIN sys_user AS su ON su.user_id = cadt.create_by
        LEFT JOIN sys_user AS su1 ON su1.user_id = cadt.update_by
        where cadt.is_del = 2 and cadt.community_id !=0
        where cadt.is_del = 2
        <if test='comActDynTypeDTO.category != null '>
            <if test="comActDynTypeDTO.category != 3">
                <if test="comActDynTypeDTO.communityId != null">