Authored by mali

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

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