Authored by mali

寄存商品上架,安装到期时间正序上架

@@ -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 &gt; 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 &gt; 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">