lidongdong
2023-06-30 891a7c95c2de5e236ff22896bad3eda58bd3e4b0
区分西区  花城分类
3个文件已修改
48 ■■■■ 已修改文件
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/PageComActDynTypeDTO.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/community_backstage/src/main/java/com/panzhihua/community_backstage/api/ActDynTypeApi.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComActDynTypeDOMapper.xml 42 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/PageComActDynTypeDTO.java
@@ -24,6 +24,6 @@
    private Integer category;
    @ApiModelProperty("1 花城西区都有   2 花城独有")
    private String area="1";
    private String area;
}
springcloud_k8s_panzhihuazhihuishequ/community_backstage/src/main/java/com/panzhihua/community_backstage/api/ActDynTypeApi.java
@@ -42,10 +42,6 @@
            comActDynTypeDTO.setCommunityId(this.getCommunityId()+"");
        }
        if(StringUtils.isEmpty(comActDynTypeDTO.getArea()))
        {
            comActDynTypeDTO.setArea("1");
        }
        return communityService.pageDynTypeByAdmin(comActDynTypeDTO);
    }
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComActDynTypeDOMapper.xml
@@ -38,13 +38,13 @@
            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.community_id = 0 and cadt.is_del = 2 AND cadt.area in (1)
<!--            <if test="comActDynTypeDTO.area != null">-->
<!--                AND cadt.area in (1,2)-->
<!--            </if>-->
<!--            <if test="comActDynTypeDTO.area == null or comActDynTypeDTO.area == '1'  ">-->
<!--                AND cadt.area in (1)-->
<!--            </if>-->
            where cadt.community_id = 0 and cadt.is_del = 2
            <if test="comActDynTypeDTO.area != null">
                AND cadt.area in (1,2)
            </if>
            <if test="comActDynTypeDTO.area == null">
                AND cadt.area in (1)
            </if>
            <if test="comActDynTypeDTO.category != null">
                AND cadt.category = #{comActDynTypeDTO.category}
            </if>
@@ -67,13 +67,13 @@
        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.area in (1)
<!--        <if test="comActDynTypeDTO.area != null">-->
<!--            AND cadt.area in (1,2)-->
<!--        </if>-->
<!--        <if test="comActDynTypeDTO.area == null or comActDynTypeDTO.area == '1'  ">-->
<!--            AND cadt.area in (1)-->
<!--        </if>-->
        where cadt.is_del = 2
        <if test="comActDynTypeDTO.area != null">
            AND cadt.area in (1,2)
        </if>
        <if test="comActDynTypeDTO.area == null">
            AND cadt.area in (1)
        </if>
        <if test='comActDynTypeDTO.category != null '>
            AND cadt.category = #{comActDynTypeDTO.category}
        </if>
@@ -126,13 +126,13 @@
        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.area in (1)
<!--        <if test="comActDynTypeDTO.area != null">-->
<!--            AND cadt.area in (1,2)-->
<!--        </if>-->
<!--        <if test="comActDynTypeDTO.area == null or comActDynTypeDTO.area == '1'  ">-->
<!--            AND cadt.area in (1)-->
<!--        </if>-->
        where cadt.is_del = 2
        <if test="comActDynTypeDTO.area != null">
            AND cadt.area in (1,2)
        </if>
        <if test="comActDynTypeDTO.area == null ">
            AND cadt.area in (1)
        </if>
        <if test='comActDynTypeDTO.category != null '>
            AND cadt.category = #{comActDynTypeDTO.category}
        </if>