Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-csf
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xingmin
yd-csf
Commits
3bafe133
Commit
3bafe133
authored
Nov 24, 2025
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新单跟进84
parent
7eccbe02
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/FortuneAccountServiceImpl.java
+4
-1
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/FortuneServiceImpl.java
+6
-3
No files found.
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/FortuneAccountServiceImpl.java
View file @
3bafe133
...
...
@@ -239,7 +239,10 @@ public class FortuneAccountServiceImpl extends ServiceImpl<FortuneAccountMapper,
@Override
public
FortuneAccountStatisticsVO
getFortuneAccountStatistics
(
List
<
Long
>
fortuneAccountIdList
)
{
if
(
CollectionUtils
.
isEmpty
(
fortuneAccountIdList
))
{
throw
new
BusinessException
(
ResultCode
.
NULL_ERROR
.
getCode
(),
"fortuneAccountIdList不能为空"
);
FortuneAccountStatisticsVO
vo
=
new
FortuneAccountStatisticsVO
();
vo
.
setTotalAmount
(
BigDecimal
.
ZERO
);
vo
.
setBrokerCount
(
0L
);
return
vo
;
}
// 统计总金额和总人数
...
...
yd-csf-service/src/main/java/com/yd/csf/service/service/impl/FortuneServiceImpl.java
View file @
3bafe133
...
...
@@ -309,11 +309,14 @@ public class FortuneServiceImpl extends ServiceImpl<FortuneMapper, Fortune>
@Override
public
FortuneStatisticsVO
getFortuneStatistics
(
List
<
Long
>
fortuneIdList
)
{
if
(
CollectionUtils
.
isEmpty
(
fortuneIdList
))
{
throw
new
BusinessException
(
ResultCode
.
PARAMS_ERROR
.
getCode
(),
"fortuneId列表不能为空"
);
FortuneStatisticsVO
fortuneStatisticsVO
=
new
FortuneStatisticsVO
();
fortuneStatisticsVO
.
setTotalOutAmount
(
BigDecimal
.
ZERO
);
fortuneStatisticsVO
.
setTotalInAmount
(
BigDecimal
.
ZERO
);
fortuneStatisticsVO
.
setTotalPolicyCount
(
0L
);
return
fortuneStatisticsVO
;
}
// 自定义查询
FortuneStatisticsVO
fortuneStatisticsVO
=
this
.
baseMapper
.
getFortuneStatistics
(
fortuneIdList
);
return
fortuneStatisticsVO
;
return
this
.
baseMapper
.
getFortuneStatistics
(
fortuneIdList
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment