|
@@ -119,16 +119,16 @@
|
|
|
t0.promoter_id AS 'promoterId',
|
|
|
(CASE WHEN t2.promoter_id IS NULL THEN 2 ELSE 1 END) AS 'status',
|
|
|
IF(t0.promoter_name is null,t2.promoter_nick_name,t0.promoter_name) AS 'promoterNickName',
|
|
|
- IFNULL(t2.userName,0) AS 'userName',
|
|
|
- IFNULL(t2.commission_requirement,0) AS 'commissionRequirement',
|
|
|
+ IFNULL(t2.userName,'') AS 'userName',
|
|
|
+ IFNULL(t2.commission_requirement,'') AS 'commissionRequirement',
|
|
|
IF(t0.handurl is null,t2.promoter_url,t0.handurl) AS 'promoterUrl',
|
|
|
- IFNULL(t1.30day_gmv,0) AS 'monthDayGmv',
|
|
|
- IFNULL(t1.30day_order_num,0) AS 'monthDayOrderNum',+
|
|
|
- IFNULL(t1.valid_amount,0) AS 'validAmount',
|
|
|
- IFNULL(t3.fans_number,0) AS 'fansNumber',
|
|
|
- IFNULL(t3.video_sales,0) AS 'videoSales',
|
|
|
- IFNULL(t3.avg_video_sales,0) AS 'avgVideoSales',
|
|
|
- IFNULL(t3.total_sale,0) AS 'totalSale'
|
|
|
+ IFNULL(t1.30day_gmv,'') AS 'monthDayGmv',
|
|
|
+ IFNULL(t1.30day_order_num,'') AS 'monthDayOrderNum',+
|
|
|
+ IFNULL(t1.valid_amount,'') AS 'validAmount',
|
|
|
+ IFNULL(t3.fans_number,'') AS 'fansNumber',
|
|
|
+ IFNULL(t3.video_sales,'') AS 'videoSales',
|
|
|
+ IFNULL(t3.avg_video_sales,'') AS 'avgVideoSales',
|
|
|
+ IFNULL(t3.total_sale,'') AS 'totalSale'
|
|
|
FROM
|
|
|
promoter_oerder_amount t1
|
|
|
LEFT JOIN promoter_info t0 ON t1.promoter_id = t0.promoter_id
|