|
|
@@ -763,7 +763,7 @@ |
|
|
<select id="findExpiredCouponOrderGoodsVerify" parameterType="String" resultMap="BaseResultMap"> |
|
|
<select id="findExpiredCouponOrderGoodsVerify" parameterType="String" resultMap="BaseResultMap"> |
|
|
select <include refid="allColumns" /> from wx_coupon_order |
|
|
select <include refid="allColumns" /> from wx_coupon_order |
|
|
where tenant_id = #{tenantId} and coupon_type = 11 |
|
|
where tenant_id = #{tenantId} and coupon_type = 11 |
|
|
and update_date < DATE_ADD(curdate(),interval 0 day) |
|
|
|
|
|
|
|
|
and update_date < DATE_ADD(curdate(),interval 14 day) |
|
|
and shipping_type = 2 and shipping_status = 24 and coupon_order_status = 0 |
|
|
and shipping_type = 2 and shipping_status = 24 and coupon_order_status = 0 |
|
|
</select> |
|
|
</select> |
|
|
|
|
|
|
|
|
|