diff --git a/lidee-core/src/main/resources/mapper/framework/NewGrBiSaAggMapper.xml b/lidee-core/src/main/resources/mapper/framework/NewGrBiSaAggMapper.xml index 528c692..8f334e3 100644 --- a/lidee-core/src/main/resources/mapper/framework/NewGrBiSaAggMapper.xml +++ b/lidee-core/src/main/resources/mapper/framework/NewGrBiSaAggMapper.xml @@ -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, diff --git a/lidee-core/src/main/resources/mapper/framework/NewGrBiSaAggMonthCountMapper.xml b/lidee-core/src/main/resources/mapper/framework/NewGrBiSaAggMonthCountMapper.xml index 792db6b..5c56f04 100644 --- a/lidee-core/src/main/resources/mapper/framework/NewGrBiSaAggMonthCountMapper.xml +++ b/lidee-core/src/main/resources/mapper/framework/NewGrBiSaAggMonthCountMapper.xml @@ -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, - 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,