java110
2021-08-12 4dbf61c9189796ec46d39ac4b839cfc064e70411
java110-db/src/main/resources/mapper/common/AdvertServiceDaoImplMapper.xml
@@ -204,13 +204,13 @@
            and t.advert_id= #{advertId}
        </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 &gt;= #{endTime}
        </if>
        <if test="state !=null and state != ''">
            and t.state= #{state}
        </if>
        <if test="endTime !=null ">
            and t.end_time= #{endTime}
        </if>
        <if test="bId !=null and bId != ''">
            and t.b_id= #{bId}
@@ -276,10 +276,10 @@
            , t.view_type = #{viewType}
        </if>
        <if test="advertType !=null and advertType != ''">
            and t.advert_type = #{advertType}
            ,  t.advert_type = #{advertType}
        </if>
        <if test="pageUrl !=null and pageUrl != ''">
            and t.page_url= #{pageUrl}
            ,  t.page_url= #{pageUrl}
        </if>
        where 1=1
        <if test="advertId !=null and advertId != ''">