cgf
2025-08-23 9ec0a61f90ac2464eebc643bfe2d93ac9ba6e569
java110-db/src/main/resources/mapper/community/ActivitiesServiceDaoImplMapper.xml
@@ -141,7 +141,10 @@
        communityId,t.b_id,t.b_id bId,t.header_img,t.header_img headerImg,t.state,act.type_name typeCdName,t.create_time
        createTime
        from activities t
        left join activities_type act on t.type_cd = act.type_cd and t.community_id = act.community_id
        left join activities_type act on t.type_cd = act.type_cd
        <if test="communityId !=null and communityId != ''">
            and t.community_id = act.community_id
        </if>
        where 1 =1
        and t.status_cd= '0' and act.status_cd = '0'
        <if test="collectCount !=null and collectCount != ''">
@@ -251,7 +254,11 @@
    <select id="queryActivitiessCount" parameterType="Map" resultType="Map">
        select count(1) count
        from activities t
        left join activities_type act on t.type_cd = act.type_cd and t.community_id = act.community_id
        left join activities_type act on t.type_cd = act.type_cd
        <if test="communityId !=null and communityId != ''">
            and t.community_id = act.community_id
        </if>
        where 1 =1
        and t.status_cd= '0' and act.status_cd = '0'
        <if test="collectCount !=null and collectCount != ''">