增加妇幼生殖VIP

This commit is contained in:
wyn
2026-05-12 14:50:58 +08:00
parent bc52704f0f
commit d70492031e
9 changed files with 86 additions and 14 deletions

View File

@@ -35,7 +35,7 @@
left join course_catalogue cc on cc.id = ucb.catalogue_id
left join pay_zfb_order pzo on pzo.relevanceOid = ucbl.order_sn and pzo.trade_no is not null
where ucbl.del_flag = 0 and ucbl.fee > 0 and DATE_FORMAT(ucbl.pay_time,'%Y-%m-%d') <= #{date}
and u.id not in (select id from user where tester_flag = 1)
and (u.id not in (select id from user where tester_flag = 1) or (u.id in (select id from user where tester_flag = 1 and ( ucbl.pay_type in ('微信','支付宝') and ucbl.create_time>='2026-05-06 00:00:00'))))
order by ucb.id
) t) s) q) w) e) r
</select>