综合销售情况表 查询合计值
This commit is contained in:
@@ -48,7 +48,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
|
|
||||||
<select id="getTotalDetail" parameterType="com.lideeyunji.core.framework.params.SaAggParam" resultMap="NewGrBiSaAggMonthCountResult">
|
<select id="getTotalDetail" parameterType="com.lideeyunji.core.framework.params.SaAggParam" resultMap="NewGrBiSaAggMonthCountResult">
|
||||||
SELECT
|
SELECT
|
||||||
use_year,
|
|
||||||
SUM( this_month_sa_money ) AS thissamoney_s,
|
SUM( this_month_sa_money ) AS thissamoney_s,
|
||||||
SUM( this_month_profit ) AS thisprofit_s
|
SUM( this_month_profit ) AS thisprofit_s
|
||||||
FROM new_gr_bi_sa_agg_month_count
|
FROM new_gr_bi_sa_agg_month_count
|
||||||
|
|||||||
@@ -47,7 +47,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
|
|
||||||
<select id="getTotalDetail" parameterType="com.lideeyunji.core.framework.params.SaAggParam" resultMap="NewGrBiSaAggYearCountResult">
|
<select id="getTotalDetail" parameterType="com.lideeyunji.core.framework.params.SaAggParam" resultMap="NewGrBiSaAggYearCountResult">
|
||||||
SELECT
|
SELECT
|
||||||
use_year,
|
|
||||||
SUM( this_year_sa_money ) AS this_year_sa_money_s,
|
SUM( this_year_sa_money ) AS this_year_sa_money_s,
|
||||||
SUM( this_year_profit ) AS this_year_profit_s
|
SUM( this_year_profit ) AS this_year_profit_s
|
||||||
FROM new_gr_bi_sa_agg_year_count
|
FROM new_gr_bi_sa_agg_year_count
|
||||||
|
|||||||
Reference in New Issue
Block a user