Authored by mali

续约的天数要加当前时间,而非库存到期时间

... ... @@ -378,7 +378,7 @@
<update id="updateDepositEndTime">
update storage_deposit
set deposit_end_time = deposit_end_time + #{depositEndTime,jdbcType=INTEGER} ,update_time = #{updateTime,jdbcType=INTEGER}
set deposit_end_time = unix_timestamp(now()) + #{depositEndTime,jdbcType=INTEGER} ,update_time = #{updateTime,jdbcType=INTEGER}
where id = #{depositId,jdbcType=INTEGER} AND del_status = 0 AND owner_uid = #{uid,jdbcType=INTEGER}
</update>
... ...