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
e9b91754
Commit
e9b91754
authored
Dec 01, 2020
by
Administrator
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into 'master'
Develop See merge request 8timerv2/8timerapiv200!557
parents
18f78eb9
625e6200
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
9 deletions
+11
-9
pom.xml
+8
-6
src/main/java/cn/timer/api/controller/kqgl/atttimer/AttendanceTaskTiming.java
+2
-2
src/main/java/cn/timer/api/controller/kqgl/atttimer/LastMonthtimingExport.java
+1
-1
No files found.
pom.xml
View file @
e9b91754
...
@@ -217,22 +217,24 @@
...
@@ -217,22 +217,24 @@
</dependency> -->
</dependency> -->
<!-- redis starter spring boot 与redis应用基本环境配置 -->
<!-- redis starter spring boot 与redis应用基本环境配置 -->
<dependency>
<
!-- <
dependency>
<groupId>org.springframework.boot</groupId>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
<artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>
</dependency> -->
<!-- https://mvnrepository.com/artifact/org.springframework.session/spring-session-data-redis -->
<!-- https://mvnrepository.com/artifact/org.springframework.session/spring-session-data-redis -->
<!--spring session 与redis应用基本环境配置,需要开启redis后才可以使用,不然启动Spring boot会报错 -->
<!--spring session 与redis应用基本环境配置,需要开启redis后才可以使用,不然启动Spring boot会报错 -->
<dependency>
<
!-- <
dependency>
<groupId>org.springframework.session</groupId>
<groupId>org.springframework.session</groupId>
<artifactId>spring-session-data-redis</artifactId>
<artifactId>spring-session-data-redis</artifactId>
</dependency>
</dependency> -->
<!--jedis -->
<!--jedis -->
<dependency>
<
!-- <
dependency>
<groupId>redis.clients</groupId>
<groupId>redis.clients</groupId>
<artifactId>jedis</artifactId>
<artifactId>jedis</artifactId>
<version>2.9.0</version>
<version>2.9.0</version>
</dependency>
</dependency>
-->
...
...
src/main/java/cn/timer/api/controller/kqgl/atttimer/AttendanceTaskTiming.java
View file @
e9b91754
...
@@ -101,7 +101,7 @@ public class AttendanceTaskTiming{
...
@@ -101,7 +101,7 @@ public class AttendanceTaskTiming{
//typeid:1-员工 2-考勤组
//typeid:1-员工 2-考勤组
// @Scheduled(cron = "0 */5 * * * ?")
// @Scheduled(cron = "0 */5 * * * ?")
// @Scheduled(cron = "0 1
9 18
* * ?")
// @Scheduled(cron = "0 1
8 15
* * ?")
@Scheduled
(
cron
=
"0 0 8,12,16,20 * * ?"
)
//每天上午8、12点,下午16点,20点 执行
@Scheduled
(
cron
=
"0 0 8,12,16,20 * * ?"
)
//每天上午8、12点,下午16点,20点 执行
public
void
AttendanceTask
()
throws
ParseException
{
public
void
AttendanceTask
()
throws
ParseException
{
...
@@ -823,7 +823,7 @@ public class AttendanceTaskTiming{
...
@@ -823,7 +823,7 @@ public class AttendanceTaskTiming{
rowData
.
add
(
"未排班"
);
rowData
.
add
(
"未排班"
);
}
}
}
}
System
.
err
.
print
(
"该员工未加入考勤组"
);
System
.
err
.
print
(
user
.
getEmpnum
()+
"该员工未加入考勤组"
);
}
}
String
[]
range1
=
ClockInTool
.
listToString
(
rowData
).
split
(
";"
);
String
[]
range1
=
ClockInTool
.
listToString
(
rowData
).
split
(
";"
);
...
...
src/main/java/cn/timer/api/controller/kqgl/atttimer/LastMonthtimingExport.java
View file @
e9b91754
...
@@ -824,7 +824,7 @@ public class LastMonthtimingExport {
...
@@ -824,7 +824,7 @@ public class LastMonthtimingExport {
rowData
.
add
(
"未排班"
);
rowData
.
add
(
"未排班"
);
}
}
}
}
System
.
err
.
print
(
"该员工未加入考勤组"
);
System
.
err
.
print
(
user
.
getEmpnum
()+
"该员工未加入考勤组"
);
}
}
String
[]
range1
=
ClockInTool
.
listToString
(
rowData
).
split
(
";"
);
String
[]
range1
=
ClockInTool
.
listToString
(
rowData
).
split
(
";"
);
...
...
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