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
068186e1
Commit
068186e1
authored
Jul 14, 2023
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改问题
parent
00453272
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
42 additions
and
42 deletions
+42
-42
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckAttendRecordServiceImpl.java
...dule/check/service/impl/CheckAttendRecordServiceImpl.java
+8
-8
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckComplainRecordServiceImpl.java
...le/check/service/impl/CheckComplainRecordServiceImpl.java
+6
-6
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckEffectRecordServiceImpl.java
...dule/check/service/impl/CheckEffectRecordServiceImpl.java
+8
-8
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckGoworkRecordServiceImpl.java
...dule/check/service/impl/CheckGoworkRecordServiceImpl.java
+6
-6
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckOtherRecordServiceImpl.java
...odule/check/service/impl/CheckOtherRecordServiceImpl.java
+8
-8
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckReviewRecordServiceImpl.java
...dule/check/service/impl/CheckReviewRecordServiceImpl.java
+6
-6
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckAttendRecordServiceImpl.java
View file @
068186e1
...
...
@@ -105,23 +105,23 @@ public class CheckAttendRecordServiceImpl extends AbstractCRUDServiceImpl<CheckA
summaryQuery
.
setMonth
(
vo
.
getMonth
());
StaffPerformSummaryEntity
temp
=
staffPerformSummaryService
.
selectOne
(
summaryQuery
);
if
(
temp
!=
null
){
if
(
temp
.
get
Assess
Score
()==
null
){
staffPerformSummaryEntity
.
set
Assess
Score
(
new
BigDecimal
(
0
));
if
(
temp
.
get
Review
Score
()==
null
){
staffPerformSummaryEntity
.
set
Review
Score
(
new
BigDecimal
(
0
));
}
if
(
temp
.
getOtherScore
()==
null
){
staffPerformSummaryEntity
.
setOtherScore
(
new
BigDecimal
(
0
));
}
if
(
temp
.
get
W
orkScore
()==
null
){
staffPerformSummaryEntity
.
set
W
orkScore
(
new
BigDecimal
(
0
));
if
(
temp
.
get
Gow
orkScore
()==
null
){
staffPerformSummaryEntity
.
set
Gow
orkScore
(
new
BigDecimal
(
0
));
}
if
(
temp
.
getEffectScore
()==
null
){
staffPerformSummaryEntity
.
setEffectScore
(
new
BigDecimal
(
0
));
}
BigDecimal
erro
=
new
BigDecimal
(
0
);
erro
.
add
(
staffPerformSummaryEntity
.
get
Assess
Score
());
erro
.
add
(
staffPerformSummaryEntity
.
get
Review
Score
());
erro
.
add
(
staffPerformSummaryEntity
.
getAttendScore
());
erro
.
add
(
staffPerformSummaryEntity
.
getOtherScore
());
erro
.
add
(
staffPerformSummaryEntity
.
get
W
orkScore
());
erro
.
add
(
staffPerformSummaryEntity
.
get
Gow
orkScore
());
erro
.
add
(
staffPerformSummaryEntity
.
getEffectScore
());
staffPerformSummaryEntity
.
setErrorScore
(
erro
);
BigDecimal
total
=
new
BigDecimal
(
100
);
...
...
@@ -130,9 +130,9 @@ public class CheckAttendRecordServiceImpl extends AbstractCRUDServiceImpl<CheckA
staffPerformSummaryEntity
.
setUpdateTime
(
new
Date
());
staffPerformSummaryService
.
update
(
staffPerformSummaryEntity
);
}
else
{
staffPerformSummaryEntity
.
set
Assess
Score
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
set
Review
Score
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setOtherScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
set
W
orkScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
set
Gow
orkScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setEffectScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setErrorScore
(
vo
.
getSumScore
());
BigDecimal
total
=
new
BigDecimal
(
100
);
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckComplainRecordServiceImpl.java
View file @
068186e1
...
...
@@ -98,7 +98,7 @@ public class CheckComplainRecordServiceImpl extends AbstractCRUDServiceImpl<Chec
for
(
StaffCheckSummaryVo
vo:
summaryVoList
){
StaffPerformSummaryEntity
staffPerformSummaryEntity
=
new
StaffPerformSummaryEntity
();
BeanUtils
.
copyProperties
(
vo
,
staffPerformSummaryEntity
,
BeanUtil
.
getNullPropertyNames
(
vo
));
staffPerformSummaryEntity
.
set
Assess
Score
(
vo
.
getSumScore
());
staffPerformSummaryEntity
.
set
Review
Score
(
vo
.
getSumScore
());
StaffPerformSummaryQuery
summaryQuery
=
new
StaffPerformSummaryQuery
();
summaryQuery
.
setStaffId
(
vo
.
getStaffId
());
summaryQuery
.
setYear
(
vo
.
getYear
());
...
...
@@ -111,17 +111,17 @@ public class CheckComplainRecordServiceImpl extends AbstractCRUDServiceImpl<Chec
if
(
temp
.
getOtherScore
()==
null
){
staffPerformSummaryEntity
.
setOtherScore
(
new
BigDecimal
(
0
));
}
if
(
temp
.
get
W
orkScore
()==
null
){
staffPerformSummaryEntity
.
set
W
orkScore
(
new
BigDecimal
(
0
));
if
(
temp
.
get
Gow
orkScore
()==
null
){
staffPerformSummaryEntity
.
set
Gow
orkScore
(
new
BigDecimal
(
0
));
}
if
(
temp
.
getEffectScore
()==
null
){
staffPerformSummaryEntity
.
setEffectScore
(
new
BigDecimal
(
0
));
}
BigDecimal
erro
=
new
BigDecimal
(
0
);
erro
.
add
(
staffPerformSummaryEntity
.
get
Assess
Score
());
erro
.
add
(
staffPerformSummaryEntity
.
get
Review
Score
());
erro
.
add
(
staffPerformSummaryEntity
.
getAttendScore
());
erro
.
add
(
staffPerformSummaryEntity
.
getOtherScore
());
erro
.
add
(
staffPerformSummaryEntity
.
get
W
orkScore
());
erro
.
add
(
staffPerformSummaryEntity
.
get
Gow
orkScore
());
erro
.
add
(
staffPerformSummaryEntity
.
getEffectScore
());
staffPerformSummaryEntity
.
setErrorScore
(
erro
);
BigDecimal
total
=
new
BigDecimal
(
100
);
...
...
@@ -135,7 +135,7 @@ public class CheckComplainRecordServiceImpl extends AbstractCRUDServiceImpl<Chec
}
else
{
staffPerformSummaryEntity
.
setAttendScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setOtherScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
set
W
orkScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
set
Gow
orkScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setEffectScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setErrorScore
(
vo
.
getSumScore
());
BigDecimal
total
=
new
BigDecimal
(
100
);
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckEffectRecordServiceImpl.java
View file @
068186e1
...
...
@@ -105,23 +105,23 @@ public class CheckEffectRecordServiceImpl extends AbstractCRUDServiceImpl<CheckE
summaryQuery
.
setMonth
(
vo
.
getMonth
());
StaffPerformSummaryEntity
temp
=
staffPerformSummaryService
.
selectOne
(
summaryQuery
);
if
(
temp
!=
null
){
if
(
temp
.
get
Assess
Score
()==
null
){
staffPerformSummaryEntity
.
set
Assess
Score
(
new
BigDecimal
(
0
));
if
(
temp
.
get
Review
Score
()==
null
){
staffPerformSummaryEntity
.
set
Review
Score
(
new
BigDecimal
(
0
));
}
if
(
temp
.
getOtherScore
()==
null
){
staffPerformSummaryEntity
.
setOtherScore
(
new
BigDecimal
(
0
));
}
if
(
temp
.
get
W
orkScore
()==
null
){
staffPerformSummaryEntity
.
set
W
orkScore
(
new
BigDecimal
(
0
));
if
(
temp
.
get
Gow
orkScore
()==
null
){
staffPerformSummaryEntity
.
set
Gow
orkScore
(
new
BigDecimal
(
0
));
}
if
(
temp
.
getAttendScore
()==
null
){
staffPerformSummaryEntity
.
setAttendScore
(
new
BigDecimal
(
0
));
}
BigDecimal
erro
=
new
BigDecimal
(
0
);
erro
.
add
(
staffPerformSummaryEntity
.
get
Assess
Score
());
erro
.
add
(
staffPerformSummaryEntity
.
get
Review
Score
());
erro
.
add
(
staffPerformSummaryEntity
.
getAttendScore
());
erro
.
add
(
staffPerformSummaryEntity
.
getOtherScore
());
erro
.
add
(
staffPerformSummaryEntity
.
get
W
orkScore
());
erro
.
add
(
staffPerformSummaryEntity
.
get
Gow
orkScore
());
erro
.
add
(
staffPerformSummaryEntity
.
getEffectScore
());
staffPerformSummaryEntity
.
setErrorScore
(
erro
);
BigDecimal
total
=
new
BigDecimal
(
100
);
...
...
@@ -134,9 +134,9 @@ public class CheckEffectRecordServiceImpl extends AbstractCRUDServiceImpl<CheckE
staffPerformSummaryService
.
update
(
staffPerformSummaryEntity
);
}
else
{
staffPerformSummaryEntity
.
setAttendScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
set
Assess
Score
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
set
Review
Score
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setOtherScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
set
W
orkScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
set
Gow
orkScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setErrorScore
(
vo
.
getSumScore
());
BigDecimal
total
=
new
BigDecimal
(
100
);
staffPerformSummaryEntity
.
setTotalScore
(
total
.
subtract
(
vo
.
getSumScore
()));
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckGoworkRecordServiceImpl.java
View file @
068186e1
...
...
@@ -98,15 +98,15 @@ public class CheckGoworkRecordServiceImpl extends AbstractCRUDServiceImpl<CheckG
for
(
StaffCheckSummaryVo
vo:
summaryVoList
){
StaffPerformSummaryEntity
staffPerformSummaryEntity
=
new
StaffPerformSummaryEntity
();
BeanUtils
.
copyProperties
(
vo
,
staffPerformSummaryEntity
,
BeanUtil
.
getNullPropertyNames
(
vo
));
staffPerformSummaryEntity
.
set
W
orkScore
(
vo
.
getSumScore
());
staffPerformSummaryEntity
.
set
Gow
orkScore
(
vo
.
getSumScore
());
StaffPerformSummaryQuery
summaryQuery
=
new
StaffPerformSummaryQuery
();
summaryQuery
.
setStaffId
(
vo
.
getStaffId
());
summaryQuery
.
setYear
(
vo
.
getYear
());
summaryQuery
.
setMonth
(
vo
.
getMonth
());
StaffPerformSummaryEntity
temp
=
staffPerformSummaryService
.
selectOne
(
summaryQuery
);
if
(
temp
!=
null
){
if
(
temp
.
get
Assess
Score
()==
null
){
staffPerformSummaryEntity
.
set
Assess
Score
(
new
BigDecimal
(
0
));
if
(
temp
.
get
Review
Score
()==
null
){
staffPerformSummaryEntity
.
set
Review
Score
(
new
BigDecimal
(
0
));
}
if
(
temp
.
getOtherScore
()==
null
){
staffPerformSummaryEntity
.
setOtherScore
(
new
BigDecimal
(
0
));
...
...
@@ -118,10 +118,10 @@ public class CheckGoworkRecordServiceImpl extends AbstractCRUDServiceImpl<CheckG
staffPerformSummaryEntity
.
setEffectScore
(
new
BigDecimal
(
0
));
}
BigDecimal
erro
=
new
BigDecimal
(
0
);
erro
.
add
(
staffPerformSummaryEntity
.
get
Assess
Score
());
erro
.
add
(
staffPerformSummaryEntity
.
get
Review
Score
());
erro
.
add
(
staffPerformSummaryEntity
.
getAttendScore
());
erro
.
add
(
staffPerformSummaryEntity
.
getOtherScore
());
erro
.
add
(
staffPerformSummaryEntity
.
get
W
orkScore
());
erro
.
add
(
staffPerformSummaryEntity
.
get
Gow
orkScore
());
erro
.
add
(
staffPerformSummaryEntity
.
getEffectScore
());
staffPerformSummaryEntity
.
setErrorScore
(
erro
);
BigDecimal
total
=
new
BigDecimal
(
100
);
...
...
@@ -134,7 +134,7 @@ public class CheckGoworkRecordServiceImpl extends AbstractCRUDServiceImpl<CheckG
staffPerformSummaryService
.
update
(
staffPerformSummaryEntity
);
}
else
{
staffPerformSummaryEntity
.
setAttendScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
set
Assess
Score
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
set
Review
Score
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setOtherScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setEffectScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setErrorScore
(
vo
.
getSumScore
());
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckOtherRecordServiceImpl.java
View file @
068186e1
...
...
@@ -104,23 +104,23 @@ public class CheckOtherRecordServiceImpl extends AbstractCRUDServiceImpl<CheckOt
summaryQuery
.
setMonth
(
vo
.
getMonth
());
StaffPerformSummaryEntity
temp
=
staffPerformSummaryService
.
selectOne
(
summaryQuery
);
if
(
temp
!=
null
){
if
(
temp
.
get
Assess
Score
()==
null
){
staffPerformSummaryEntity
.
set
Assess
Score
(
new
BigDecimal
(
0
));
if
(
temp
.
get
Review
Score
()==
null
){
staffPerformSummaryEntity
.
set
Review
Score
(
new
BigDecimal
(
0
));
}
if
(
temp
.
getAttendScore
()==
null
){
staffPerformSummaryEntity
.
setAttendScore
(
new
BigDecimal
(
0
));
}
if
(
temp
.
get
W
orkScore
()==
null
){
staffPerformSummaryEntity
.
set
W
orkScore
(
new
BigDecimal
(
0
));
if
(
temp
.
get
Gow
orkScore
()==
null
){
staffPerformSummaryEntity
.
set
Gow
orkScore
(
new
BigDecimal
(
0
));
}
if
(
temp
.
getEffectScore
()==
null
){
staffPerformSummaryEntity
.
setEffectScore
(
new
BigDecimal
(
0
));
}
BigDecimal
erro
=
new
BigDecimal
(
0
);
erro
.
add
(
staffPerformSummaryEntity
.
get
Assess
Score
());
erro
.
add
(
staffPerformSummaryEntity
.
get
Review
Score
());
erro
.
add
(
staffPerformSummaryEntity
.
getAttendScore
());
erro
.
add
(
staffPerformSummaryEntity
.
getOtherScore
());
erro
.
add
(
staffPerformSummaryEntity
.
get
W
orkScore
());
erro
.
add
(
staffPerformSummaryEntity
.
get
Gow
orkScore
());
erro
.
add
(
staffPerformSummaryEntity
.
getEffectScore
());
staffPerformSummaryEntity
.
setErrorScore
(
erro
);
BigDecimal
total
=
new
BigDecimal
(
100
);
...
...
@@ -133,8 +133,8 @@ public class CheckOtherRecordServiceImpl extends AbstractCRUDServiceImpl<CheckOt
staffPerformSummaryService
.
update
(
staffPerformSummaryEntity
);
}
else
{
staffPerformSummaryEntity
.
setAttendScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
set
Assess
Score
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
set
W
orkScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
set
Review
Score
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
set
Gow
orkScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setEffectScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setErrorScore
(
vo
.
getSumScore
());
BigDecimal
total
=
new
BigDecimal
(
100
);
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckReviewRecordServiceImpl.java
View file @
068186e1
...
...
@@ -97,7 +97,7 @@ public class CheckReviewRecordServiceImpl extends AbstractCRUDServiceImpl<CheckR
for
(
StaffCheckSummaryVo
vo:
summaryVoList
){
StaffPerformSummaryEntity
staffPerformSummaryEntity
=
new
StaffPerformSummaryEntity
();
BeanUtils
.
copyProperties
(
vo
,
staffPerformSummaryEntity
,
BeanUtil
.
getNullPropertyNames
(
vo
));
staffPerformSummaryEntity
.
set
Assess
Score
(
vo
.
getSumScore
());
staffPerformSummaryEntity
.
set
Review
Score
(
vo
.
getSumScore
());
StaffPerformSummaryQuery
summaryQuery
=
new
StaffPerformSummaryQuery
();
summaryQuery
.
setStaffId
(
vo
.
getStaffId
());
summaryQuery
.
setYear
(
vo
.
getYear
());
...
...
@@ -110,17 +110,17 @@ public class CheckReviewRecordServiceImpl extends AbstractCRUDServiceImpl<CheckR
if
(
temp
.
getOtherScore
()==
null
){
staffPerformSummaryEntity
.
setOtherScore
(
new
BigDecimal
(
0
));
}
if
(
temp
.
get
W
orkScore
()==
null
){
staffPerformSummaryEntity
.
set
W
orkScore
(
new
BigDecimal
(
0
));
if
(
temp
.
get
Gow
orkScore
()==
null
){
staffPerformSummaryEntity
.
set
Gow
orkScore
(
new
BigDecimal
(
0
));
}
if
(
temp
.
getEffectScore
()==
null
){
staffPerformSummaryEntity
.
setEffectScore
(
new
BigDecimal
(
0
));
}
BigDecimal
erro
=
new
BigDecimal
(
0
);
erro
.
add
(
staffPerformSummaryEntity
.
get
Assess
Score
());
erro
.
add
(
staffPerformSummaryEntity
.
get
Review
Score
());
erro
.
add
(
staffPerformSummaryEntity
.
getAttendScore
());
erro
.
add
(
staffPerformSummaryEntity
.
getOtherScore
());
erro
.
add
(
staffPerformSummaryEntity
.
get
W
orkScore
());
erro
.
add
(
staffPerformSummaryEntity
.
get
Gow
orkScore
());
erro
.
add
(
staffPerformSummaryEntity
.
getEffectScore
());
staffPerformSummaryEntity
.
setErrorScore
(
erro
);
BigDecimal
total
=
new
BigDecimal
(
100
);
...
...
@@ -134,7 +134,7 @@ public class CheckReviewRecordServiceImpl extends AbstractCRUDServiceImpl<CheckR
}
else
{
staffPerformSummaryEntity
.
setAttendScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setOtherScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
set
W
orkScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
set
Gow
orkScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setEffectScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setErrorScore
(
vo
.
getSumScore
());
BigDecimal
total
=
new
BigDecimal
(
100
);
...
...
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