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
52061fcf
Commit
52061fcf
authored
Aug 20, 2020
by
leialin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'lal' into 'develop'
提交 See merge request 8timerv2/8timerapiv200!448
parents
51e5dd1d
20e143a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
src/main/java/cn/timer/api/controller/kqgl/ClockInController.java
+6
-8
No files found.
src/main/java/cn/timer/api/controller/kqgl/ClockInController.java
View file @
52061fcf
...
@@ -3029,7 +3029,7 @@ public class ClockInController {
...
@@ -3029,7 +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
()
!
=
null
)
{
if
(
rul
.
getRulesType
()
==
1
)
{
if
(
rul
.
getRulesType
()
==
1
)
{
dkjl
.
setCalendar_status_type
(
1
);
dkjl
.
setCalendar_status_type
(
1
);
...
@@ -3245,11 +3245,8 @@ public class ClockInController {
...
@@ -3245,11 +3245,8 @@ public class ClockInController {
AttSchedule
attw
=
attsch
.
get
(
dk
.
getSort
()+
cr
-
1
);
AttSchedule
attw
=
attsch
.
get
(
dk
.
getSort
()+
cr
-
1
);
attw
.
setIsupdate
(
1
);
attw
.
setIsupdate
(
1
);
}
}
}
else
{
}
else
{
if
(
iscrdk
)
{
if
(
iscrdk
)
{
if
(
attdate
.
getAttsch
().
size
()
==
2
)
{
if
(
attdate
.
getAttsch
().
size
()
==
2
)
{
AttSchedule
attc
=
attsch
.
get
(
0
);
AttSchedule
attc
=
attsch
.
get
(
0
);
AttSchedule
attcto
=
attsch
.
get
(
1
);
AttSchedule
attcto
=
attsch
.
get
(
1
);
...
@@ -3283,7 +3280,6 @@ public class ClockInController {
...
@@ -3283,7 +3280,6 @@ public class ClockInController {
}
}
attc
.
setIsdk
(
0
);
attc
.
setIsdk
(
0
);
}
}
}
else
{
}
else
{
if
(
crlasttime
!=
null
)
{
if
(
crlasttime
!=
null
)
{
Timestamp
dd
=
Timestamp
.
valueOf
(
crlasttime
);
Timestamp
dd
=
Timestamp
.
valueOf
(
crlasttime
);
...
@@ -3313,11 +3309,13 @@ public class ClockInController {
...
@@ -3313,11 +3309,13 @@ public class ClockInController {
}
}
}
}
}
}
//当全为缺卡时
}
else
{
}
else
{
//休息的时候
//休息的时候
List
<
AttSchedule
>
attsch_
=
new
ArrayList
<
AttSchedule
>();
List
<
AttSchedule
>
attsch_
=
new
ArrayList
<
AttSchedule
>();
...
...
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