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

Commit ec46c76a authored by limingyang's avatar limingyang

导出商品订单信息 status给文字

parent f14d82e3
...@@ -998,7 +998,22 @@ GROUP BY user_mobile; ...@@ -998,7 +998,22 @@ GROUP BY user_mobile;
temtable.created_at as created_at, temtable.created_at as created_at,
temtable.price_express as price_express, temtable.price_express as price_express,
temtable.price_refund as price_refund, temtable.price_refund as price_refund,
temtable.status as status, CASE
WHEN temtable.STATUS = '0' THEN
'待付款'
WHEN temtable.STATUS = '2' THEN
'待发货'
WHEN temtable.STATUS = '3' THEN
'待收货'
WHEN temtable.STATUS = '4' THEN
'已完成'
WHEN temtable.STATUS = '5' THEN
'取消订单'
WHEN temtable.STATUS = '6' THEN
'退款通过'
WHEN temtable.STATUS = '7' THEN
'退货通过'
END AS status,
temtable.refund_at as refund_at temtable.refund_at as refund_at
from from
(select do.code, (select do.code,
......
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