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
19ac6002
Commit
19ac6002
authored
Oct 10, 2020
by
leialin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'lal' into 'develop'
提交 See merge request 8timerv2/8timerapiv200!520
parents
7bef7044
6e46355e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/main/java/cn/timer/api/controller/kqgl/atttimer/RealTimeUpdate.java
+4
-3
No files found.
src/main/java/cn/timer/api/controller/kqgl/atttimer/RealTimeUpdate.java
View file @
19ac6002
...
@@ -277,7 +277,7 @@ public class RealTimeUpdate{
...
@@ -277,7 +277,7 @@ public class RealTimeUpdate{
y
=
y
-
1
;
y
=
y
-
1
;
}
}
if
(
attgro
.
getIsFdjjr
().
equals
(
1
))
{
if
(
attgro
.
getIsFdjjr
().
equals
(
1
111
))
{
if
(
Arrays
.
asList
(
holidays
).
contains
(
String
.
valueOf
(
sdf1
.
format
(
date1
)))){
if
(
Arrays
.
asList
(
holidays
).
contains
(
String
.
valueOf
(
sdf1
.
format
(
date1
)))){
y
=
y
-
1
;
y
=
y
-
1
;
jj
++;
jj
++;
...
@@ -327,7 +327,8 @@ public class RealTimeUpdate{
...
@@ -327,7 +327,8 @@ public class RealTimeUpdate{
xxts
=
ClockInTool
.
doChinFilters
(
ClockInTool
.
deleteArrayNull
(
xxts
),
num
);
//为必须上班的话从休息日期中去除
xxts
=
ClockInTool
.
doChinFilters
(
ClockInTool
.
deleteArrayNull
(
xxts
),
num
);
//为必须上班的话从休息日期中去除
}
}
if
(
Arrays
.
binarySearch
(
appmaps
,
num
)
>=
0
)
{
//检查是否存在 无需打卡名单中
if
(
Arrays
.
binarySearch
(
appmaps
,
num
)
>=
0
)
{
//检查是否存在 无需打卡名单中
ycqts
=
ClockInTool
.
doChinFilters
(
ClockInTool
.
deleteArrayNull
(
ycqts
),
num
);
//为必须休息的话从上班日期中去除
ycqts
=
ClockInTool
.
doChinFilters
(
ycqts
,
num
);
//为必须休息的话从上班日期中去除
// ycqts = ClockInTool.doChinFilters(ClockInTool.deleteArrayNull(ycqts), num);//为必须休息的话从上班日期中去除
zjgzts
=
zjgzts
-
1
;
zjgzts
=
zjgzts
-
1
;
String
[]
xxtst
=
new
String
[
xxts
.
length
+
zj
];
String
[]
xxtst
=
new
String
[
xxts
.
length
+
zj
];
...
@@ -340,7 +341,7 @@ public class RealTimeUpdate{
...
@@ -340,7 +341,7 @@ public class RealTimeUpdate{
}
}
//当前考勤组开启法定节假日休息开关
//当前考勤组开启法定节假日休息开关
if
(
attgro
.
getIsFdjjr
().
equals
(
1
))
{
if
(
attgro
.
getIsFdjjr
().
equals
(
1
111
))
{
//法定节假日
//法定节假日
if
(
ClockInTool
.
useArrayUtils
(
holidays
,
num
))
{
//法定节假日沦为休息日计算
if
(
ClockInTool
.
useArrayUtils
(
holidays
,
num
))
{
//法定节假日沦为休息日计算
// ycqts = ClockInTool.doChinFilters(ClockInTool.deleteArrayNull(ycqts), num);//为必须休息的话从上班日期中去除
// ycqts = ClockInTool.doChinFilters(ClockInTool.deleteArrayNull(ycqts), num);//为必须休息的话从上班日期中去除
...
...
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