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
aca30287
Commit
aca30287
authored
Oct 19, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
b54cb22d
1b25416d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
9 deletions
+10
-9
attendance-performance-manager/src/main/java/com/mortals/xhx/common/code/AppealResultEnum.java
...in/java/com/mortals/xhx/common/code/AppealResultEnum.java
+2
-1
attendance-performance-manager/src/main/java/com/mortals/xhx/module/attendance/dingmsg/api/DingMessageController.java
.../module/attendance/dingmsg/api/DingMessageController.java
+7
-7
attendance-performance-manager/src/main/java/com/mortals/xhx/module/attendance/model/AttendanceLeaveRecordEntity.java
.../module/attendance/model/AttendanceLeaveRecordEntity.java
+1
-1
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/common/code/AppealResultEnum.java
View file @
aca30287
...
@@ -12,7 +12,8 @@ public enum AppealResultEnum {
...
@@ -12,7 +12,8 @@ public enum AppealResultEnum {
审核中
(
0
,
"审核中"
),
审核中
(
0
,
"审核中"
),
通过
(
1
,
"通过"
),
通过
(
1
,
"通过"
),
不通过
(
2
,
"不通过"
),
不通过
(
2
,
"不通过"
),
撤销审批中
(
3
,
"撤销审批中"
);
撤销审批中
(
3
,
"撤销审批中"
),
撤销审批通过
(
4
,
"撤销审批通过"
);
private
Integer
value
;
private
Integer
value
;
private
String
desc
;
private
String
desc
;
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/attendance/dingmsg/api/DingMessageController.java
View file @
aca30287
...
@@ -291,14 +291,14 @@ public class DingMessageController {
...
@@ -291,14 +291,14 @@ public class DingMessageController {
if
(
result
.
getResult
().
compareToIgnoreCase
(
"AGREE"
)
==
0
){
if
(
result
.
getResult
().
compareToIgnoreCase
(
"AGREE"
)
==
0
){
// if(result.getTasks().size() > 1){
// if(result.getTasks().get(1).getStatus().compareToIgnoreCase("CANCELED") == 0){
// leaveRecordEntity.setAuditResult(4); //撤销审批完成
// }else {
// leaveRecordEntity.setAuditResult(1);
// }
// }
leaveRecordEntity
.
setAuditResult
(
AppealResultEnum
.
通过
.
getValue
());
leaveRecordEntity
.
setAuditResult
(
AppealResultEnum
.
通过
.
getValue
());
if
(
result
.
getTasks
().
size
()
>
1
){
if
(
result
.
getTasks
().
get
(
1
).
getStatus
().
compareToIgnoreCase
(
"CANCELED"
)
==
0
){
leaveRecordEntity
.
setAuditResult
(
4
);
//撤销审批完成
leaveRecordEntity
.
setAuditResult
(
AppealResultEnum
.
撤销审批通过
.
getValue
());
}
}
}
}
else
if
(
result
.
equals
(
""
)){
//撤销假期审批中result会为空 撤销审批通过后result为AGREE
else
if
(
result
.
equals
(
""
)){
//撤销假期审批中result会为空 撤销审批通过后result为AGREE
if
(
result
.
getTasks
().
size
()
>
1
){
if
(
result
.
getTasks
().
size
()
>
1
){
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/attendance/model/AttendanceLeaveRecordEntity.java
View file @
aca30287
...
@@ -102,7 +102,7 @@ public class AttendanceLeaveRecordEntity extends AttendanceLeaveRecordVo {
...
@@ -102,7 +102,7 @@ public class AttendanceLeaveRecordEntity extends AttendanceLeaveRecordVo {
/**
/**
* 审核结果(1.申请通过,2.申请不通过)
* 审核结果(1.申请通过,2.申请不通过)
*/
*/
@Excel
(
name
=
"审核结果"
,
readConverterExp
=
"1=申请通过,2=申请不通过"
)
@Excel
(
name
=
"审核结果"
,
readConverterExp
=
"1=申请通过,2=申请不通过
,3=撤销审批中,4=撤销审批通过
"
)
private
Integer
auditResult
;
private
Integer
auditResult
;
/**
/**
* 审核说明
* 审核说明
...
...
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