|
@@ -45,8 +45,8 @@ SELECT DISTINCT m.year,
|
|
|
m11.target_h m11h,
|
|
|
m12.target_l m12l,
|
|
|
m12.target_h m12h,
|
|
|
- ifnull(t3.sumamount_year,0) sumamount_year,
|
|
|
- ifnull(t4.sumamount_currentmonth,0) sumamount_currentmonth
|
|
|
+ ROUND(ifnull(t3.sumamount_year,0)/10000,2) sumamount_year,
|
|
|
+ ROUND(ifnull(t4.sumamount_currentmonth,0)/10000,2) sumamount_currentmonth
|
|
|
from sa_salestarget m
|
|
|
LEFT JOIN sa_salestarget m1 ON m1.year = m.year and m1.point = 1 and m.sys_enterpriseid = m1.sys_enterpriseid
|
|
|
LEFT JOIN sa_salestarget m2 ON m2.year = m.year and m2.point = 2 and m.sys_enterpriseid = m2.sys_enterpriseid
|