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
537ce757
Commit
537ce757
authored
May 08, 2024
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
绩效申诉通过后处理逻辑修改
parent
b1d7947c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
56 additions
and
2 deletions
+56
-2
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformAttendAppealServiceImpl.java
.../perform/service/impl/PerformAttendAppealServiceImpl.java
+56
-2
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformAttendAppealServiceImpl.java
View file @
537ce757
...
@@ -139,30 +139,52 @@ public class PerformAttendAppealServiceImpl extends AbstractCRUDServiceImpl<Perf
...
@@ -139,30 +139,52 @@ public class PerformAttendAppealServiceImpl extends AbstractCRUDServiceImpl<Perf
if
(
PerformTypeEnum
.
考勤绩效
.
getValue
().
equals
(
appealEntity
.
getPerformType
()))
{
if
(
PerformTypeEnum
.
考勤绩效
.
getValue
().
equals
(
appealEntity
.
getPerformType
()))
{
CheckAttendRecordEntity
checkEntity
=
checkAttendRecordService
.
get
(
appealEntity
.
getCheckRecordId
(),
context
);
CheckAttendRecordEntity
checkEntity
=
checkAttendRecordService
.
get
(
appealEntity
.
getCheckRecordId
(),
context
);
if
(
checkEntity
!=
null
)
{
if
(
checkEntity
!=
null
)
{
if
(
checkEntity
.
getCheckStatus
()!=
CheckStatusEnum
.
已处理
.
getValue
()){
checkEntity
.
setCheckResult
(
CheckResultSubEnum
.
核查扣分
.
getValue
());
checkAttendRecordService
.
examine
(
checkEntity
,
context
);
}
CheckAttendRecordEntity
checkAttendRecordEntity
=
new
CheckAttendRecordEntity
();
CheckAttendRecordEntity
checkAttendRecordEntity
=
new
CheckAttendRecordEntity
();
checkAttendRecordEntity
.
initAttrValue
();
checkAttendRecordEntity
.
initAttrValue
();
BeanUtils
.
copyProperties
(
checkEntity
,
checkAttendRecordEntity
,
new
String
[]{
"id"
,
"recordId"
});
BeanUtils
.
copyProperties
(
checkEntity
,
checkAttendRecordEntity
,
new
String
[]{
"id"
,
"recordId"
});
checkAttendRecordEntity
.
setSubAddType
(
SubAddTypeEnum
.
增加
.
getValue
());
checkAttendRecordEntity
.
setSubAddType
(
SubAddTypeEnum
.
增加
.
getValue
());
checkAttendRecordEntity
.
setSubMethod
(
SubMethodEnum
.
申诉冲销
.
getValue
());
checkAttendRecordEntity
.
setSubMethod
(
SubMethodEnum
.
申诉冲销
.
getValue
());
checkAttendRecordEntity
.
setRemark
(
appealMsg
);
checkAttendRecordEntity
.
setRemark
(
appealMsg
);
checkAttendRecordEntity
.
setCheckResult
(
CheckResultAddEnum
.
核查加分
.
getValue
());
checkAttendRecordEntity
.
setCheckTime
(
checkAttendRecordEntity
.
getErrorTime
());
checkAttendRecordEntity
.
setUpdateTime
(
new
Date
());
checkAttendRecordEntity
.
setCheckStatus
(
CheckStatusEnum
.
已处理
.
getValue
());
//处理状态(1.未处理,2.已处理)
checkAttendRecordEntity
.
setAuditStatus
(
AuditStatusEnum
.
通过
.
getValue
());
checkAttendRecordService
.
save
(
checkAttendRecordEntity
,
context
);
checkAttendRecordService
.
save
(
checkAttendRecordEntity
,
context
);
}
}
}
else
if
(
PerformTypeEnum
.
评价差评绩效
.
getValue
().
equals
(
appealEntity
.
getPerformType
()))
{
}
else
if
(
PerformTypeEnum
.
评价差评绩效
.
getValue
().
equals
(
appealEntity
.
getPerformType
()))
{
CheckReviewRecordEntity
checkEntity
=
checkReviewRecordService
.
get
(
appealEntity
.
getCheckRecordId
(),
context
);
CheckReviewRecordEntity
checkEntity
=
checkReviewRecordService
.
get
(
appealEntity
.
getCheckRecordId
(),
context
);
CheckReviewRecordEntity
checkRecordEntity
=
new
CheckReviewRecordEntity
();
checkRecordEntity
.
initAttrValue
();
if
(
checkEntity
!=
null
)
{
if
(
checkEntity
!=
null
)
{
if
(
checkEntity
.
getCheckStatus
()!=
CheckStatusEnum
.
已处理
.
getValue
()){
checkEntity
.
setCheckResult
(
CheckResultSubEnum
.
核查扣分
.
getValue
());
checkReviewRecordService
.
examine
(
checkEntity
,
context
);
}
CheckReviewRecordEntity
checkRecordEntity
=
new
CheckReviewRecordEntity
();
checkRecordEntity
.
initAttrValue
();
BeanUtils
.
copyProperties
(
checkEntity
,
checkRecordEntity
,
new
String
[]{
"id"
,
"recordId"
});
BeanUtils
.
copyProperties
(
checkEntity
,
checkRecordEntity
,
new
String
[]{
"id"
,
"recordId"
});
checkRecordEntity
.
setSubAddType
(
SubAddTypeEnum
.
增加
.
getValue
());
checkRecordEntity
.
setSubAddType
(
SubAddTypeEnum
.
增加
.
getValue
());
checkRecordEntity
.
setSubMethod
(
SubMethodEnum
.
申诉冲销
.
getValue
());
checkRecordEntity
.
setSubMethod
(
SubMethodEnum
.
申诉冲销
.
getValue
());
checkRecordEntity
.
setRemark
(
appealMsg
);
checkRecordEntity
.
setRemark
(
appealMsg
);
checkRecordEntity
.
setCreateTime
(
new
Date
());
checkRecordEntity
.
setCreateTime
(
new
Date
());
checkRecordEntity
.
setCreateUserId
(
this
.
getContextUserId
(
context
));
checkRecordEntity
.
setCreateUserId
(
this
.
getContextUserId
(
context
));
checkRecordEntity
.
setCheckResult
(
CheckResultAddEnum
.
核查加分
.
getValue
());
checkRecordEntity
.
setCheckTime
(
checkRecordEntity
.
getReviewTime
());
checkRecordEntity
.
setUpdateTime
(
new
Date
());
checkRecordEntity
.
setCheckStatus
(
CheckStatusEnum
.
已处理
.
getValue
());
//处理状态(1.未处理,2.已处理)
checkRecordEntity
.
setAuditStatus
(
AuditStatusEnum
.
通过
.
getValue
());
checkReviewRecordService
.
save
(
checkRecordEntity
,
context
);
checkReviewRecordService
.
save
(
checkRecordEntity
,
context
);
}
}
}
else
if
(
PerformTypeEnum
.
评价投诉绩效
.
getValue
().
equals
(
appealEntity
.
getPerformType
()))
{
}
else
if
(
PerformTypeEnum
.
评价投诉绩效
.
getValue
().
equals
(
appealEntity
.
getPerformType
()))
{
CheckComplainRecordEntity
checkEntity
=
checkComplainRecordService
.
get
(
appealEntity
.
getCheckRecordId
(),
context
);
CheckComplainRecordEntity
checkEntity
=
checkComplainRecordService
.
get
(
appealEntity
.
getCheckRecordId
(),
context
);
if
(
checkEntity
!=
null
)
{
if
(
checkEntity
!=
null
)
{
if
(
checkEntity
.
getCheckStatus
()!=
CheckStatusEnum
.
已处理
.
getValue
()){
checkEntity
.
setCheckResult
(
CheckResultSubEnum
.
核查扣分
.
getValue
());
checkComplainRecordService
.
examine
(
checkEntity
,
context
);
}
CheckComplainRecordEntity
checkRecordEntity
=
new
CheckComplainRecordEntity
();
CheckComplainRecordEntity
checkRecordEntity
=
new
CheckComplainRecordEntity
();
checkRecordEntity
.
initAttrValue
();
checkRecordEntity
.
initAttrValue
();
BeanUtils
.
copyProperties
(
checkEntity
,
checkRecordEntity
,
new
String
[]{
"id"
,
"recordId"
});
BeanUtils
.
copyProperties
(
checkEntity
,
checkRecordEntity
,
new
String
[]{
"id"
,
"recordId"
});
...
@@ -171,12 +193,21 @@ public class PerformAttendAppealServiceImpl extends AbstractCRUDServiceImpl<Perf
...
@@ -171,12 +193,21 @@ public class PerformAttendAppealServiceImpl extends AbstractCRUDServiceImpl<Perf
checkRecordEntity
.
setRemark
(
appealMsg
);
checkRecordEntity
.
setRemark
(
appealMsg
);
checkRecordEntity
.
setCreateTime
(
new
Date
());
checkRecordEntity
.
setCreateTime
(
new
Date
());
checkRecordEntity
.
setCreateUserId
(
this
.
getContextUserId
(
context
));
checkRecordEntity
.
setCreateUserId
(
this
.
getContextUserId
(
context
));
checkRecordEntity
.
setCheckResult
(
CheckResultAddEnum
.
核查加分
.
getValue
());
checkRecordEntity
.
setCheckTime
(
checkRecordEntity
.
getComplainTime
());
checkRecordEntity
.
setUpdateTime
(
new
Date
());
checkRecordEntity
.
setCheckStatus
(
CheckStatusEnum
.
已处理
.
getValue
());
//处理状态(1.未处理,2.已处理)
checkRecordEntity
.
setAuditStatus
(
AuditStatusEnum
.
通过
.
getValue
());
checkComplainRecordService
.
save
(
checkRecordEntity
,
context
);
checkComplainRecordService
.
save
(
checkRecordEntity
,
context
);
}
}
}
else
if
(
PerformTypeEnum
.
办件绩效
.
getValue
().
equals
(
appealEntity
.
getPerformType
()))
{
}
else
if
(
PerformTypeEnum
.
办件绩效
.
getValue
().
equals
(
appealEntity
.
getPerformType
()))
{
CheckGoworkRecordEntity
checkEntity
=
checkGoworkRecordService
.
get
(
appealEntity
.
getCheckRecordId
(),
context
);
CheckGoworkRecordEntity
checkEntity
=
checkGoworkRecordService
.
get
(
appealEntity
.
getCheckRecordId
(),
context
);
if
(
checkEntity
!=
null
)
{
if
(
checkEntity
!=
null
)
{
if
(
checkEntity
.
getCheckStatus
()!=
CheckStatusEnum
.
已处理
.
getValue
()){
checkEntity
.
setCheckResult
(
CheckResultSubEnum
.
核查扣分
.
getValue
());
checkGoworkRecordService
.
examine
(
checkEntity
,
context
);
}
CheckGoworkRecordEntity
checkRecordEntity
=
new
CheckGoworkRecordEntity
();
CheckGoworkRecordEntity
checkRecordEntity
=
new
CheckGoworkRecordEntity
();
checkRecordEntity
.
initAttrValue
();
checkRecordEntity
.
initAttrValue
();
BeanUtils
.
copyProperties
(
checkEntity
,
checkRecordEntity
,
new
String
[]{
"id"
,
"recordId"
});
BeanUtils
.
copyProperties
(
checkEntity
,
checkRecordEntity
,
new
String
[]{
"id"
,
"recordId"
});
...
@@ -185,12 +216,21 @@ public class PerformAttendAppealServiceImpl extends AbstractCRUDServiceImpl<Perf
...
@@ -185,12 +216,21 @@ public class PerformAttendAppealServiceImpl extends AbstractCRUDServiceImpl<Perf
checkRecordEntity
.
setRemark
(
appealMsg
);
checkRecordEntity
.
setRemark
(
appealMsg
);
checkRecordEntity
.
setCreateTime
(
new
Date
());
checkRecordEntity
.
setCreateTime
(
new
Date
());
checkRecordEntity
.
setCreateUserId
(
this
.
getContextUserId
(
context
));
checkRecordEntity
.
setCreateUserId
(
this
.
getContextUserId
(
context
));
checkRecordEntity
.
setCheckResult
(
CheckResultAddEnum
.
核查加分
.
getValue
());
checkRecordEntity
.
setCheckTime
(
checkRecordEntity
.
getGoworkTime
());
checkRecordEntity
.
setUpdateTime
(
new
Date
());
checkRecordEntity
.
setCheckStatus
(
CheckStatusEnum
.
已处理
.
getValue
());
//处理状态(1.未处理,2.已处理)
checkRecordEntity
.
setAuditStatus
(
AuditStatusEnum
.
通过
.
getValue
());
checkGoworkRecordService
.
save
(
checkRecordEntity
,
context
);
checkGoworkRecordService
.
save
(
checkRecordEntity
,
context
);
}
}
}
else
if
(
PerformTypeEnum
.
效能绩效
.
getValue
().
equals
(
appealEntity
.
getPerformType
()))
{
}
else
if
(
PerformTypeEnum
.
效能绩效
.
getValue
().
equals
(
appealEntity
.
getPerformType
()))
{
CheckEffectRecordEntity
checkEntity
=
checkEffectRecordService
.
get
(
appealEntity
.
getCheckRecordId
(),
context
);
CheckEffectRecordEntity
checkEntity
=
checkEffectRecordService
.
get
(
appealEntity
.
getCheckRecordId
(),
context
);
if
(
checkEntity
!=
null
)
{
if
(
checkEntity
!=
null
)
{
if
(
checkEntity
.
getCheckStatus
()!=
CheckStatusEnum
.
已处理
.
getValue
()){
checkEntity
.
setCheckResult
(
CheckResultSubEnum
.
核查扣分
.
getValue
());
checkEffectRecordService
.
examine
(
checkEntity
,
context
);
}
CheckEffectRecordEntity
checkRecordEntity
=
new
CheckEffectRecordEntity
();
CheckEffectRecordEntity
checkRecordEntity
=
new
CheckEffectRecordEntity
();
checkRecordEntity
.
initAttrValue
();
checkRecordEntity
.
initAttrValue
();
BeanUtils
.
copyProperties
(
checkEntity
,
checkRecordEntity
,
new
String
[]{
"id"
,
"recordId"
});
BeanUtils
.
copyProperties
(
checkEntity
,
checkRecordEntity
,
new
String
[]{
"id"
,
"recordId"
});
...
@@ -199,12 +239,21 @@ public class PerformAttendAppealServiceImpl extends AbstractCRUDServiceImpl<Perf
...
@@ -199,12 +239,21 @@ public class PerformAttendAppealServiceImpl extends AbstractCRUDServiceImpl<Perf
checkRecordEntity
.
setRemark
(
appealMsg
);
checkRecordEntity
.
setRemark
(
appealMsg
);
checkRecordEntity
.
setCreateTime
(
new
Date
());
checkRecordEntity
.
setCreateTime
(
new
Date
());
checkRecordEntity
.
setCreateUserId
(
this
.
getContextUserId
(
context
));
checkRecordEntity
.
setCreateUserId
(
this
.
getContextUserId
(
context
));
checkRecordEntity
.
setCheckResult
(
CheckResultAddEnum
.
核查加分
.
getValue
());
checkRecordEntity
.
setCheckTime
(
checkRecordEntity
.
getHappenTime
());
checkRecordEntity
.
setUpdateTime
(
new
Date
());
checkRecordEntity
.
setCheckStatus
(
CheckStatusEnum
.
已处理
.
getValue
());
//处理状态(1.未处理,2.已处理)
checkRecordEntity
.
setAuditStatus
(
AuditStatusEnum
.
通过
.
getValue
());
checkEffectRecordService
.
save
(
checkRecordEntity
,
context
);
checkEffectRecordService
.
save
(
checkRecordEntity
,
context
);
}
}
}
else
if
(
PerformTypeEnum
.
其它绩效
.
getValue
().
equals
(
appealEntity
.
getPerformType
()))
{
}
else
if
(
PerformTypeEnum
.
其它绩效
.
getValue
().
equals
(
appealEntity
.
getPerformType
()))
{
CheckOtherRecordEntity
checkEntity
=
checkOtherRecordService
.
get
(
appealEntity
.
getCheckRecordId
(),
context
);
CheckOtherRecordEntity
checkEntity
=
checkOtherRecordService
.
get
(
appealEntity
.
getCheckRecordId
(),
context
);
if
(
checkEntity
!=
null
)
{
if
(
checkEntity
!=
null
)
{
if
(
checkEntity
.
getCheckStatus
()!=
CheckStatusEnum
.
已处理
.
getValue
()){
checkEntity
.
setCheckResult
(
CheckResultSubEnum
.
核查扣分
.
getValue
());
checkOtherRecordService
.
examine
(
checkEntity
,
context
);
}
CheckOtherRecordEntity
checkRecordEntity
=
new
CheckOtherRecordEntity
();
CheckOtherRecordEntity
checkRecordEntity
=
new
CheckOtherRecordEntity
();
checkRecordEntity
.
initAttrValue
();
checkRecordEntity
.
initAttrValue
();
BeanUtils
.
copyProperties
(
checkEntity
,
checkRecordEntity
,
new
String
[]{
"id"
,
"recordId"
});
BeanUtils
.
copyProperties
(
checkEntity
,
checkRecordEntity
,
new
String
[]{
"id"
,
"recordId"
});
...
@@ -213,6 +262,11 @@ public class PerformAttendAppealServiceImpl extends AbstractCRUDServiceImpl<Perf
...
@@ -213,6 +262,11 @@ public class PerformAttendAppealServiceImpl extends AbstractCRUDServiceImpl<Perf
checkRecordEntity
.
setRemark
(
appealMsg
);
checkRecordEntity
.
setRemark
(
appealMsg
);
checkRecordEntity
.
setCreateTime
(
new
Date
());
checkRecordEntity
.
setCreateTime
(
new
Date
());
checkRecordEntity
.
setCreateUserId
(
this
.
getContextUserId
(
context
));
checkRecordEntity
.
setCreateUserId
(
this
.
getContextUserId
(
context
));
checkRecordEntity
.
setCheckResult
(
CheckResultAddEnum
.
核查加分
.
getValue
());
checkRecordEntity
.
setCheckTime
(
checkRecordEntity
.
getHappenTime
());
checkRecordEntity
.
setUpdateTime
(
new
Date
());
checkRecordEntity
.
setCheckStatus
(
CheckStatusEnum
.
已处理
.
getValue
());
//处理状态(1.未处理,2.已处理)
checkRecordEntity
.
setAuditStatus
(
AuditStatusEnum
.
通过
.
getValue
());
checkOtherRecordService
.
save
(
checkRecordEntity
,
context
);
checkOtherRecordService
.
save
(
checkRecordEntity
,
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