|
@@ -1068,7 +1068,8 @@
|
|
</select>
|
|
</select>
|
|
<select id="getPurchaseDetail" resultType="com.alibaba.fastjson.JSONObject">
|
|
<select id="getPurchaseDetail" resultType="com.alibaba.fastjson.JSONObject">
|
|
select t.userId as 'userId',
|
|
select t.userId as 'userId',
|
|
- t.userName as 'userName',
|
|
|
|
|
|
+ t.purchaseName as 'purchaseName',
|
|
|
|
+ t.saleName as 'saleName',
|
|
count(t.oid) as 'orderNum',
|
|
count(t.oid) as 'orderNum',
|
|
round(
|
|
round(
|
|
sum(t.totalFee) / 100, 2
|
|
sum(t.totalFee) / 100, 2
|
|
@@ -1084,7 +1085,8 @@
|
|
t1.item_title as 'itemTitle',
|
|
t1.item_title as 'itemTitle',
|
|
t1.item_pic_url as 'itemPicUrl',
|
|
t1.item_pic_url as 'itemPicUrl',
|
|
t2.courtship_purchase_id as 'userId',
|
|
t2.courtship_purchase_id as 'userId',
|
|
- t2.courtship_purchase_name as 'userName'
|
|
|
|
|
|
+ t2.courtship_purchase_name as 'purchaseName',
|
|
|
|
+ t2.user_name as 'saleName'
|
|
from kwaixiaodian_order_cursor_list t1
|
|
from kwaixiaodian_order_cursor_list t1
|
|
left join kwaixiaodian_item_get t2
|
|
left join kwaixiaodian_item_get t2
|
|
on t1.item_id = t2.item_id
|
|
on t1.item_id = t2.item_id
|