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 fda11616
authored
Jan 23, 2026
by
杨卫
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat:效果分析自测
1 parent
0cb04c14
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
rpc-dj-pe-analysis-api/src/main/java/cn/com/glsx/dj/peanalysis/dto/analysis/MerchantListOperatorDTO.java
rpc-dj-pe-analysis-api/src/main/java/cn/com/glsx/dj/peanalysis/dto/analysis/StrategyOrderStatisticsRespDTO.java
rpc-dj-pe-analysis/src/main/resources/META-INF/orm/GoodsOrderMapper.xml
rpc-dj-pe-analysis-api/src/main/java/cn/com/glsx/dj/peanalysis/dto/analysis/MerchantListOperatorDTO.java
View file @
fda1161
...
@@ -22,7 +22,7 @@ public class MerchantListOperatorDTO implements Serializable {
...
@@ -22,7 +22,7 @@ public class MerchantListOperatorDTO implements Serializable {
@NotEmpty
(
message
=
"商户号不能为空"
)
@NotEmpty
(
message
=
"商户号不能为空"
)
private
List
<
String
>
storeNos
;
private
List
<
String
>
storeNos
;
/** bi侧业务类型,1.延保 2.轻改 3.权益
,不传为全业务
/** bi侧业务类型,1.延保 2.轻改 3.权益
* @see cn.com.glsx.dj.peanalysis.enums.BusinessTypeEnum
* @see cn.com.glsx.dj.peanalysis.enums.BusinessTypeEnum
*/
*/
private
String
businessType
;
private
String
businessType
;
...
...
rpc-dj-pe-analysis-api/src/main/java/cn/com/glsx/dj/peanalysis/dto/analysis/StrategyOrderStatisticsRespDTO.java
View file @
fda1161
...
@@ -22,17 +22,17 @@ public class StrategyOrderStatisticsRespDTO implements Serializable {
...
@@ -22,17 +22,17 @@ public class StrategyOrderStatisticsRespDTO implements Serializable {
/**
/**
* 主订单数
* 主订单数
*/
*/
private
Integer
orderCount
;
private
Integer
orderCount
=
0
;
/**
/**
* 订单总金额
* 订单总金额
*/
*/
private
BigDecimal
totalPrice
;
private
BigDecimal
totalPrice
=
BigDecimal
.
ZERO
;
/**
/**
* 折扣金额
* 折扣金额
*/
*/
private
BigDecimal
discountPrice
;
private
BigDecimal
discountPrice
=
BigDecimal
.
ZERO
;
}
}
rpc-dj-pe-analysis/src/main/resources/META-INF/orm/GoodsOrderMapper.xml
View file @
fda1161
...
@@ -235,7 +235,7 @@
...
@@ -235,7 +235,7 @@
inner join dj_car_life_goods_sub_order t2 on t1.order_code = t2.order_code
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'
where t1.deleted_flag = 'N' and t2.deleted_flag = 'N' and t1.status = '4'
<if
test=
"djOrderTypes != null and djOrderTypes.size() > 0"
>
<if
test=
"djOrderTypes != null and djOrderTypes.size() > 0"
>
t1.dj_order_type in
and
t1.dj_order_type in
<foreach
collection=
"djOrderTypes"
item=
"item"
open=
"("
close=
")"
separator=
","
>
<foreach
collection=
"djOrderTypes"
item=
"item"
open=
"("
close=
")"
separator=
","
>
#{item}
#{item}
</foreach>
</foreach>
...
@@ -246,7 +246,7 @@
...
@@ -246,7 +246,7 @@
<choose>
<choose>
<when
test=
"'1'.toString().equals(businessType)"
>
<when
test=
"'1'.toString().equals(businessType)"
>
and ((t2.upgrade_goods_type = #{goodsTypeExtendedInsurance}) or
and ((t2.upgrade_goods_type = #{goodsTypeExtendedInsurance}) or
(t2.supplier_code = #{supplierThirdParty
Code
} and t2.upgrade_goods_type = #{goodsTypeEquityType}))
(t2.supplier_code = #{supplierThirdParty
Id
} and t2.upgrade_goods_type = #{goodsTypeEquityType}))
</when>
</when>
<when
test=
"'3'.toString().equals(status)"
>
<when
test=
"'3'.toString().equals(status)"
>
and ((t2.supplier_code = #{supplierGlzyId} and t2.upgrade_goods_type = #{goodsTypeEquityType}))
and ((t2.supplier_code = #{supplierGlzyId} and t2.upgrade_goods_type = #{goodsTypeEquityType}))
...
...
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