排序

上级 819a2366
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
</select> </select>
<select id="queryAllByLimit" resultType="com.mmc.iuav.user.model.vo.UserPartnerVO"> <select id="queryAllByLimit" resultType="com.mmc.iuav.user.model.vo.UserPartnerVO">
select select
id,user_address, user_name, phone_number, id, create_time, update_time, status,user_account_id id,user_address, user_name, phone_number, create_time, update_time, status,user_account_id
from user_partner from user_partner
<where> <where>
<if test="userAddress != null and userAddress != ''"> <if test="userAddress != null and userAddress != ''">
...@@ -73,6 +73,7 @@ ...@@ -73,6 +73,7 @@
and status = #{status} and status = #{status}
</if> </if>
</where> </where>
order by create_time desc
limit #{pageNo},#{pageSize} limit #{pageNo},#{pageSize}
</select> </select>
<select id="queryById" resultType="com.mmc.iuav.user.model.vo.UserPartnerVO"> <select id="queryById" resultType="com.mmc.iuav.user.model.vo.UserPartnerVO">
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论