Commit 6bc75f92 by 翁国栋 Committed by 284718418@qq.com

日志的倒序查询

parent 7ae99fbf
...@@ -188,7 +188,7 @@ ...@@ -188,7 +188,7 @@
select ip.policy_no as policyNo,il.return_code as returnCode,il.return_msg as returnMsg,il.type as type,il.create_time as createTime from insure_log il select ip.policy_no as policyNo,il.return_code as returnCode,il.return_msg as returnMsg,il.type as type,il.create_time as createTime from insure_log il
LEFT JOIN insure_policy ip on ip.id=il.policy_id LEFT JOIN insure_policy ip on ip.id=il.policy_id
WHERE ip.org_code = #{orgCode} WHERE ip.org_code = #{orgCode}
order by ip.create_time desc order by il.create_time desc
<if test="page.currentPage != null and page.totalPage != null"> <if test="page.currentPage != null and page.totalPage != null">
limit #{page.offset}, #{page.totalPage} limit #{page.offset}, #{page.totalPage}
</if> </if>
......
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