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
6ef25538
Commit
6ef25538
authored
Aug 04, 2020
by
ilal
Committed by
chenzg
Jul 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
6a2c173b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
3 deletions
+20
-3
src/main/java/cn/timer/api/controller/kqgl/ClockInController.java
+20
-3
No files found.
src/main/java/cn/timer/api/controller/kqgl/ClockInController.java
View file @
6ef25538
...
...
@@ -2277,7 +2277,10 @@ public class ClockInController {
return
ResultUtil
.
success
(
msg
);
}
//****************************************************&&*******&&&******&&&****************************************************//
//***************************************************&**&******&***&****&***&**************************************************//
//**************************************************&&&&&&*****&&&******&&&****************************************************//
//*************************************************&******&****&********&******************************************************//
//考勤组绑定的打卡方式
@Autowired
private
AttGroupBinPunchModeMapper
attgroupbinpunchmodemapper
;
...
...
@@ -2487,7 +2490,9 @@ public class ClockInController {
//允许迟到范围
if
(
results
<
yxcdfzs
)
{
dkjl
.
setResults
(
0
);
dkjl
.
setStatus
(
1
);
if
(
dkjl
.
getStatus
()
==
3
)
{
//原本是迟到的 但是在“允许迟到”范围内 则更改为正常
dkjl
.
setStatus
(
1
);
}
}
//严重迟到范围
if
(
results
>
yzcdfzs
&&
results
<
kgcdfzs
&&
yzcdfzs
>
0
)
{
...
...
@@ -2510,6 +2515,7 @@ public class ClockInController {
KqglAssoBcsz
shif
=
KqglAssoBcsz
.
builder
().
build
().
selectOne
(
new
QueryWrapper
<
KqglAssoBcsz
>().
lambda
().
eq
(
KqglAssoBcsz:
:
getId
,
ash
.
getId
()));
Timestamp
tt
=
Timestamp
.
valueOf
(
ClockInTool
.
stampToDate
(
String
.
valueOf
(
ash
.
getTime
())));
//处理下班不用打卡的数据
if
(
shif
.
getIsXbdk
()
==
1
&&
(
ash
.
getSort
())%
2
==
0
)
{
if
(
dkjl
.
getDktime
()
==
null
&&
b
.
after
(
tt
))
{
...
...
@@ -2521,12 +2527,23 @@ public class ClockInController {
dkjl
.
setStatus
(
1
);
}
}
//处理当天完全没打卡的数据
if
(
ash
.
getIsdk
()
==
1
&&
b
.
after
(
tt
)
&&
dkcs
==
0
)
{
dkjl
.
setDktime
(
null
);
dkjl
.
setStatus
(
17
);
//缺卡
dkjl
.
setSort
(
ash
.
getSort
());
dkjl
.
setId
(
888
);
//更新打卡关闭
ash
.
setIsupdate
(
0
);
}
//
if
(
ash
.
getIsdk
()
==
1
&&
b
.
after
(
tt
)
&&
dkjl
.
getDktime
()
==
null
&&
dkjl
.
getId
()
==
null
&&
dkcs
>
0
)
{
dkjl
.
setStatus
(
17
);
//缺卡
dkjl
.
setSort
(
ash
.
getSort
());
dkjl
.
setId
(
888
);
//更新打卡关闭
ash
.
setIsupdate
(
0
);
}
/****/
...
...
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