...
|
...
|
@@ -24,6 +24,9 @@ |
|
|
<if test="params.endTime !=null && params.endTime !=''">
|
|
|
and create_time <= #{params.endTime,jdbcType=TIMESTAMP}
|
|
|
</if>
|
|
|
<if test="params.ip !=null && params.ip !=''">
|
|
|
and ip like concat(#{params.ip},'%')
|
|
|
</if>
|
|
|
</select>
|
|
|
|
|
|
<select id="selectByPage" resultMap="BaseResultMap">
|
...
|
...
|
@@ -37,6 +40,9 @@ |
|
|
<if test="params.endTime !=null && params.endTime !=''">
|
|
|
and create_time <= #{params.endTime,jdbcType=TIMESTAMP}
|
|
|
</if>
|
|
|
<if test="params.ip !=null && params.ip !=''">
|
|
|
and ip like concat(#{params.ip},'%')
|
|
|
</if>
|
|
|
order by id desc
|
|
|
limit #{startIndex},#{pageSize}
|
|
|
</select>
|
...
|
...
|
|