Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-backend
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
AutogeneralShanghai
yd-backend
Commits
dc267e14
Commit
dc267e14
authored
Mar 25, 2022
by
wenyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、活动量分值详情显示错误
2、战队销售业绩预测(预计)列表数据显示错误
parent
71591655
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerServiceImpl.java
+4
-1
No files found.
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerServiceImpl.java
View file @
dc267e14
...
...
@@ -2631,7 +2631,10 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
defaultPremium
=
defaultPremium
.
add
(
leadsAssigneds
.
getFyp
());
}
}
Double
achievementRate
=
defaultCommission
.
divide
(
quarterGoal
,
4
,
BigDecimal
.
ROUND_HALF_UP
).
doubleValue
();
Double
achievementRate
=
0
D
;
if
(
quarterGoal
.
compareTo
(
BigDecimal
.
ZERO
)!=
0
){
achievementRate
=
defaultCommission
.
divide
(
quarterGoal
,
4
,
BigDecimal
.
ROUND_HALF_UP
).
doubleValue
();
}
info
.
setPractitionerId
(
praId
);
info
.
setName
(
practitionerIdToName
.
get
(
praId
));
info
.
setPieces
(
defaultPieces
);
...
...
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