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
94dcb91b
Commit
94dcb91b
authored
Mar 15, 2024
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
绩效考核授权4个维度不启用时不再生成绩效信息
parent
a232eb3a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/daemon/task/StaffPerformInitDataTaskImpl.java
...mortals/xhx/daemon/task/StaffPerformInitDataTaskImpl.java
+8
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckWindowWorkmanPerformServiceImpl.java
...ck/service/impl/CheckWindowWorkmanPerformServiceImpl.java
+3
-0
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/daemon/task/StaffPerformInitDataTaskImpl.java
View file @
94dcb91b
...
...
@@ -81,6 +81,10 @@ public class StaffPerformInitDataTaskImpl implements ITaskExcuteService {
}
}
}
//绩效考核授权4个维度不启用时不再生成绩效信息
if
(
item
.
getAttendCheck
()==
0
&&
item
.
getEffectCheck
()==
0
&&
item
.
getGoworkCheck
()==
0
&&
item
.
getComplainCheck
()==
0
){
flag
=
false
;
}
if
(
flag
){
StaffPerformStatEntity
statEntity
=
new
StaffPerformStatEntity
();
statEntity
.
initAttrValue
();
...
...
@@ -126,6 +130,10 @@ public class StaffPerformInitDataTaskImpl implements ITaskExcuteService {
}
}
}
//绩效考核授权4个维度不启用时不再生成绩效信息
if
(
item
.
getAttendCheck
()==
0
&&
item
.
getEffectCheck
()==
0
&&
item
.
getGoworkCheck
()==
0
&&
item
.
getComplainCheck
()==
0
){
flag
=
false
;
}
if
(
flag
)
{
StaffPerformSummaryEntity
staffPerformSummaryEntity
=
new
StaffPerformSummaryEntity
();
staffPerformSummaryEntity
.
initAttrValue
();
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckWindowWorkmanPerformServiceImpl.java
View file @
94dcb91b
...
...
@@ -105,6 +105,9 @@ public class CheckWindowWorkmanPerformServiceImpl extends AbstractCRUDServiceImp
}
for
(
StaffCheckSummaryVo
vo
:
summaryVoList
)
{
StaffEntity
staffEntity
=
staffService
.
get
(
vo
.
getStaffId
());
if
(
staffEntity
.
getAttendCheck
()==
0
&&
staffEntity
.
getEffectCheck
()==
0
&&
staffEntity
.
getGoworkCheck
()==
0
&&
staffEntity
.
getComplainCheck
()==
0
){
continue
;
}
StaffPerformSummaryEntity
staffPerformSummaryEntity
=
new
StaffPerformSummaryEntity
();
staffPerformSummaryEntity
.
initAttrValue
();
BeanUtils
.
copyProperties
(
vo
,
staffPerformSummaryEntity
,
BeanUtil
.
getNullPropertyNames
(
vo
));
...
...
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