记得上下班打卡 | git大法好,push需谨慎

Commit 9b3858c7 authored by 胡佳晨's avatar 胡佳晨

修改 演出 统计库存

parent b512594f
......@@ -100,6 +100,7 @@
kylin_ticket_status AS ts
LEFT JOIN kylin_ticket_relations AS tr ON tr.ticket_id = ts.ticket_id
LEFT JOIN kylin_ticket_time_relation AS ttr ON tr.times_id = ttr.times_id
GROUP BY ttr.performance_id
) AS t ON p.performances_id = t.performance_id
LEFT JOIN(
SELECT
......@@ -113,6 +114,7 @@
WHERE
ots.`status` = 0
OR ots.`status` = 1
GROUP BY ote.performance_id
) AS ot ON ot.performance_id = p.performances_id
<where>
<if test="title!=''">
......@@ -175,6 +177,7 @@
kylin_ticket_status AS ts
LEFT JOIN kylin_ticket_relations AS tr ON tr.ticket_id = ts.ticket_id
LEFT JOIN kylin_ticket_time_relation AS ttr ON tr.times_id = ttr.times_id
GROUP BY ttr.performance_id
) AS t ON p.performances_id = t.performance_id
LEFT JOIN(
SELECT
......@@ -188,6 +191,7 @@
WHERE
ots.`status` = 0
OR ots.`status` = 1
GROUP BY ote.performance_id
) AS ot ON ot.performance_id = p.performances_id
<where>
<if test="title!=''">
......
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