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
5e65d689
Commit
5e65d689
authored
4 years ago
by
ilal
Committed by
chenzg
3 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
3c452d20
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
src/main/java/cn/timer/api/controller/kqgl/ClockInController.java
+21
-0
No files found.
src/main/java/cn/timer/api/controller/kqgl/ClockInController.java
View file @
5e65d689
...
@@ -2853,6 +2853,7 @@ public class ClockInController {
...
@@ -2853,6 +2853,7 @@ public class ClockInController {
dkjl
.
setId
(
888
);
dkjl
.
setId
(
888
);
//更新打卡关闭
//更新打卡关闭
ash
.
setIsupdate
(
0
);
ash
.
setIsupdate
(
0
);
ash
.
setIsdk
(
1
);
}
}
//
//
...
@@ -2862,6 +2863,7 @@ public class ClockInController {
...
@@ -2862,6 +2863,7 @@ public class ClockInController {
dkjl
.
setId
(
888
);
dkjl
.
setId
(
888
);
//更新打卡关闭
//更新打卡关闭
ash
.
setIsupdate
(
0
);
ash
.
setIsupdate
(
0
);
ash
.
setIsdk
(
1
);
}
}
/****/
/****/
...
@@ -2956,6 +2958,25 @@ public class ClockInController {
...
@@ -2956,6 +2958,25 @@ public class ClockInController {
attw
.
setIsupdate
(
0
);
attw
.
setIsupdate
(
0
);
}
}
//全部为缺卡时 没有打卡按钮显示
if
(
attdate
.
getAttsch
().
size
()
==
2
||
attdate
.
getAttsch
().
size
()
==
4
||
attdate
.
getAttsch
().
size
()
==
6
)
{
if
(
attsch
.
get
(
0
).
getDajl
().
getId
()
==
888
&&
attsch
.
get
(
0
).
getDajl
().
getStatus
()
==
17
&&
attsch
.
get
(
1
).
getDajl
().
getId
()
==
888
&&
attsch
.
get
(
1
).
getDajl
().
getStatus
()
==
17
)
{
lcdkgb
=
false
;
}
}
else
if
(
attdate
.
getAttsch
().
size
()
==
4
||
attdate
.
getAttsch
().
size
()
==
6
)
{
if
(
attsch
.
get
(
2
).
getDajl
().
getId
()
==
888
&&
attsch
.
get
(
2
).
getDajl
().
getStatus
()
==
17
&&
attsch
.
get
(
3
).
getDajl
().
getId
()
==
888
&&
attsch
.
get
(
3
).
getDajl
().
getStatus
()
==
17
)
{
lcdkgb
=
false
;
}
}
else
if
(
attdate
.
getAttsch
().
size
()
==
6
)
{
if
(
attsch
.
get
(
4
).
getDajl
().
getId
()
==
888
&&
attsch
.
get
(
4
).
getDajl
().
getStatus
()
==
17
&&
attsch
.
get
(
5
).
getDajl
().
getId
()
==
888
&&
attsch
.
get
(
5
).
getDajl
().
getStatus
()
==
17
)
{
lcdkgb
=
false
;
}
}
//全部为 1 时
//全部为 1 时
if
(
bccs
==
bc
&&
b
.
before
(
d
)
&&
lcdkgb
)
{
if
(
bccs
==
bc
&&
b
.
before
(
d
)
&&
lcdkgb
)
{
System
.
err
.
println
(
cr
);
System
.
err
.
println
(
cr
);
...
...
This diff is collapsed.
Click to expand it.
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