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
586ae686
Commit
586ae686
authored
Jul 13, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加申诉审核流程
parent
c6e202a8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformRulesServiceImpl.java
.../module/perform/service/impl/PerformRulesServiceImpl.java
+6
-7
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/web/PerformAttendAppealController.java
...xhx/module/perform/web/PerformAttendAppealController.java
+0
-1
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformRulesServiceImpl.java
View file @
586ae686
...
...
@@ -43,7 +43,6 @@ public class PerformRulesServiceImpl extends AbstractCRUDCacheServiceImpl<Perfor
@Override
protected
void
saveBefore
(
PerformRulesEntity
entity
,
Context
context
)
throws
AppException
{
if
(
ObjectUtils
.
isEmpty
(
entity
.
getRuleCode
()))
{
String
ruleCode
=
""
;
/*
if (PerformRulesTypeEnum.考勤绩效.getValue() == entity.getType()) {
...
...
@@ -52,22 +51,22 @@ public class PerformRulesServiceImpl extends AbstractCRUDCacheServiceImpl<Perfor
*/
switch
(
PerformRulesTypeEnum
.
getByValue
(
entity
.
getType
()))
{
case
考勤绩效:
ruleCode
=
PerformRulesTypeEnum
.
getByValue
(
entity
.
getType
()).
getDesc
().
toUpperCase
()
+
"_"
+
idgeneratorService
.
getLongId
(
ATTEND_KEY
);
ruleCode
=
PerformRulesTypeEnum
.
getByValue
(
entity
.
getType
()).
getDesc
().
toUpperCase
()
+
idgeneratorService
.
getLongId
(
ATTEND_KEY
);
break
;
case
评价差评绩效:
ruleCode
=
PerformRulesTypeEnum
.
getByValue
(
entity
.
getType
()).
getDesc
().
toUpperCase
()
+
"_"
+
idgeneratorService
.
getLongId
(
REVIEW_KEY
);
ruleCode
=
PerformRulesTypeEnum
.
getByValue
(
entity
.
getType
()).
getDesc
().
toUpperCase
()
+
idgeneratorService
.
getLongId
(
REVIEW_KEY
);
break
;
case
评价投诉绩效:
ruleCode
=
PerformRulesTypeEnum
.
getByValue
(
entity
.
getType
()).
getDesc
().
toUpperCase
()
+
"_"
+
idgeneratorService
.
getLongId
(
COMPLAIN_KEY
);
ruleCode
=
PerformRulesTypeEnum
.
getByValue
(
entity
.
getType
()).
getDesc
().
toUpperCase
()
+
idgeneratorService
.
getLongId
(
COMPLAIN_KEY
);
break
;
case
办件绩效:
ruleCode
=
PerformRulesTypeEnum
.
getByValue
(
entity
.
getType
()).
getDesc
().
toUpperCase
()
+
"_"
+
idgeneratorService
.
getLongId
(
GOWORK_KEY
);
ruleCode
=
PerformRulesTypeEnum
.
getByValue
(
entity
.
getType
()).
getDesc
().
toUpperCase
()
+
idgeneratorService
.
getLongId
(
GOWORK_KEY
);
break
;
case
效能绩效:
ruleCode
=
PerformRulesTypeEnum
.
getByValue
(
entity
.
getType
()).
getDesc
().
toUpperCase
()
+
"_"
+
idgeneratorService
.
getLongId
(
EFFECT_KEY
);
ruleCode
=
PerformRulesTypeEnum
.
getByValue
(
entity
.
getType
()).
getDesc
().
toUpperCase
()
+
idgeneratorService
.
getLongId
(
EFFECT_KEY
);
break
;
case
其它绩效:
ruleCode
=
PerformRulesTypeEnum
.
getByValue
(
entity
.
getType
()).
getDesc
().
toUpperCase
()
+
"_"
+
idgeneratorService
.
getLongId
(
OTHER_KEY
);
ruleCode
=
PerformRulesTypeEnum
.
getByValue
(
entity
.
getType
()).
getDesc
().
toUpperCase
()
+
idgeneratorService
.
getLongId
(
OTHER_KEY
);
break
;
default
:
throw
new
AppException
(
"绩效类型不支持!"
);
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/web/PerformAttendAppealController.java
View file @
586ae686
...
...
@@ -72,7 +72,6 @@ public class PerformAttendAppealController extends BaseCRUDJsonBodyMappingContro
@PostMapping
(
value
=
"audit"
)
public
String
appealAudit
(
@RequestBody
PerformAttendAppealEntity
appeal
)
{
JSONObject
jsonObject
=
new
JSONObject
();
Map
<
String
,
Object
>
model
=
new
HashMap
<>();
String
busiDesc
=
this
.
getModuleDesc
()
+
"审核"
;
try
{
Rest
<
Void
>
audit
=
this
.
service
.
audit
(
appeal
,
getContext
());
...
...
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