Commit 4c6c9779 by jianan

导出运营报表2-经纪人日程管理,销售目标,活动量

parent bd097872
...@@ -139,7 +139,7 @@ ...@@ -139,7 +139,7 @@
SELECT SELECT
p.name practitionerName, p.name practitionerName,
(CASE (t.statistic_time_unit) WHEN 1 THEN '年度目标' WHEN 3 THEN '月度目标' ELSE '其他' END) type, (CASE (t.statistic_time_unit) WHEN 1 THEN '年度目标' WHEN 3 THEN '月度目标' ELSE '其他' END) type,
t.seq_time seqTime, if(t.statistic_time_unit = 3, concat(year(t.created_at),'-',t.seq_time), t.seq_time) seqTime,
t.premium , t.premium ,
t.commission , t.commission ,
t.pieces , t.pieces ,
......
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