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
9637230e
Commit
9637230e
authored
Apr 27, 2018
by
manxiaoqiang
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2
parent
7d847bc2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
workspace.xml
.idea/workspace.xml
+0
-0
AccountTask.java
src/main/java/tkio/task/AccountTask.java
+9
-5
No files found.
.idea/workspace.xml
View file @
9637230e
This diff is collapsed.
Click to expand it.
src/main/java/tkio/task/AccountTask.java
View file @
9637230e
...
...
@@ -79,7 +79,7 @@ public class AccountTask {
}
try
{
AccountRestrict4Web
restrict4Web
=
accountFlowRestrictService
.
findRestrictByAccount
(
ac
.
getId
());
account4Web
.
setStatus
(
null
==
restrict4Web
.
get
IOFlowNotified
()
?
"已激活"
:
(
restrict4Web
.
getIO
FlowNotified
()
?
"已激活"
:
"流量用尽"
));
account4Web
.
setStatus
(
null
==
restrict4Web
.
get
TrackFlowNotified
()
?
"已激活"
:
(
restrict4Web
.
getTrack
FlowNotified
()
?
"已激活"
:
"流量用尽"
));
account4Web
.
setPackageType
(
restrict4Web
.
getPackageName
());
if
(
ac
.
getPricelevel
().
equals
(
7L
)
||
ac
.
getPricelevel
().
equals
(
8L
)
||
ac
.
getPricelevel
().
equals
(
5L
)
||
ac
.
getPricelevel
().
equals
(
6L
)){
account4Web
.
setIo
(
restrict4Web
.
getThisMonthIOFlow
());
...
...
@@ -110,12 +110,16 @@ public class AccountTask {
if
(
account4Web
.
getTrackLimit
().
doubleValue
()
<=
0
){
account4Web
.
setTrackStatus
(
true
);
account4Web
.
setStatus
(
"已激活"
);
}
// else {
// if(account4Web.getTrack().doubleValue() < account4Web.getTrackLimit().doubleValue()){
// account4Web.setStatus("已激活");
// } else{
// account4Web.setStatus("流量用尽");
// }
// }
account4Web
.
setIoStatus
(
true
);
if
(
account4Web
.
getTrackStatus
()){
account4Web
.
setStatus
(
"已激活"
);
}
}
list
.
add
(
account4Web
);
}
catch
(
Exception
e
){
...
...
manxiaoqiang
@manxiaoqiang
mentioned in commit
4ef329b0
Apr 27, 2018
mentioned in commit
4ef329b0
mentioned in commit 4ef329b0811b80dec43173adbe050b6b68dc6e1f
Toggle commit list
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