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
d4d90ba5
Commit
d4d90ba5
authored
4 years ago
by
ilal
Committed by
chenzg
3 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
859ae971
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
src/main/java/cn/timer/api/controller/kqgl/ClockInController.java
+3
-3
src/main/java/cn/timer/api/controller/kqgl/atttimer/AttendanceTaskTiming.java
+2
-2
src/main/java/cn/timer/api/controller/kqgl/atttimer/LastMonthtimingExport.java
+2
-2
No files found.
src/main/java/cn/timer/api/controller/kqgl/ClockInController.java
View file @
d4d90ba5
...
...
@@ -2656,7 +2656,7 @@ public class ClockInController {
String
nowattdate
=
yymmdd
+
" "
+
ClockInTool
.
dateToWeek2
(
str
);
//查询当天考勤记录
List
<
KqglAssoDkjl
>
dajllist_
=
kqglassodkjlmapper
.
getDetailedRecordClock
(
startDate
,
endDate
,
userBean
.
getEmpNum
(),
nowattdate
);
List
<
KqglAssoDkjl
>
dajllist_
=
kqglassodkjlmapper
.
getDetailedRecordClock
(
startDate
,
endDate
,
userBean
.
getEmpNum
(),
nowattdate
,
userBean
.
getOrgCode
()
);
if
(
dajllist_
.
size
()
>
0
)
{
dkcs
=
dajllist_
.
size
();
...
...
@@ -2709,7 +2709,7 @@ public class ClockInController {
String
yeboattdate
=
attdate_
+
" "
+
ClockInTool
.
dateToWeek2
(
yesterday
);
//次日查询昨日考勤时 时间范围扩大到 昨日开始到今日结束
List
<
KqglAssoDkjl
>
dajllistbefo
=
kqglassodkjlmapper
.
getDetailedRecordClock
(
startDateyesterday
,
endDate
,
userBean
.
getEmpNum
(),
yeboattdate
);
List
<
KqglAssoDkjl
>
dajllistbefo
=
kqglassodkjlmapper
.
getDetailedRecordClock
(
startDateyesterday
,
endDate
,
userBean
.
getEmpNum
(),
yeboattdate
,
userBean
.
getOrgCode
()
);
List
<
AttSchedule
>
beforeattsch
=
beforeattdate
.
getAttsch
();
...
...
@@ -2954,7 +2954,7 @@ public class ClockInController {
Long
endDateafterday
=
DateUtil
.
getnowEndTime
(
23
,
DateUtil
.
getStringTime
(
afterday
,
"yyyy-MM-dd"
)).
getTime
();
if
(
sb1
==
1
||
xb1
==
1
||
sb2
==
1
||
xb2
==
1
||
sb3
==
1
||
xb3
==
1
)
{
//当天存在次日打卡数据时 查询打卡记录范围应该是:当天的开始到后一天的结束
dajllist_
=
kqglassodkjlmapper
.
getDetailedRecordClock
(
startDate
,
endDateafterday
,
userBean
.
getEmpNum
(),
nowattdate
);
dajllist_
=
kqglassodkjlmapper
.
getDetailedRecordClock
(
startDate
,
endDateafterday
,
userBean
.
getEmpNum
(),
nowattdate
,
userBean
.
getOrgCode
()
);
}
KqglAssoDkjl
dkjl
=
KqglAssoDkjl
.
builder
().
build
();
...
...
This diff is collapsed.
Click to expand it.
src/main/java/cn/timer/api/controller/kqgl/atttimer/AttendanceTaskTiming.java
View file @
d4d90ba5
...
...
@@ -96,8 +96,8 @@ public class AttendanceTaskTiming{
//typeid:1-员工 2-考勤组
// @Scheduled(cron = "0 */5 * * * ?")
// @Scheduled(cron = "0 1
6 17
* * ?")
@Scheduled
(
cron
=
"0 0 8,12,16,20 * * ?"
)
//每天上午8、12点,下午16点,20点 执行
// @Scheduled(cron = "0 1
5 16
* * ?")
//
@Scheduled(cron = "0 0 8,12,16,20 * * ?")//每天上午8、12点,下午16点,20点 执行
public
void
AttendanceTask
()
throws
ParseException
{
boolean
implement
=
true
;
...
...
This diff is collapsed.
Click to expand it.
src/main/java/cn/timer/api/controller/kqgl/atttimer/LastMonthtimingExport.java
View file @
d4d90ba5
...
...
@@ -88,8 +88,8 @@ public class LastMonthtimingExport {
SimpleDateFormat
format
=
new
SimpleDateFormat
(
"yyyy-MM-dd"
);
// @Scheduled(cron = "0 10 17
* * ?")
@Scheduled
(
cron
=
"0 0 4,20 * * ?"
)
//每天上午4点,下午20点 执行
@Scheduled
(
cron
=
"0 6 12
* * ?"
)
//
@Scheduled(cron = "0 0 4,20 * * ?")//每天上午4点,下午20点 执行
public
void
LastMonthtimingAttendanceTask
()
throws
ParseException
{
//获取前月的最后一天
...
...
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