Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rpc-dj-pe-analysis
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b777b22b
authored
Jun 24, 2026
by
叶立庆
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v5.8.2.4' into 'master'
上线合并 See merge request
!11
2 parents
81801610
07f5f414
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
rpc-dj-pe-analysis/src/main/resources/META-INF/orm/GoodsOrderMapper.xml
rpc-dj-pe-analysis/src/main/resources/META-INF/orm/GoodsOrderMapper.xml
View file @
b777b22
...
...
@@ -228,9 +228,9 @@
resultType=
"cn.com.glsx.dj.peanalysis.dto.analysis.StrategyOrderStatisticsRespDTO"
>
select
count(distinct t1.order_code) orderCount,
sum(ifnull(t
1
.total_price, 0)) totalPrice,
sum(ifnull(t
1
.final_price, 0)) finalPrice,
sum(ifnull(t
1.total_price, 0) - ifnull(t1
.final_price, 0)) as discountPrice
sum(ifnull(t
2
.total_price, 0)) totalPrice,
sum(ifnull(t
2
.final_price, 0)) finalPrice,
sum(ifnull(t
2.total_price, 0) - ifnull(t2
.final_price, 0)) as discountPrice
from dj_car_life_goods_order t1
inner join dj_car_life_goods_sub_order t2 on t1.order_code = t2.order_code
where t1.deleted_flag = 'N' and t2.deleted_flag = 'N' and t1.status = '4'
...
...
@@ -248,7 +248,7 @@
and ((t2.upgrade_goods_type = #{goodsTypeExtendedInsurance}) or
(t2.supplier_code = #{supplierThirdPartyId} and t2.upgrade_goods_type = #{goodsTypeEquityType}))
</when>
<when
test=
"'3'.toString().equals(
status
)"
>
<when
test=
"'3'.toString().equals(
businessType
)"
>
and ((t2.supplier_code = #{supplierGlzyId} and t2.upgrade_goods_type = #{goodsTypeEquityType}))
</when>
</choose>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment