Commit 70365cc9 by manxiaoqiang

app排序

parent be830d66
......@@ -79,6 +79,8 @@ public class AccountTask {
account4Web.setIoStatus(false);
account4Web.setStatus("流量用尽");
}
}else if(account4Web.getIo().doubleValue() != 0){
account4Web.setIoStatus(true);
}
if((account4Web.getTrack().doubleValue() != 0) && (null != account4Web.getTrackLimit())){
if((account4Web.getTrack().doubleValue() / account4Web.getTrackLimit().doubleValue()) > f){
......
......@@ -12,7 +12,7 @@
<bean id="tkioAccountTask" class="tkio.task.AccountTask"></bean>
<task:scheduled-tasks>
<!--//定时同步短链数据(每5分钟执行一次)-->
<task:scheduled ref="tkioAccountTask" method="task" cron="0 10 0 * * ?"/>
<task:scheduled ref="tkioAccountTask" method="task" cron="0 50 7 * * ?"/>
</task:scheduled-tasks>
<bean id="tkioNoticeTask" class="tkio.task.NoticeTask"></bean>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment