xiaogang
2021-07-17 1024666b99a24bd7d5e4dc442d6b0c0319fa2f29
java110-db/src/main/resources/mapper/community/VisitServiceDaoImplMapper.xml
@@ -151,6 +151,12 @@
        <if test="bId !=null and bId != ''">
            and t.b_id= #{bId}
        </if>
        <if test="visitStartTime !=null and visitStartTime !='' ">
            and t.visit_time &gt;= #{visitStartTime}
        </if>
        <if test="visitEndTime !=null and visitEndTime !='' ">
            and t.visit_time &lt;= #{visitEndTime}
        </if>
        <if test="page != -1 and page != null ">
            limit #{page}, #{row}
        </if>
@@ -242,6 +248,12 @@
        <if test="bId !=null and bId != ''">
            and t.b_id= #{bId}
        </if>
        <if test="visitStartTime !=null and visitStartTime !='' ">
            and t.visit_time &gt;= #{visitStartTime}
        </if>
        <if test="visitEndTime !=null and visitEndTime !='' ">
            and t.visit_time &lt;= #{visitEndTime}
        </if>
    </select>