java110
2021-09-04 576c52d8d8e6fb1e738380cc5fc101a6a2b0b3a8
java110-db/src/main/resources/mapper/community/ActivitiesServiceDaoImplMapper.xml
@@ -169,10 +169,10 @@
            and t.context= #{context}
        </if>
        <if test="startTime !=null ">
            and t.start_time= #{startTime}
            and t.start_time &lt;= #{startTime}
        </if>
        <if test="endTime !=null ">
            and t.end_time= #{endTime}
            and t.end_time &gt;= #{endTime}
        </if>
        <if test="communityId !=null and communityId != ''">
            and t.community_id= #{communityId}
@@ -182,9 +182,6 @@
        </if>
        <if test="headerImg !=null and headerImg != ''">
            and t.header_img= #{headerImg}
        </if>
        <if test="endTimeFlag == null or endTimeFlag == ''">
            and t.end_time > now()
        </if>
        <if test="state !=null and state != ''">
            and t.state= #{state}
@@ -284,10 +281,10 @@
            and t.context= #{context}
        </if>
        <if test="startTime !=null ">
            and t.start_time= #{startTime}
            and t.start_time &lt;= #{startTime}
        </if>
        <if test="endTime !=null ">
            and t.end_time= #{endTime}
            and t.end_time &gt;= #{endTime}
        </if>
        <if test="communityId !=null and communityId != ''">
            and t.community_id= #{communityId}