Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
attendance-performance-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
attendance-performance-platform
Commits
4a948478
Commit
4a948478
authored
Mar 10, 2025
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
窗口绩效汇总bug修改
parent
117d9cf2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/module/window/service/impl/WindowPerformSummaryServiceImpl.java
.../window/service/impl/WindowPerformSummaryServiceImpl.java
+16
-0
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/window/service/impl/WindowPerformSummaryServiceImpl.java
View file @
4a948478
...
...
@@ -3,6 +3,7 @@ import com.mortals.xhx.module.window.model.WindowPerformSummaryQuery;
import
org.apache.commons.collections4.CollectionUtils
;
import
org.springframework.beans.BeanUtils
;
import
java.math.BigDecimal
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
...
...
@@ -43,4 +44,19 @@ public class WindowPerformSummaryServiceImpl extends AbstractCRUDServiceImpl<Win
}
this
.
save
(
addList
);
}
@Override
protected
void
validData
(
WindowPerformSummaryEntity
entity
,
Context
context
)
throws
AppException
{
BigDecimal
sum
=
BigDecimal
.
ZERO
;
if
(
entity
.
getCkjsdf
()!=
null
){
sum
.
add
(
entity
.
getCkjsdf
());
}
if
(
entity
.
getZdrwdf
()!=
null
){
sum
.
add
(
entity
.
getZdrwdf
());
}
if
(
entity
.
getAddTotalScore
()!=
null
){
sum
.
add
(
entity
.
getAddTotalScore
());
}
entity
.
setSumScore
(
sum
);
}
}
\ No newline at end of file
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