同比销量 计算调整
This commit is contained in:
@@ -661,7 +661,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
ROUND(tbl_lgbsa.last_month_sa_money / 10000, 2) as last_month_sa_money,
|
||||
ROUND(tbl_lgbsa.last_month_profit / 10000, 2) as last_month_profit,
|
||||
ROUND(tbl_lgbsa.last_month_cost / 10000, 2) as last_month_cost,
|
||||
ROUND(tbl_lgbsa.yoy_month_sa_qty/ 10000, 2) as yoy_month_sa_qty,
|
||||
tbl_lgbsa.yoy_month_sa_qty as yoy_month_sa_qty,
|
||||
ROUND(tbl_lgbsa.yoy_month_sa_money / 10000, 2) as yoy_month_sa_money,
|
||||
ROUND(tbl_lgbsa.yoy_month_profit / 10000, 2) as yoy_month_profit,
|
||||
ROUND(tbl_lgbsa.yoy_month_cost / 10000, 2) as yoy_month_cost,
|
||||
|
||||
@@ -301,7 +301,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
COALESCE (ROUND( current_month.this_month_profit/total_month_data.this_month_profit_sum * 100, 2), 0 ) as this_month_profit_share,
|
||||
|
||||
<if test="params.isOneYear" >
|
||||
ROUND(yoy_month.yoy_month_sa_qty / 10000, 2) AS yoy_month_sa_qty,
|
||||
yoy_month.yoy_month_sa_qty AS yoy_month_sa_qty,
|
||||
ROUND(yoy_month.yoy_month_sa_money / 10000, 2) AS yoy_month_sa_money,
|
||||
ROUND(yoy_month.yoy_month_profit / 10000, 2) AS yoy_month_profit,
|
||||
ROUND(yoy_month.yoy_month_cost / 10000, 2) AS yoy_month_cost,
|
||||
@@ -673,7 +673,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
ROUND(last_month_data.last_month_sa_money / 10000, 2) AS last_month_sa_money,
|
||||
ROUND(last_month_data.last_month_profit / 10000, 2) AS last_month_profit,
|
||||
ROUND(last_month_data.last_month_cost / 10000, 2) AS last_month_cost,
|
||||
ROUND(yoy_month.yoy_month_sa_qty / 10000, 2) AS yoy_month_sa_qty,
|
||||
yoy_month.yoy_month_sa_qty AS yoy_month_sa_qty,
|
||||
ROUND(yoy_month.yoy_month_sa_money / 10000, 2) AS yoy_month_sa_money,
|
||||
ROUND(yoy_month.yoy_month_profit / 10000, 2) AS yoy_month_profit,
|
||||
ROUND(yoy_month.yoy_month_cost / 10000, 2) AS yoy_month_cost,
|
||||
|
||||
Reference in New Issue
Block a user