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
ba4dad6c
Commit
ba4dad6c
authored
May 08, 2024
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
绩效异常消息测试bug修改
parent
be434520
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
13 deletions
+15
-13
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckAttendRecordServiceImpl.java
...dule/check/service/impl/CheckAttendRecordServiceImpl.java
+9
-7
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/web/PerformErrorMessageController.java
...xhx/module/perform/web/PerformErrorMessageController.java
+6
-6
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckAttendRecordServiceImpl.java
View file @
ba4dad6c
...
...
@@ -129,13 +129,15 @@ public class CheckAttendRecordServiceImpl extends AbstractCRUDServiceImpl<CheckA
}
//添加绩效异常信息
try
{
PerformErrorMessageEntity
errorMessageEntity
=
new
PerformErrorMessageEntity
();
errorMessageEntity
.
initAttrValue
();
BeanUtils
.
copyProperties
(
entity
,
errorMessageEntity
,
BeanUtil
.
getNullPropertyNames
(
entity
));
errorMessageEntity
.
setCheckRecordId
(
entity
.
getId
());
errorMessageEntity
.
setErrorTime
(
entity
.
getErrorTime
());
errorMessageEntity
.
setPerformType
(
PerformTypeEnum
.
考勤绩效
.
getValue
());
performErrorMessageService
.
save
(
errorMessageEntity
);
if
(!
entity
.
getErrorTime
().
after
(
new
Date
())){
PerformErrorMessageEntity
errorMessageEntity
=
new
PerformErrorMessageEntity
();
errorMessageEntity
.
initAttrValue
();
BeanUtils
.
copyProperties
(
entity
,
errorMessageEntity
,
BeanUtil
.
getNullPropertyNames
(
entity
));
errorMessageEntity
.
setCheckRecordId
(
entity
.
getId
());
errorMessageEntity
.
setErrorTime
(
entity
.
getErrorTime
());
errorMessageEntity
.
setPerformType
(
PerformTypeEnum
.
考勤绩效
.
getValue
());
performErrorMessageService
.
save
(
errorMessageEntity
);
}
}
catch
(
Exception
e
)
{
log
.
error
(
"新增绩效异常信息核查状态出错"
,
e
);
}
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/web/PerformErrorMessageController.java
View file @
ba4dad6c
...
...
@@ -89,27 +89,27 @@ public class PerformErrorMessageController extends BaseCRUDJsonBodyMappingContro
ret
.
put
(
"data"
,
entity
);
if
(
entity
.
getPerformType
().
equals
(
PerformTypeEnum
.
考勤绩效
.
getValue
())){
CheckAttendRecordEntity
checkAttendRecordEntity
=
checkAttendRecordService
.
get
(
entity
.
getCheckRecordId
());
ret
.
put
(
"checkRecordData"
,
checkAttendRecordEntity
);
ret
.
put
(
PerformTypeEnum
.
考勤绩效
.
getValue
()
,
checkAttendRecordEntity
);
}
if
(
entity
.
getPerformType
().
equals
(
PerformTypeEnum
.
效能绩效
.
getValue
())){
CheckEffectRecordEntity
checkEffectRecordEntity
=
checkEffectRecordService
.
get
(
entity
.
getCheckRecordId
());
ret
.
put
(
"checkRecordData"
,
checkEffectRecordEntity
);
ret
.
put
(
PerformTypeEnum
.
效能绩效
.
getValue
()
,
checkEffectRecordEntity
);
}
if
(
entity
.
getPerformType
().
equals
(
PerformTypeEnum
.
办件绩效
.
getValue
())){
CheckGoworkRecordEntity
checkGoworkRecordEntity
=
checkGoworkRecordService
.
get
(
entity
.
getCheckRecordId
());
ret
.
put
(
"checkRecordData"
,
checkGoworkRecordEntity
);
ret
.
put
(
PerformTypeEnum
.
办件绩效
.
getValue
()
,
checkGoworkRecordEntity
);
}
if
(
entity
.
getPerformType
().
equals
(
PerformTypeEnum
.
评价差评绩效
.
getValue
())){
CheckReviewRecordEntity
checkReviewRecordEntity
=
checkReviewRecordService
.
get
(
entity
.
getCheckRecordId
());
ret
.
put
(
"checkRecordData"
,
checkReviewRecordEntity
);
ret
.
put
(
PerformTypeEnum
.
评价差评绩效
.
getValue
()
,
checkReviewRecordEntity
);
}
if
(
entity
.
getPerformType
().
equals
(
PerformTypeEnum
.
评价投诉绩效
.
getValue
())){
CheckComplainRecordEntity
checkComplainRecordEntity
=
checkComplainRecordService
.
get
(
entity
.
getCheckRecordId
());
ret
.
put
(
"checkRecordData"
,
checkComplainRecordEntity
);
ret
.
put
(
PerformTypeEnum
.
评价投诉绩效
.
getValue
()
,
checkComplainRecordEntity
);
}
if
(
entity
.
getPerformType
().
equals
(
PerformTypeEnum
.
其它绩效
.
getValue
())){
CheckOtherRecordEntity
checkOtherRecordEntity
=
checkOtherRecordService
.
get
(
entity
.
getCheckRecordId
());
ret
.
put
(
"checkRecordData"
,
checkOtherRecordEntity
);
ret
.
put
(
PerformTypeEnum
.
其它绩效
.
getValue
()
,
checkOtherRecordEntity
);
}
if
(!
ObjectUtils
.
isEmpty
(
context
)
&&
!
ObjectUtils
.
isEmpty
(
context
.
getUser
()))
{
this
.
recordSysLog
(
this
.
request
,
busiDesc
+
" 【成功】"
);
...
...
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