Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
map-parent
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
map-parent
Commits
22520316
Commit
22520316
authored
Nov 22, 2022
by
宋珺琪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
轨迹接口倒序
parent
02a65e2c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
service/publicapi/src/main/java/com/founder/publicapi/controller/SkDataOperation/SkTrailController.java
+1
-1
service/publicapi/src/main/java/com/founder/publicapi/controller/SkypDesktop/SkypDesktopController.java
+7
-2
No files found.
service/publicapi/src/main/java/com/founder/publicapi/controller/SkDataOperation/SkTrailController.java
View file @
22520316
...
...
@@ -497,7 +497,7 @@ public class SkTrailController extends ApiController implements ExcelControllerI
QueryWrapper
queryWrapper
=
new
QueryWrapper
();
queryWrapper
.
eq
(
"objectType"
,
objectType
);
queryWrapper
.
eq
(
"objectValue"
,
bh
);
queryWrapper
.
orderBy
A
sc
(
"date"
);
queryWrapper
.
orderBy
De
sc
(
"date"
);
queryWrapper
.
eq
(
"isDeleted"
,
"0"
);
return
skTrailService
.
list
(
queryWrapper
);
...
...
service/publicapi/src/main/java/com/founder/publicapi/controller/SkypDesktop/SkypDesktopController.java
View file @
22520316
...
...
@@ -23,6 +23,8 @@ import org.springframework.beans.factory.annotation.Value;
import
org.springframework.scheduling.annotation.Scheduled
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.multipart.MultipartFile
;
import
javax.annotation.PostConstruct
;
import
java.io.IOException
;
import
java.text.ParseException
;
import
java.text.SimpleDateFormat
;
...
...
@@ -317,9 +319,12 @@ public class SkypDesktopController {
}
/**
* 启动后10秒启动,之后每一个小时开始一次
* 启动后一分钟启动,之后每一个小时开始一次
* 每天八点到十点 每半个小时 0 0/30 8-22 * * ?
* 每天的8点开始,2小时执行一次:0 0 8/2 * * ?
* 每个整点执行一次:0 0 0/1 * * ?
*/
@Scheduled
(
initialDelay
=
1
0000
,
fixedDelay
=
1800000
)
@Scheduled
(
initialDelay
=
6
0000
,
fixedDelay
=
1800000
)
public
void
timing
()
throws
ParseException
{
System
.
out
.
println
(
"-----------------------日程定时任务启动"
);
for
(
String
s
:
WebSocketServer
.
map
.
keySet
())
{
...
...
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