Authored by mlge

sql操作日志bug修改

@@ -42,10 +42,10 @@ @@ -42,10 +42,10 @@
42 and user_name like CONCAT('%',#{params.userName,jdbcType=VARCHAR},'%') 42 and user_name like CONCAT('%',#{params.userName,jdbcType=VARCHAR},'%')
43 </if> 43 </if>
44 <if test="params.beginTime !=null &amp;&amp; params.beginTime !=''"> 44 <if test="params.beginTime !=null &amp;&amp; params.beginTime !=''">
45 - and create_time &gt;= #{params.beginTime,jdbcType=TIMESTAMP} 45 + and create_time &gt;= CONCAT(#{params.beginTime,jdbcType=TIMESTAMP},' 00:00:00')
46 </if> 46 </if>
47 <if test="params.endTime !=null &amp;&amp; params.endTime !=''"> 47 <if test="params.endTime !=null &amp;&amp; params.endTime !=''">
48 - and create_time &lt;= #{params.endTime,jdbcType=TIMESTAMP} 48 + and create_time &lt;= CONCAT(#{params.endTime,jdbcType=TIMESTAMP},' 23:59:59')
49 </if> 49 </if>
50 order by create_time desc 50 order by create_time desc
51 </select> 51 </select>
@@ -57,10 +57,10 @@ @@ -57,10 +57,10 @@
57 and user_name like CONCAT('%',#{params.userName,jdbcType=VARCHAR},'%') 57 and user_name like CONCAT('%',#{params.userName,jdbcType=VARCHAR},'%')
58 </if> 58 </if>
59 <if test="params.beginTime !=null &amp;&amp; params.beginTime !=''"> 59 <if test="params.beginTime !=null &amp;&amp; params.beginTime !=''">
60 - and create_time &gt;= #{params.beginTime,jdbcType=TIMESTAMP} 60 + and create_time &gt;= CONCAT(#{params.beginTime,jdbcType=TIMESTAMP},' 00:00:00')
61 </if> 61 </if>
62 <if test="params.endTime !=null &amp;&amp; params.endTime !=''"> 62 <if test="params.endTime !=null &amp;&amp; params.endTime !=''">
63 - and create_time &lt;= #{params.endTime,jdbcType=TIMESTAMP} 63 + and create_time &lt;= CONCAT(#{params.endTime,jdbcType=TIMESTAMP},' 23:59:59')
64 </if> 64 </if>
65 order by create_time desc 65 order by create_time desc
66 limit #{startIndex},#{pageSize} 66 limit #{startIndex},#{pageSize}