Showing
1 changed file
with
1 additions
and
1 deletions
@@ -165,7 +165,7 @@ | @@ -165,7 +165,7 @@ | ||
165 | <select id="getDepositOffs" resultMap="BaseResultMap"> | 165 | <select id="getDepositOffs" resultMap="BaseResultMap"> |
166 | select * from storage_deposit | 166 | select * from storage_deposit |
167 | where owner_uid = #{uid} and storage_id = #{storageId} | 167 | where owner_uid = #{uid} and storage_id = #{storageId} |
168 | - and status=1 and order_status=0 and del_status=0 and out_type!=3 and deposit_end_time > unix_timestamp(now()) limit 0, #{count} | 168 | + and status=1 and order_status=0 and del_status=0 and out_type!=3 and deposit_end_time > unix_timestamp(now()) order by deposit_end_time asc limit 0, #{count} |
169 | </select> | 169 | </select> |
170 | 170 | ||
171 | <select id="selectByDepositCode" resultMap="BaseResultMap"> | 171 | <select id="selectByDepositCode" resultMap="BaseResultMap"> |
-
Please register or login to post a comment