Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
saasio
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
saasio
Commits
8d6cfd80
Commit
8d6cfd80
authored
May 28, 2018
by
carrieyzzhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
format
parent
d327cc76
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
saasio.iml
saasio.iml
+0
-0
AccountFlowRestrictServiceImpl.java
...om/reyun/service/impl/AccountFlowRestrictServiceImpl.java
+4
-4
No files found.
saasio.iml
View file @
8d6cfd80
This diff is collapsed.
Click to expand it.
src/main/java/com/reyun/service/impl/AccountFlowRestrictServiceImpl.java
View file @
8d6cfd80
...
@@ -109,10 +109,10 @@ public class AccountFlowRestrictServiceImpl implements AccountFlowRestrictServic
...
@@ -109,10 +109,10 @@ public class AccountFlowRestrictServiceImpl implements AccountFlowRestrictServic
BigInteger
thisMonthEventNum
=
new
BigInteger
(
"0"
);
BigInteger
thisMonthEventNum
=
new
BigInteger
(
"0"
);
BigInteger
lastThreeDaysEventNum
=
new
BigInteger
(
"0"
);
BigInteger
lastThreeDaysEventNum
=
new
BigInteger
(
"0"
);
if
(
apps
.
size
()>
0
){
if
(
apps
.
size
()>
0
){
lastMonthEventNum
=
getTotalNum
(
firstDayOfLastMonth
,
lastDayOfLastMonth
,
appids
,
"account_io_flow_restrict"
,
"event_sum"
);
lastMonthEventNum
=
getTotalNum
(
firstDayOfLastMonth
,
lastDayOfLastMonth
,
appids
,
"account_io_flow_restrict"
,
"event_sum"
);
thisMonthEventNum
=
getTotalNum
(
IOBeginTime
,
currentDateStr
,
appids
,
"account_io_flow_restrict"
,
"event_sum"
);
thisMonthEventNum
=
getTotalNum
(
IOBeginTime
,
currentDateStr
,
appids
,
"account_io_flow_restrict"
,
"event_sum"
);
lastThreeDaysEventNum
=
getTotalNum
(
IOBeginTime
,
currentDateStr
,
appids
,
"account_io_three_days_flow_restrict"
,
"event_sum"
);
lastThreeDaysEventNum
=
getTotalNum
(
IOBeginTime
,
currentDateStr
,
appids
,
"account_io_three_days_flow_restrict"
,
"event_sum"
);
}
}
BigInteger
lastMonthExceedNum
=
(
lastMonthEventNum
.
subtract
(
packageType
.
getIoFlow
()).
compareTo
(
new
BigInteger
(
"0"
))
==
1
)
?
lastMonthEventNum
.
subtract
(
packageType
.
getIoFlow
())
:
new
BigInteger
(
"0"
);
BigInteger
lastMonthExceedNum
=
(
lastMonthEventNum
.
subtract
(
packageType
.
getIoFlow
()).
compareTo
(
new
BigInteger
(
"0"
))
==
1
)
?
lastMonthEventNum
.
subtract
(
packageType
.
getIoFlow
())
:
new
BigInteger
(
"0"
);
if
(
isNotifiedObject
!=
null
&&
isNotifiedObject
.
getThisMonthUpgradeLevel
()
!=
null
&&
isNotifiedObject
.
getThisMonthUpgradeLevel
())
{
if
(
isNotifiedObject
!=
null
&&
isNotifiedObject
.
getThisMonthUpgradeLevel
()
!=
null
&&
isNotifiedObject
.
getThisMonthUpgradeLevel
())
{
...
...
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