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

Commit 2905f6bf authored by 胡佳晨's avatar 胡佳晨

演出列表 取消退票数量

parent 6e813a4f
...@@ -121,10 +121,10 @@ ...@@ -121,10 +121,10 @@
field: 'saleGeneral', field: 'saleGeneral',
title: '实销' title: '实销'
}, },
{ // {
field: 'refundNumber', // field: 'refundNumber',
title: '退票' // title: '退票'
}, // },
{ {
field: 'surplusGeneral', field: 'surplusGeneral',
title: '余票' title: '余票'
......
...@@ -22,7 +22,7 @@ public class PerformanceAdminListDao { ...@@ -22,7 +22,7 @@ public class PerformanceAdminListDao {
private Integer auditStatus; private Integer auditStatus;
private Integer totalGeneral; private Integer totalGeneral;
private Integer saleGeneral; private Integer saleGeneral;
private Integer refundNumber; // private Integer refundNumber;
private BigDecimal totalSalePrice; private BigDecimal totalSalePrice;
private Integer surplusGeneral; private Integer surplusGeneral;
private Integer syncDamai; private Integer syncDamai;
......
...@@ -337,7 +337,6 @@ ...@@ -337,7 +337,6 @@
) AS t ON p.performances_id = t.performance_id ) AS t ON p.performances_id = t.performance_id
LEFT JOIN( LEFT JOIN(
SELECT SELECT
sum(ot.refund_number) AS 'refund_number',
(sum(ot.number)- sum(ot.refund_number)) AS 'sale_general' , (sum(ot.number)- sum(ot.refund_number)) AS 'sale_general' ,
(sum(ot.price_actual) - sum(ot.price_refund)) AS 'total_sale_price' , (sum(ot.price_actual) - sum(ot.price_refund)) AS 'total_sale_price' ,
otr.performance_id AS 'performance_id' otr.performance_id AS 'performance_id'
...@@ -346,7 +345,7 @@ ...@@ -346,7 +345,7 @@
LEFT JOIN kylin_order_ticket_status AS ots ON ots.order_id = ot.order_tickets_id LEFT JOIN kylin_order_ticket_status AS ots ON ots.order_id = ot.order_tickets_id
LEFT JOIN kylin_order_ticket_relations AS otr ON otr.order_id = ot.order_tickets_id LEFT JOIN kylin_order_ticket_relations AS otr ON otr.order_id = ot.order_tickets_id
WHERE WHERE
(ots.`status` = 1 or ots.`status` = 0 or ots.`status` = 3 or ots.`status` = 4 or ots.`status` = 6) and coupon_type ='no' and (ots.`status` = 1 or ots.`status` = 0 or ots.`status` = 3 or ots.`status` = 6) and coupon_type ='no' and
ots.transfer_status in (0,1,2,5) ots.transfer_status in (0,1,2,5)
GROUP BY otr.performance_id GROUP BY otr.performance_id
) AS ot ON ot.performance_id = p.performances_id ) AS ot ON ot.performance_id = p.performances_id
......
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