Authored by mlge

sql操作日志bug修改

... ... @@ -42,10 +42,10 @@
and user_name like CONCAT('%',#{params.userName,jdbcType=VARCHAR},'%')
</if>
<if test="params.beginTime !=null &amp;&amp; params.beginTime !=''">
and create_time &gt;= #{params.beginTime,jdbcType=TIMESTAMP}
and create_time &gt;= CONCAT(#{params.beginTime,jdbcType=TIMESTAMP},' 00:00:00')
</if>
<if test="params.endTime !=null &amp;&amp; params.endTime !=''">
and create_time &lt;= #{params.endTime,jdbcType=TIMESTAMP}
and create_time &lt;= CONCAT(#{params.endTime,jdbcType=TIMESTAMP},' 23:59:59')
</if>
order by create_time desc
</select>
... ... @@ -57,10 +57,10 @@
and user_name like CONCAT('%',#{params.userName,jdbcType=VARCHAR},'%')
</if>
<if test="params.beginTime !=null &amp;&amp; params.beginTime !=''">
and create_time &gt;= #{params.beginTime,jdbcType=TIMESTAMP}
and create_time &gt;= CONCAT(#{params.beginTime,jdbcType=TIMESTAMP},' 00:00:00')
</if>
<if test="params.endTime !=null &amp;&amp; params.endTime !=''">
and create_time &lt;= #{params.endTime,jdbcType=TIMESTAMP}
and create_time &lt;= CONCAT(#{params.endTime,jdbcType=TIMESTAMP},' 23:59:59')
</if>
order by create_time desc
limit #{startIndex},#{pageSize}
... ...