Authored by mali

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

... ... @@ -165,7 +165,7 @@
<select id="getDepositOffs" resultMap="BaseResultMap">
select * from storage_deposit
where owner_uid = #{uid} and storage_id = #{storageId}
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}
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}
</select>
<select id="selectByDepositCode" resultMap="BaseResultMap">
... ...