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
203508ec
Commit
203508ec
authored
May 08, 2024
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
H5测试bug修改
parent
ba4dad6c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
54 additions
and
4 deletions
+54
-4
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/web/PerformErrorMessageController.java
...xhx/module/perform/web/PerformErrorMessageController.java
+54
-4
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/web/PerformErrorMessageController.java
View file @
203508ec
...
...
@@ -4,10 +4,7 @@ import com.alibaba.fastjson.JSONObject;
import
com.mortals.framework.model.Context
;
import
com.mortals.framework.web.BaseCRUDJsonBodyMappingController
;
import
com.mortals.xhx.base.system.param.service.ParamService
;
import
com.mortals.xhx.common.code.AppealStatusEnum
;
import
com.mortals.xhx.common.code.CheckStatusEnum
;
import
com.mortals.xhx.common.code.PerformTypeEnum
;
import
com.mortals.xhx.common.code.SubAddTypeEnum
;
import
com.mortals.xhx.common.code.*
;
import
com.mortals.xhx.module.check.model.*
;
import
com.mortals.xhx.module.check.service.*
;
import
com.mortals.xhx.module.perform.model.PerformAttendAppealEntity
;
...
...
@@ -90,26 +87,79 @@ public class PerformErrorMessageController extends BaseCRUDJsonBodyMappingContro
if
(
entity
.
getPerformType
().
equals
(
PerformTypeEnum
.
考勤绩效
.
getValue
())){
CheckAttendRecordEntity
checkAttendRecordEntity
=
checkAttendRecordService
.
get
(
entity
.
getCheckRecordId
());
ret
.
put
(
PerformTypeEnum
.
考勤绩效
.
getValue
(),
checkAttendRecordEntity
);
this
.
addDict
(
model
,
"checkStatus"
,
CheckStatusEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subMethod"
,
SubMethodEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subAddType"
,
SubAddTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkType"
,
CheckTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkResult"
,
CheckResultEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkResultAdd"
,
CheckResultAddEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkResultSub"
,
CheckResultSubEnum
.
getEnumMap
());
}
if
(
entity
.
getPerformType
().
equals
(
PerformTypeEnum
.
效能绩效
.
getValue
())){
CheckEffectRecordEntity
checkEffectRecordEntity
=
checkEffectRecordService
.
get
(
entity
.
getCheckRecordId
());
ret
.
put
(
PerformTypeEnum
.
效能绩效
.
getValue
(),
checkEffectRecordEntity
);
this
.
addDict
(
model
,
"irregularType"
,
IrregularTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkStatus"
,
CheckStatusEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subMethod"
,
SubMethodEnum
.
getEnumMap
(
SubMethodEnum
.
大厅巡查
.
getValue
(),
SubMethodEnum
.
申诉冲销
.
getValue
()));
this
.
addDict
(
model
,
"subAddType"
,
SubAddTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkType"
,
CheckTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkResult"
,
CheckResultEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkResultAdd"
,
CheckResultAddEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkResultSub"
,
CheckResultSubEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"processStatus"
,
ProcessStatusEnum
.
getEnumMap
());
}
if
(
entity
.
getPerformType
().
equals
(
PerformTypeEnum
.
办件绩效
.
getValue
())){
CheckGoworkRecordEntity
checkGoworkRecordEntity
=
checkGoworkRecordService
.
get
(
entity
.
getCheckRecordId
());
ret
.
put
(
PerformTypeEnum
.
办件绩效
.
getValue
(),
checkGoworkRecordEntity
);
this
.
addDict
(
model
,
"checkStatus"
,
CheckStatusEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subMethod"
,
SubMethodEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subAddType"
,
SubAddTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkType"
,
CheckTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkResult"
,
CheckResultEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkResultAdd"
,
CheckResultAddEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkResultSub"
,
CheckResultSubEnum
.
getEnumMap
());
}
if
(
entity
.
getPerformType
().
equals
(
PerformTypeEnum
.
评价差评绩效
.
getValue
())){
CheckReviewRecordEntity
checkReviewRecordEntity
=
checkReviewRecordService
.
get
(
entity
.
getCheckRecordId
());
ret
.
put
(
PerformTypeEnum
.
评价差评绩效
.
getValue
(),
checkReviewRecordEntity
);
this
.
addDict
(
model
,
"reviewResult"
,
paramService
.
getParamBySecondOrganize
(
"CheckReviewRecord"
,
"reviewResult"
));
this
.
addDict
(
model
,
"reviewSource"
,
paramService
.
getParamBySecondOrganize
(
"CheckReviewRecord"
,
"reviewSource"
));
this
.
addDict
(
model
,
"checkStatus"
,
CheckStatusEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subMethod"
,
SubMethodEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subAddType"
,
SubAddTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkType"
,
CheckTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkResult"
,
CheckResultEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkResultAdd"
,
CheckResultAddEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkResultSub"
,
CheckResultSubEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"reviewSource"
,
ReviewSourceEnum
.
getEnumMap
());
}
if
(
entity
.
getPerformType
().
equals
(
PerformTypeEnum
.
评价投诉绩效
.
getValue
())){
CheckComplainRecordEntity
checkComplainRecordEntity
=
checkComplainRecordService
.
get
(
entity
.
getCheckRecordId
());
ret
.
put
(
PerformTypeEnum
.
评价投诉绩效
.
getValue
(),
checkComplainRecordEntity
);
this
.
addDict
(
model
,
"checkStatus"
,
CheckStatusEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subMethod"
,
SubMethodEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subAddType"
,
SubAddTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkType"
,
CheckTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkResult"
,
CheckResultEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkResultAdd"
,
CheckResultAddEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkResultSub"
,
CheckResultSubEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"complainSource"
,
ReviewSourceEnum
.
getEnumMap
());
}
if
(
entity
.
getPerformType
().
equals
(
PerformTypeEnum
.
其它绩效
.
getValue
())){
CheckOtherRecordEntity
checkOtherRecordEntity
=
checkOtherRecordService
.
get
(
entity
.
getCheckRecordId
());
ret
.
put
(
PerformTypeEnum
.
其它绩效
.
getValue
(),
checkOtherRecordEntity
);
this
.
addDict
(
model
,
"irregularOtherType"
,
paramService
.
getParamBySecondOrganize
(
"CheckOtherRecord"
,
"irregularOtherType"
));
this
.
addDict
(
model
,
"checkStatus"
,
CheckStatusEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subMethod"
,
SubMethodEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subAddType"
,
SubAddTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkType"
,
CheckTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkResult"
,
CheckResultEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkResultAdd"
,
CheckResultAddEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkResultSub"
,
CheckResultSubEnum
.
getEnumMap
());
}
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