Commit bd32e539 by huluobin

闲时折扣

parent d4cc9db2
......@@ -245,7 +245,7 @@
LEFT JOIN base_serve t6 on t3.service_id =t6.id
LEFT JOIN week_config t7 on t2.`week` =t7.`week`
LEFT JOIN store_manage t8 on t1.department_id =t8.id
LEFT JOIN leisure_discount_config_limit t9 on t1.id =t9.leisure_discount_config_id and t9.left_times > 0
LEFT JOIN leisure_discount_config_limit t9 on t1.id =t9.leisure_discount_config_id and t9.left_times > 0 and t7.week_date = t9.date
where t1.is_enabled =1
and t2.id is not null
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment