Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sunac_report
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
java-sunac-report
sunac_report
Commits
90c0afdf
Commit
90c0afdf
authored
Jul 29, 2019
by
sunxin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop
# Conflicts: # .idea/workspace.xml
parents
0bb4990b
ffdb3181
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
1 deletions
+21
-1
ReportService.java
src/main/java/com/ejweb/modules/report/service/ReportService.java
+0
-1
TimedTask.java
src/main/java/com/ejweb/modules/report/utils/TimedTask.java
+21
-0
ReportController.java
src/main/java/com/ejweb/modules/report/web/ReportController.java
+0
-0
spring-context.xml
src/main/resources/spring-context.xml
+0
-0
spring-context.xml
target/report_sunac/WEB-INF/classes/spring-context.xml
+0
-0
No files found.
src/main/java/com/ejweb/modules/report/service/ReportService.java
View file @
90c0afdf
...
...
@@ -994,7 +994,6 @@ public class ReportService extends CrudService<ReportDao, ReportEntity> {
/**
* 重新跟踪
*
* @param reportEntity
* @return
*/
...
...
src/main/java/com/ejweb/modules/report/utils/TimedTask.java
0 → 100644
View file @
90c0afdf
package
com
.
ejweb
.
modules
.
report
.
utils
;
import
org.springframework.context.annotation.Lazy
;
import
org.springframework.scheduling.annotation.Scheduled
;
import
org.springframework.stereotype.Component
;
import
org.springframework.stereotype.Service
;
/**
* Created by haoqm on 2019/7/18.
*/
@Service
@Lazy
(
false
)
public
class
TimedTask
{
@Scheduled
(
cron
=
"0 0 0 * * ?"
)
//每天晚上12点执行
public
void
job1
()
{
System
.
out
.
println
(
"spring task 注解使用。。。任务进行中(每天下午6点触发)"
);
//获取所有转为线索的举报信息
}
}
src/main/java/com/ejweb/modules/report/web/ReportController.java
View file @
90c0afdf
src/main/resources/spring-context.xml
View file @
90c0afdf
target/report_sunac/WEB-INF/classes/spring-context.xml
View file @
90c0afdf
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