Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Y
yn-health-science
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
徐俊
yn-health-science
Commits
41da726f
Commit
41da726f
authored
Sep 10, 2025
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
ecfe5163
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
ComTalentAssignServiceImpl.java
...oshi/science/service/impl/ComTalentAssignServiceImpl.java
+5
-3
No files found.
science-admin/src/main/java/com/yiboshi/science/service/impl/ComTalentAssignServiceImpl.java
View file @
41da726f
...
...
@@ -172,7 +172,7 @@ public class ComTalentAssignServiceImpl extends BaseServiceImpl<ComTalentAssignD
BigDecimal
totalScore
=
comEvaluationValueService
.
insertListByAssignId
(
dto
.
getScoreList
(),
dto
.
getId
());
entity
.
setTotalScore
(
totalScore
);
this
.
update
(
entity
);
if
(
Objects
.
nonNull
(
dto
.
getAuditState
())){
if
(
Objects
.
nonNull
(
dto
.
getAuditState
()))
{
this
.
updateAssignState
(
entity
.
getTalentId
());
}
return
entity
.
getId
();
...
...
@@ -223,8 +223,10 @@ public class ComTalentAssignServiceImpl extends BaseServiceImpl<ComTalentAssignD
}
totalScore
=
totalScore
.
add
(
obj
.
getTotalScore
());
}
BigDecimal
personCountBD
=
BigDecimal
.
valueOf
(
personCount
);
averageScore
=
totalScore
.
divide
(
personCountBD
,
2
,
RoundingMode
.
HALF_UP
);
if
(
personCount
!=
0
)
{
BigDecimal
personCountBD
=
BigDecimal
.
valueOf
(
personCount
);
averageScore
=
totalScore
.
divide
(
personCountBD
,
2
,
RoundingMode
.
HALF_UP
);
}
if
(
list
.
size
()
>
personCount
)
completed
=
0
;
else
...
...
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