Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
8timerv2
8timerapiv200
Commits
51e5dd1d
Commit
51e5dd1d
authored
Aug 20, 2020
by
leialin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'lal' into 'develop'
提交 See merge request 8timerv2/8timerapiv200!447
parents
039820e3
1f5dc028
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
0 deletions
+19
-0
src/main/java/cn/timer/api/bean/kqmk/KqglAssoDkjl.java
+4
-0
src/main/java/cn/timer/api/controller/kqgl/ClockInController.java
+11
-0
src/main/java/cn/timer/api/dto/kqmk/AttSchedule.java
+2
-0
src/main/java/cn/timer/api/dto/kqmk/TransactionApprovalDto.java
+2
-0
No files found.
src/main/java/cn/timer/api/bean/kqmk/KqglAssoDkjl.java
View file @
51e5dd1d
...
@@ -108,4 +108,7 @@ public class KqglAssoDkjl extends Model<KqglAssoDkjl> {
...
@@ -108,4 +108,7 @@ public class KqglAssoDkjl extends Model<KqglAssoDkjl> {
@TableField
(
exist
=
false
)
@TableField
(
exist
=
false
)
private
Integer
calendar_status_type
;
//0:无;1:事假;2:调休;3:病假;4:年假;5:产假;6:陪产假;7:婚假;8:例假;9:丧假;10:哺乳假;11:加班;12:出差;13:外出
private
Integer
calendar_status_type
;
//0:无;1:事假;2:调休;3:病假;4:年假;5:产假;6:陪产假;7:婚假;8:例假;9:丧假;10:哺乳假;11:加班;12:出差;13:外出
@TableField
(
exist
=
false
)
private
String
calendar_status_name
;
}
}
\ No newline at end of file
src/main/java/cn/timer/api/controller/kqgl/ClockInController.java
View file @
51e5dd1d
...
@@ -3029,6 +3029,7 @@ public class ClockInController {
...
@@ -3029,6 +3029,7 @@ public class ClockInController {
}
else
if
(
asssum1
.
getApprovalType
()
==
2
)
{
}
else
if
(
asssum1
.
getApprovalType
()
==
2
)
{
//请假
//请假
KqglAssoLeaveRules
rul
=
KqglAssoLeaveRules
.
builder
().
build
().
selectOne
(
new
QueryWrapper
<
KqglAssoLeaveRules
>().
lambda
().
eq
(
KqglAssoLeaveRules:
:
getId
,
asssum1
.
getLeaveTypeId
()));
KqglAssoLeaveRules
rul
=
KqglAssoLeaveRules
.
builder
().
build
().
selectOne
(
new
QueryWrapper
<
KqglAssoLeaveRules
>().
lambda
().
eq
(
KqglAssoLeaveRules:
:
getId
,
asssum1
.
getLeaveTypeId
()));
if
(
rul
.
getRulesType
()
==
null
)
{
if
(
rul
.
getRulesType
()
==
1
)
{
if
(
rul
.
getRulesType
()
==
1
)
{
dkjl
.
setCalendar_status_type
(
1
);
dkjl
.
setCalendar_status_type
(
1
);
...
@@ -3070,6 +3071,13 @@ public class ClockInController {
...
@@ -3070,6 +3071,13 @@ public class ClockInController {
ash
.
setCalendar_status_type
(
10
);
ash
.
setCalendar_status_type
(
10
);
}
}
}
else
{
dkjl
.
setCalendar_status_type
(-
1
);
dkjl
.
setCalendar_status_name
(
rul
.
getName
());
ash
.
setCalendar_status_type
(-
1
);
dkjl
.
setCalendar_status_name
(
rul
.
getName
());
}
}
else
if
(
asssum1
.
getApprovalType
()
==
3
)
{
}
else
if
(
asssum1
.
getApprovalType
()
==
3
)
{
dkjl
.
setCalendar_status_type
(
12
);
dkjl
.
setCalendar_status_type
(
12
);
...
@@ -3396,6 +3404,9 @@ public class ClockInController {
...
@@ -3396,6 +3404,9 @@ public class ClockInController {
}
else
if
(
rul
.
getRulesType
()
==
10
)
{
}
else
if
(
rul
.
getRulesType
()
==
10
)
{
taap
.
setCalendar_status_type
(
10
);
taap
.
setCalendar_status_type
(
10
);
}
}
}
else
{
taap
.
setCalendar_status_type
(-
1
);
taap
.
setCalendar_status_name
(
rul
.
getName
());
}
}
}
else
if
(
spnsw
.
getApprovalType
()
==
3
)
{
}
else
if
(
spnsw
.
getApprovalType
()
==
3
)
{
taap
.
setCalendar_status_type
(
12
);
taap
.
setCalendar_status_type
(
12
);
...
...
src/main/java/cn/timer/api/dto/kqmk/AttSchedule.java
View file @
51e5dd1d
...
@@ -28,6 +28,8 @@ public class AttSchedule implements Serializable{
...
@@ -28,6 +28,8 @@ public class AttSchedule implements Serializable{
private
Integer
calendar_status_type
;
//0:无;1:事假;2:调休;3:病假;4:年假;5:产假;6:陪产假;7:婚假;8:例假;9:丧假;10:哺乳假;11:加班;12:出差;13:外出
private
Integer
calendar_status_type
;
//0:无;1:事假;2:调休;3:病假;4:年假;5:产假;6:陪产假;7:婚假;8:例假;9:丧假;10:哺乳假;11:加班;12:出差;13:外出
private
Integer
calendar_status_name
;
private
int
isleave
;
//是否请假
private
int
isleave
;
//是否请假
private
int
isupdate
;
//是否跟新打卡
private
int
isupdate
;
//是否跟新打卡
private
int
isdk
;
//0:当前打卡 1:已过打卡
private
int
isdk
;
//0:当前打卡 1:已过打卡
...
...
src/main/java/cn/timer/api/dto/kqmk/TransactionApprovalDto.java
View file @
51e5dd1d
...
@@ -20,4 +20,6 @@ public class TransactionApprovalDto {
...
@@ -20,4 +20,6 @@ public class TransactionApprovalDto {
private
Integer
approval_form
;
//审批单
private
Integer
approval_form
;
//审批单
private
String
calendar_status_name
;
}
}
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