forked from kidgrow-microservices-platform

zhaoxiaohao
2020-12-28 4d16eccb156ad17b395332edafd41cae208d7a28
kidgrow-business/kidgrow-opration-center/kidgrow-opration-center-biz/src/main/resources/mapper/DataNeedMapper.xml
@@ -11,7 +11,6 @@
    <sql id="where">
        <where>
            <!--查询条件自行添加-->
            is_del=0
            <if test="p.id != null and p.id !=''">
                and id = #{p.id}
            </if>
@@ -75,6 +74,12 @@
            <if test="p.createTime != null and p.createTime !=''">
                and create_time = #{p.createTime}
            </if>
            <if test="p.createTimeBegin != null and p.createTimeBegin !=''">
                and create_time &gt;=  #{p.createTimeBegin}
            </if>
            <if test="p.createTimeEnd != null and p.createTimeEnd !=''">
                and create_time &lt;= #{p.createTimeEnd}
            </if>
            <if test="p.updateTime != null and p.updateTime !=''">
                and update_time = #{p.updateTime}
            </if>