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
094a1293
Commit
094a1293
authored
Aug 01, 2023
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
e2e1ced5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/busiz/h5/web/PerformApiController.java
...va/com/mortals/xhx/busiz/h5/web/PerformApiController.java
+18
-0
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/busiz/h5/web/PerformApiController.java
View file @
094a1293
...
@@ -388,21 +388,39 @@ public class PerformApiController extends AbstractBaseController<PerformReq> {
...
@@ -388,21 +388,39 @@ public class PerformApiController extends AbstractBaseController<PerformReq> {
PerformDetailInfo
performDetailInfo
=
new
PerformDetailInfo
();
PerformDetailInfo
performDetailInfo
=
new
PerformDetailInfo
();
if
(
PerformTypeEnum
.
考勤绩效
.
getValue
().
equals
(
performReq
.
getPerformType
()))
{
if
(
PerformTypeEnum
.
考勤绩效
.
getValue
().
equals
(
performReq
.
getPerformType
()))
{
CheckAttendRecordEntity
checkEntity
=
checkAttendRecordService
.
get
(
performReq
.
getId
(),
context
);
CheckAttendRecordEntity
checkEntity
=
checkAttendRecordService
.
get
(
performReq
.
getId
(),
context
);
if
(
checkEntity
==
null
){
throw
new
AppException
(
"绩效核查信息id不正确,查不到相应数据"
);
}
BeanUtils
.
copyProperties
(
checkEntity
,
performDetailInfo
,
BeanUtil
.
getNullPropertyNames
(
checkEntity
));
BeanUtils
.
copyProperties
(
checkEntity
,
performDetailInfo
,
BeanUtil
.
getNullPropertyNames
(
checkEntity
));
}
else
if
(
PerformTypeEnum
.
评价差评绩效
.
getValue
().
equals
(
performReq
.
getPerformType
()))
{
}
else
if
(
PerformTypeEnum
.
评价差评绩效
.
getValue
().
equals
(
performReq
.
getPerformType
()))
{
CheckReviewRecordEntity
checkEntity
=
checkReviewRecordService
.
get
(
performReq
.
getId
(),
context
);
CheckReviewRecordEntity
checkEntity
=
checkReviewRecordService
.
get
(
performReq
.
getId
(),
context
);
if
(
checkEntity
==
null
){
throw
new
AppException
(
"绩效核查信息id不正确,查不到相应数据"
);
}
BeanUtils
.
copyProperties
(
checkEntity
,
performDetailInfo
,
BeanUtil
.
getNullPropertyNames
(
checkEntity
));
BeanUtils
.
copyProperties
(
checkEntity
,
performDetailInfo
,
BeanUtil
.
getNullPropertyNames
(
checkEntity
));
}
else
if
(
PerformTypeEnum
.
评价投诉绩效
.
getValue
().
equals
(
performReq
.
getPerformType
()))
{
}
else
if
(
PerformTypeEnum
.
评价投诉绩效
.
getValue
().
equals
(
performReq
.
getPerformType
()))
{
CheckComplainRecordEntity
checkEntity
=
checkComplainRecordService
.
get
(
performReq
.
getId
(),
context
);
CheckComplainRecordEntity
checkEntity
=
checkComplainRecordService
.
get
(
performReq
.
getId
(),
context
);
if
(
checkEntity
==
null
){
throw
new
AppException
(
"绩效核查信息id不正确,查不到相应数据"
);
}
BeanUtils
.
copyProperties
(
checkEntity
,
performDetailInfo
,
BeanUtil
.
getNullPropertyNames
(
checkEntity
));
BeanUtils
.
copyProperties
(
checkEntity
,
performDetailInfo
,
BeanUtil
.
getNullPropertyNames
(
checkEntity
));
}
else
if
(
PerformTypeEnum
.
办件绩效
.
getValue
().
equals
(
performReq
.
getPerformType
()))
{
}
else
if
(
PerformTypeEnum
.
办件绩效
.
getValue
().
equals
(
performReq
.
getPerformType
()))
{
CheckGoworkRecordEntity
checkEntity
=
checkGoworkRecordService
.
get
(
performReq
.
getId
(),
context
);
CheckGoworkRecordEntity
checkEntity
=
checkGoworkRecordService
.
get
(
performReq
.
getId
(),
context
);
if
(
checkEntity
==
null
){
throw
new
AppException
(
"绩效核查信息id不正确,查不到相应数据"
);
}
BeanUtils
.
copyProperties
(
checkEntity
,
performDetailInfo
,
BeanUtil
.
getNullPropertyNames
(
checkEntity
));
BeanUtils
.
copyProperties
(
checkEntity
,
performDetailInfo
,
BeanUtil
.
getNullPropertyNames
(
checkEntity
));
}
else
if
(
PerformTypeEnum
.
效能绩效
.
getValue
().
equals
(
performReq
.
getPerformType
()))
{
}
else
if
(
PerformTypeEnum
.
效能绩效
.
getValue
().
equals
(
performReq
.
getPerformType
()))
{
CheckEffectRecordEntity
checkEntity
=
checkEffectRecordService
.
get
(
performReq
.
getId
(),
context
);
CheckEffectRecordEntity
checkEntity
=
checkEffectRecordService
.
get
(
performReq
.
getId
(),
context
);
if
(
checkEntity
==
null
){
throw
new
AppException
(
"绩效核查信息id不正确,查不到相应数据"
);
}
BeanUtils
.
copyProperties
(
checkEntity
,
performDetailInfo
,
BeanUtil
.
getNullPropertyNames
(
checkEntity
));
BeanUtils
.
copyProperties
(
checkEntity
,
performDetailInfo
,
BeanUtil
.
getNullPropertyNames
(
checkEntity
));
}
else
if
(
PerformTypeEnum
.
其它绩效
.
getValue
().
equals
(
performReq
.
getPerformType
()))
{
}
else
if
(
PerformTypeEnum
.
其它绩效
.
getValue
().
equals
(
performReq
.
getPerformType
()))
{
CheckOtherRecordEntity
checkEntity
=
checkOtherRecordService
.
get
(
performReq
.
getId
(),
context
);
CheckOtherRecordEntity
checkEntity
=
checkOtherRecordService
.
get
(
performReq
.
getId
(),
context
);
if
(
checkEntity
==
null
){
throw
new
AppException
(
"绩效核查信息id不正确,查不到相应数据"
);
}
BeanUtils
.
copyProperties
(
checkEntity
,
performDetailInfo
,
BeanUtil
.
getNullPropertyNames
(
checkEntity
));
BeanUtils
.
copyProperties
(
checkEntity
,
performDetailInfo
,
BeanUtil
.
getNullPropertyNames
(
checkEntity
));
}
else
{
}
else
{
throw
new
AppException
(
"不支持当前绩效类型"
);
throw
new
AppException
(
"不支持当前绩效类型"
);
...
...
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