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