...
|
...
|
@@ -26,6 +26,9 @@ |
|
|
<if test="params.endTime !=null && params.endTime !=''">
|
|
|
and create_time <= #{params.endTime,jdbcType=TIMESTAMP}
|
|
|
</if>
|
|
|
<if test="params.keysContent !=null && params.keysContent !=''">
|
|
|
and (operate like CONCAT('%',#{params.keysContent},'%') or operate_desc like CONCAT('%',#{params.keysContent},'%') )
|
|
|
</if>
|
|
|
</select>
|
|
|
|
|
|
<select id="selectByPage" resultMap="BaseResultMap">
|
...
|
...
|
@@ -39,6 +42,9 @@ |
|
|
<if test="params.endTime !=null && params.endTime !=''">
|
|
|
and create_time <= #{params.endTime,jdbcType=TIMESTAMP}
|
|
|
</if>
|
|
|
<if test="params.keysContent !=null && params.keysContent !=''">
|
|
|
and (operate like CONCAT('%',#{params.keysContent},'%') or operate_desc like CONCAT('%',#{params.keysContent},'%') )
|
|
|
</if>
|
|
|
order by id desc
|
|
|
limit #{startIndex},#{pageSize}
|
|
|
</select>
|
...
|
...
|
|