|
@@ -37,7 +37,7 @@ FROM
|
|
|
AND ( zero_type = "分期付款补充权益" OR zero_type = "原订单不支持开通多项权益" OR zero_type = "权益码兑换" )))
|
|
|
AND a.user_phone NOT LIKE "%s"
|
|
|
and a.user_id !=""
|
|
|
- AND a.order_status = 1 and b.service_type != 4
|
|
|
+ AND a.order_status = 1
|
|
|
AND ( a.refund_status != 1 OR a.refund_status IS NULL )
|
|
|
AND b.service_starttime < "2099-01-01" AND b.service_endtime > now()
|
|
|
AND a.autoUpdate > "%s"
|