Commit 87d5da31 authored by 竹天卫's avatar 竹天卫

bug修改

parent 7c406396
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
from history_archives ha from history_archives ha
left join sys_user su on ha.user_id = su.id left join sys_user su on ha.user_id = su.id
where ha.user_id = #{param.userId} where ha.user_id = #{param.userId}
order by ha.create_time desc
</select> </select>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<sql id="where"> <sql id="where">
<where> <where>
<if test="params.code != null and params.code != ''"> <if test="params.code != null and params.code != ''">
and t.code = like concat('%', #{params.code}, '%') and t.code like concat('%', #{params.code}, '%')
</if> </if>
<if test="params.clientId != null"> <if test="params.clientId != null">
and t.client_id = #{params.clientId} and t.client_id = #{params.clientId}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment