Pārlūkot izejas kodu

[券过期][修改]:券过期,返回过期list

release_toaliyun_real
Stormeye Wu pirms 7 gadiem
vecāks
revīzija
715b3cdb68
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml

+ 2
- 2
mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml Parādīt failu

@@ -254,10 +254,10 @@
where tenant_id=#{tenantId} AND create_date >= #{startTime} and create_date < #{endTime}
</select>

<update id="findExpiredFreeCouponOrderByValidDate">
<select id="findExpiredFreeCouponOrderByValidDate" parameterType="com.iformall.domain.po.WxCouponOrder" resultMap="BaseResultMap">
select <include refid="allColumns" /> from wx_coupon_order
where expired_time &lt; now() and coupon_price = 0 and coupon_order_status = 0
</update>
</select>

<select id="findExpiredCouponOrderByValidDate" parameterType="com.iformall.domain.po.WxCouponOrder" resultMap="BaseResultMap">
select <include refid="allColumns" /> from wx_coupon_order


Notiek ielāde…
Atcelt
Saglabāt