Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
manager
Project
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
reyun
manager
Commits
70365cc9
Commit
70365cc9
authored
7 years ago
by
manxiaoqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
app排序
parent
be830d66
master
…
0727_bugfix
1082_bugfix
1151_bugfix
1209_bugfix
1315_bugfix
1439_bugfix
1608_bugfix
1608_from_1619
1619_bugfix
1990_bugfix
20180328_sale
20180411
20180525_adi
20180530_bpu
2578_bugfix
2580_fix
31762_2_bugfix
31762_bugfix
31969_bugfix
32400_fix
32599_bugfix
649_bugfix
back_version
back_version2
bigfix_20201028
bugfix_1608_new
bugfix_1760
bugfix_master_1760
change_double
contract_rela
develper
liushaowei
manager_new
master_mv
mobvista_master
month_flow
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
AccountTask.java
src/main/java/tkio/task/AccountTask.java
+2
-0
applicationContext-schedule.xml
src/main/resources/spring/applicationContext-schedule.xml
+1
-1
No files found.
src/main/java/tkio/task/AccountTask.java
View file @
70365cc9
...
@@ -79,6 +79,8 @@ public class AccountTask {
...
@@ -79,6 +79,8 @@ public class AccountTask {
account4Web
.
setIoStatus
(
false
);
account4Web
.
setIoStatus
(
false
);
account4Web
.
setStatus
(
"流量用尽"
);
account4Web
.
setStatus
(
"流量用尽"
);
}
}
}
else
if
(
account4Web
.
getIo
().
doubleValue
()
!=
0
){
account4Web
.
setIoStatus
(
true
);
}
}
if
((
account4Web
.
getTrack
().
doubleValue
()
!=
0
)
&&
(
null
!=
account4Web
.
getTrackLimit
())){
if
((
account4Web
.
getTrack
().
doubleValue
()
!=
0
)
&&
(
null
!=
account4Web
.
getTrackLimit
())){
if
((
account4Web
.
getTrack
().
doubleValue
()
/
account4Web
.
getTrackLimit
().
doubleValue
())
>
f
){
if
((
account4Web
.
getTrack
().
doubleValue
()
/
account4Web
.
getTrackLimit
().
doubleValue
())
>
f
){
...
...
This diff is collapsed.
Click to expand it.
src/main/resources/spring/applicationContext-schedule.xml
View file @
70365cc9
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
<bean
id=
"tkioAccountTask"
class=
"tkio.task.AccountTask"
></bean>
<bean
id=
"tkioAccountTask"
class=
"tkio.task.AccountTask"
></bean>
<task:scheduled-tasks>
<task:scheduled-tasks>
<!--//定时同步短链数据(每5分钟执行一次)-->
<!--//定时同步短链数据(每5分钟执行一次)-->
<task:scheduled
ref=
"tkioAccountTask"
method=
"task"
cron=
"0
10 0
* * ?"
/>
<task:scheduled
ref=
"tkioAccountTask"
method=
"task"
cron=
"0
50 7
* * ?"
/>
</task:scheduled-tasks>
</task:scheduled-tasks>
<bean
id=
"tkioNoticeTask"
class=
"tkio.task.NoticeTask"
></bean>
<bean
id=
"tkioNoticeTask"
class=
"tkio.task.NoticeTask"
></bean>
...
...
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