mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
优化 关闭15分钟未支付订单
This commit is contained in:
@@ -2464,7 +2464,18 @@
|
||||
where del_flag = '0'
|
||||
and order_status = '0'
|
||||
and pay_status = '0'
|
||||
and create_time <![CDATA[ <= ]]> #{createTime,jdbcType=VARCHAR}
|
||||
<!--and create_time <![CDATA[ <= ]]> #{createTime,jdbcType=VARCHAR}-->
|
||||
and create_time between date_sub(#{createTime,jdbcType=VARCHAR}, interval 15 minute) and #{createTime,jdbcType=VARCHAR}
|
||||
</select>
|
||||
|
||||
<select id="getUnpaidOrderList" resultMap="BaseResultMap">
|
||||
select
|
||||
<include refid="Base_Column_List" />
|
||||
from order_basic_info
|
||||
where del_flag = '0'
|
||||
and order_status = '0'
|
||||
and pay_status = '0'
|
||||
and create_time between #{startTime,jdbcType=VARCHAR} and #{endTime,jdbcType=VARCHAR}
|
||||
</select>
|
||||
|
||||
<select id="selectOrderListByTimeRangeAndStatus" resultMap="BaseResultMap">
|
||||
|
||||
Reference in New Issue
Block a user