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
eb9cb592
Commit
eb9cb592
authored
Jul 08, 2023
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
考勤记录、评价差评记录、评价投诉记录、办件绩效记录、效能绩效几率、其他绩效人工核查记录新增时bug修改
parent
85058f7c
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
36 additions
and
18 deletions
+36
-18
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformAttendRecordServiceImpl.java
.../perform/service/impl/PerformAttendRecordServiceImpl.java
+6
-3
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformComplainRecordServiceImpl.java
...erform/service/impl/PerformComplainRecordServiceImpl.java
+6
-3
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformEffectRecordServiceImpl.java
.../perform/service/impl/PerformEffectRecordServiceImpl.java
+6
-3
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformGoworkRecordServiceImpl.java
.../perform/service/impl/PerformGoworkRecordServiceImpl.java
+6
-3
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformOtherRecordServiceImpl.java
...e/perform/service/impl/PerformOtherRecordServiceImpl.java
+6
-3
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformReviewRecordServiceImpl.java
.../perform/service/impl/PerformReviewRecordServiceImpl.java
+6
-3
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformAttendRecordServiceImpl.java
View file @
eb9cb592
package
com.mortals.xhx.module.perform.service.impl
;
import
com.mortals.xhx.common.code.CheckStatusEnum
;
import
com.mortals.xhx.common.code.SubMethodEnum
;
import
com.mortals.xhx.common.utils.BeanUtil
;
import
com.mortals.xhx.module.check.model.CheckAttendRecordEntity
;
import
com.mortals.xhx.module.check.service.CheckAttendRecordService
;
...
...
@@ -34,11 +36,12 @@ public class PerformAttendRecordServiceImpl extends AbstractCRUDServiceImpl<Perf
CheckAttendRecordEntity
checkAttendRecordEntity
=
new
CheckAttendRecordEntity
();
checkAttendRecordEntity
.
initAttrValue
();
BeanUtils
.
copyProperties
(
entity
,
checkAttendRecordEntity
,
BeanUtil
.
getNullPropertyNames
(
entity
));
checkAttendRecordEntity
.
setId
(
null
);
checkAttendRecordEntity
.
setRecordId
(
entity
.
getId
());
if
(
entity
.
getSubMethod
()==
1
){
checkAttendRecordEntity
.
setCheckStatus
(
2
);
//自动扣分相设置为已处理
if
(
entity
.
getSubMethod
()==
SubMethodEnum
.
系统自动
.
getValue
()
){
checkAttendRecordEntity
.
setCheckStatus
(
CheckStatusEnum
.
已处理
.
getValue
()
);
//自动扣分相设置为已处理
}
else
{
checkAttendRecordEntity
.
setCheckStatus
(
1
);
//非自动扣分相设置为未处理
checkAttendRecordEntity
.
setCheckStatus
(
CheckStatusEnum
.
未处理
.
getValue
()
);
//非自动扣分相设置为未处理
}
checkAttendRecordService
.
save
(
checkAttendRecordEntity
,
context
);
}
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformComplainRecordServiceImpl.java
View file @
eb9cb592
...
...
@@ -3,6 +3,8 @@ package com.mortals.xhx.module.perform.service.impl;
import
com.mortals.framework.exception.AppException
;
import
com.mortals.framework.model.Context
;
import
com.mortals.framework.service.impl.AbstractCRUDServiceImpl
;
import
com.mortals.xhx.common.code.CheckStatusEnum
;
import
com.mortals.xhx.common.code.SubMethodEnum
;
import
com.mortals.xhx.common.utils.BeanUtil
;
import
com.mortals.xhx.module.check.model.CheckComplainRecordEntity
;
import
com.mortals.xhx.module.check.service.CheckComplainRecordService
;
...
...
@@ -35,11 +37,12 @@ public class PerformComplainRecordServiceImpl extends AbstractCRUDServiceImpl<Pe
CheckComplainRecordEntity
checkComplainRecordEntity
=
new
CheckComplainRecordEntity
();
checkComplainRecordEntity
.
initAttrValue
();
BeanUtils
.
copyProperties
(
entity
,
checkComplainRecordEntity
,
BeanUtil
.
getNullPropertyNames
(
entity
));
checkComplainRecordEntity
.
setId
(
null
);
checkComplainRecordEntity
.
setRecordId
(
entity
.
getId
());
if
(
entity
.
getSubMethod
()==
1
){
checkComplainRecordEntity
.
setCheckStatus
(
2
);
//自动扣分相设置为已处理
if
(
entity
.
getSubMethod
()==
SubMethodEnum
.
系统自动
.
getValue
()
){
checkComplainRecordEntity
.
setCheckStatus
(
CheckStatusEnum
.
已处理
.
getValue
()
);
//自动扣分相设置为已处理
}
else
{
checkComplainRecordEntity
.
setCheckStatus
(
1
);
//非自动扣分相设置为未处理
checkComplainRecordEntity
.
setCheckStatus
(
CheckStatusEnum
.
未处理
.
getValue
()
);
//非自动扣分相设置为未处理
}
checkComplainRecordService
.
save
(
checkComplainRecordEntity
,
context
);
}
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformEffectRecordServiceImpl.java
View file @
eb9cb592
package
com.mortals.xhx.module.perform.service.impl
;
import
com.mortals.xhx.common.code.CheckStatusEnum
;
import
com.mortals.xhx.common.code.SubMethodEnum
;
import
com.mortals.xhx.common.utils.BeanUtil
;
import
com.mortals.xhx.module.check.model.CheckEffectRecordEntity
;
import
com.mortals.xhx.module.check.service.CheckEffectRecordService
;
...
...
@@ -34,11 +36,12 @@ public class PerformEffectRecordServiceImpl extends AbstractCRUDServiceImpl<Perf
CheckEffectRecordEntity
checkEffectRecordEntity
=
new
CheckEffectRecordEntity
();
checkEffectRecordEntity
.
initAttrValue
();
BeanUtils
.
copyProperties
(
entity
,
checkEffectRecordEntity
,
BeanUtil
.
getNullPropertyNames
(
entity
));
checkEffectRecordEntity
.
setId
(
null
);
checkEffectRecordEntity
.
setRecordId
(
entity
.
getId
());
if
(
entity
.
getSubMethod
()==
1
){
checkEffectRecordEntity
.
setCheckStatus
(
2
);
//自动扣分相设置为已处理
if
(
entity
.
getSubMethod
()==
SubMethodEnum
.
系统自动
.
getValue
()
){
checkEffectRecordEntity
.
setCheckStatus
(
CheckStatusEnum
.
已处理
.
getValue
()
);
//自动扣分相设置为已处理
}
else
{
checkEffectRecordEntity
.
setCheckStatus
(
1
);
//非自动扣分相设置为未处理
checkEffectRecordEntity
.
setCheckStatus
(
CheckStatusEnum
.
未处理
.
getValue
()
);
//非自动扣分相设置为未处理
}
checkEffectRecordService
.
save
(
checkEffectRecordEntity
,
context
);
}
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformGoworkRecordServiceImpl.java
View file @
eb9cb592
package
com.mortals.xhx.module.perform.service.impl
;
import
com.mortals.xhx.common.code.CheckStatusEnum
;
import
com.mortals.xhx.common.code.SubMethodEnum
;
import
com.mortals.xhx.common.utils.BeanUtil
;
import
com.mortals.xhx.module.check.model.CheckGoworkRecordEntity
;
import
com.mortals.xhx.module.check.service.CheckGoworkRecordService
;
...
...
@@ -34,11 +36,12 @@ public class PerformGoworkRecordServiceImpl extends AbstractCRUDServiceImpl<Perf
CheckGoworkRecordEntity
checkGoworkRecordEntity
=
new
CheckGoworkRecordEntity
();
checkGoworkRecordEntity
.
initAttrValue
();
BeanUtils
.
copyProperties
(
entity
,
checkGoworkRecordEntity
,
BeanUtil
.
getNullPropertyNames
(
entity
));
checkGoworkRecordEntity
.
setId
(
null
);
checkGoworkRecordEntity
.
setRecordId
(
entity
.
getId
());
if
(
entity
.
getSubMethod
()==
1
){
checkGoworkRecordEntity
.
setCheckStatus
(
2
);
//自动扣分相设置为已处理
if
(
entity
.
getSubMethod
()==
SubMethodEnum
.
系统自动
.
getValue
()
){
checkGoworkRecordEntity
.
setCheckStatus
(
CheckStatusEnum
.
已处理
.
getValue
()
);
//自动扣分相设置为已处理
}
else
{
checkGoworkRecordEntity
.
setCheckStatus
(
1
);
//非自动扣分相设置为未处理
checkGoworkRecordEntity
.
setCheckStatus
(
CheckStatusEnum
.
未处理
.
getValue
()
);
//非自动扣分相设置为未处理
}
checkGoworkRecordService
.
save
(
checkGoworkRecordEntity
,
context
);
}
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformOtherRecordServiceImpl.java
View file @
eb9cb592
package
com.mortals.xhx.module.perform.service.impl
;
import
com.mortals.xhx.common.code.CheckStatusEnum
;
import
com.mortals.xhx.common.code.SubMethodEnum
;
import
com.mortals.xhx.common.utils.BeanUtil
;
import
com.mortals.xhx.module.check.model.CheckOtherRecordEntity
;
import
com.mortals.xhx.module.check.service.CheckOtherRecordService
;
...
...
@@ -34,11 +36,12 @@ public class PerformOtherRecordServiceImpl extends AbstractCRUDServiceImpl<Perfo
CheckOtherRecordEntity
checkOtherRecordEntity
=
new
CheckOtherRecordEntity
();
checkOtherRecordEntity
.
initAttrValue
();
BeanUtils
.
copyProperties
(
entity
,
checkOtherRecordEntity
,
BeanUtil
.
getNullPropertyNames
(
entity
));
checkOtherRecordEntity
.
setId
(
null
);
checkOtherRecordEntity
.
setRecordId
(
entity
.
getId
());
if
(
entity
.
getSubMethod
()==
1
){
checkOtherRecordEntity
.
setCheckStatus
(
2
);
//自动扣分相设置为已处理
if
(
entity
.
getSubMethod
()==
SubMethodEnum
.
系统自动
.
getValue
()
){
checkOtherRecordEntity
.
setCheckStatus
(
CheckStatusEnum
.
已处理
.
getValue
()
);
//自动扣分相设置为已处理
}
else
{
checkOtherRecordEntity
.
setCheckStatus
(
1
);
//非自动扣分相设置为未处理
checkOtherRecordEntity
.
setCheckStatus
(
CheckStatusEnum
.
未处理
.
getValue
()
);
//非自动扣分相设置为未处理
}
checkOtherRecordService
.
save
(
checkOtherRecordEntity
,
context
);
}
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformReviewRecordServiceImpl.java
View file @
eb9cb592
package
com.mortals.xhx.module.perform.service.impl
;
import
com.mortals.xhx.common.code.CheckStatusEnum
;
import
com.mortals.xhx.common.code.SubMethodEnum
;
import
com.mortals.xhx.common.utils.BeanUtil
;
import
com.mortals.xhx.module.check.model.CheckReviewRecordEntity
;
import
com.mortals.xhx.module.check.service.CheckReviewRecordService
;
...
...
@@ -33,11 +35,12 @@ public class PerformReviewRecordServiceImpl extends AbstractCRUDServiceImpl<Perf
protected
void
saveAfter
(
PerformReviewRecordEntity
entity
,
Context
context
)
throws
AppException
{
CheckReviewRecordEntity
checkReviewRecordEntity
=
new
CheckReviewRecordEntity
();
BeanUtils
.
copyProperties
(
entity
,
checkReviewRecordEntity
,
BeanUtil
.
getNullPropertyNames
(
entity
));
checkReviewRecordEntity
.
setId
(
null
);
checkReviewRecordEntity
.
setRecordId
(
entity
.
getId
());
if
(
entity
.
getSubMethod
()==
1
){
checkReviewRecordEntity
.
setCheckStatus
(
2
);
//自动扣分相设置为已处理
if
(
entity
.
getSubMethod
()==
SubMethodEnum
.
系统自动
.
getValue
()
){
checkReviewRecordEntity
.
setCheckStatus
(
CheckStatusEnum
.
已处理
.
getValue
()
);
//自动扣分相设置为已处理
}
else
{
checkReviewRecordEntity
.
setCheckStatus
(
1
);
//非自动扣分相设置为未处理
checkReviewRecordEntity
.
setCheckStatus
(
CheckStatusEnum
.
未处理
.
getValue
()
);
//非自动扣分相设置为未处理
}
checkReviewRecordService
.
save
(
checkReviewRecordEntity
,
context
);
}
...
...
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