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
fd93284f
Commit
fd93284f
authored
Apr 23, 2026
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
5298150d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
yd-csf-api/src/main/java/com/yd/csf/api/handler/CalmSendJobHandler.java
+4
-5
No files found.
yd-csf-api/src/main/java/com/yd/csf/api/handler/CalmSendJobHandler.java
View file @
fd93284f
...
...
@@ -130,11 +130,10 @@ public class CalmSendJobHandler {
BigDecimal
noRyc
=
noRycOld
.
subtract
(
fycValue
);
agentAccumulatedFyc
.
setNoRyc
(
noRyc
.
compareTo
(
BigDecimal
.
ZERO
)
<=
0
?
BigDecimal
.
ZERO
:
noRyc
);
}
//晋升职级累计积分 = 已生效累计积分 - 已生效累计非首期佣金积分值
// 注意:此处 effect 和 ryc 已更新,使用更新后的值,但仍需判空保护
BigDecimal
effectAfter
=
agentAccumulatedFyc
.
getEffect
()
==
null
?
BigDecimal
.
ZERO
:
agentAccumulatedFyc
.
getEffect
();
BigDecimal
rycAfter
=
agentAccumulatedFyc
.
getRyc
()
==
null
?
BigDecimal
.
ZERO
:
agentAccumulatedFyc
.
getRyc
();
BigDecimal
promotion
=
effectAfter
.
subtract
(
rycAfter
);
//晋升职级累计积分 = 初始化已生效积分(不限业务场景) + 已生效累计首期销售佣金积分值(销售佣金场景(佣金场景的其中一个))
BigDecimal
initEffect
=
agentAccumulatedFyc
.
getInitEffect
()
==
null
?
BigDecimal
.
ZERO
:
agentAccumulatedFyc
.
getInitEffect
();
BigDecimal
firstSalesCommission
=
agentAccumulatedFyc
.
getFirstSalesCommission
()
==
null
?
BigDecimal
.
ZERO
:
agentAccumulatedFyc
.
getFirstSalesCommission
();
BigDecimal
promotion
=
initEffect
.
add
(
firstSalesCommission
);
agentAccumulatedFyc
.
setPromotion
(
promotion
.
compareTo
(
BigDecimal
.
ZERO
)
<=
0
?
BigDecimal
.
ZERO
:
promotion
);
//最后计算日期,记录最后一次计算累计FYC的日期
agentAccumulatedFyc
.
setLastCalcDate
(
LocalDateTime
.
now
());
...
...
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