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
4dbeecfe
Commit
4dbeecfe
authored
6 years ago
by
manxiaoqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2
parent
1e9950fa
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
257 additions
and
168 deletions
+257
-168
workspace.xml
.idea/workspace.xml
+196
-112
pom.xml
pom.xml
+4
-0
AccountFlowRestrictServiceImpl.java
...ava/tkio/service/impl/AccountFlowRestrictServiceImpl.java
+45
-45
TkioAccountServiceImpl.java
src/main/java/tkio/service/impl/TkioAccountServiceImpl.java
+5
-1
AccountCheck.java
src/main/java/tkio/task/AccountCheck.java
+1
-5
AccountTask.java
src/main/java/tkio/task/AccountTask.java
+2
-1
applicationContext-schedule.xml
src/main/resources/spring/applicationContext-schedule.xml
+4
-4
No files found.
.idea/workspace.xml
View file @
4dbeecfe
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"e2e217e2-2dd6-4c6f-ad19-b1cba46bc7ad"
name=
"Default"
comment=
""
>
<list
default=
"true"
id=
"e2e217e2-2dd6-4c6f-ad19-b1cba46bc7ad"
name=
"Default"
comment=
"
2
"
>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/java/tkio/controller/TkioAccountController.java"
afterPath=
"$PROJECT_DIR$/src/main/java/tkio/controller/TkioAccountController.java"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/java/userio/controller/IoAccountController.java"
afterPath=
"$PROJECT_DIR$/src/main/java/userio/controller/IoAccountController.java"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/pom.xml"
afterPath=
"$PROJECT_DIR$/pom.xml"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/java/tkio/service/impl/AccountFlowRestrictServiceImpl.java"
afterPath=
"$PROJECT_DIR$/src/main/java/tkio/service/impl/AccountFlowRestrictServiceImpl.java"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/java/tkio/service/impl/TkioAccountServiceImpl.java"
afterPath=
"$PROJECT_DIR$/src/main/java/tkio/service/impl/TkioAccountServiceImpl.java"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/java/tkio/task/AccountCheck.java"
afterPath=
"$PROJECT_DIR$/src/main/java/tkio/task/AccountCheck.java"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/java/tkio/task/AccountTask.java"
afterPath=
"$PROJECT_DIR$/src/main/java/tkio/task/AccountTask.java"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/resources/spring/applicationContext-schedule.xml"
afterPath=
"$PROJECT_DIR$/src/main/resources/spring/applicationContext-schedule.xml"
/>
</list>
<ignored
path=
"$PROJECT_DIR$/target/"
/>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
...
...
@@ -36,14 +40,94 @@
<file
leaf-file-name=
"TkioAccountController.java"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/tkio/controller/TkioAccountController.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"322"
>
<caret
line=
"98"
column=
"166"
lean-forward=
"false"
selection-start-line=
"98"
selection-start-column=
"166"
selection-end-line=
"98"
selection-end-column=
"166"
/>
<state
relative-caret-position=
"368"
>
<caret
line=
"31"
column=
"54"
lean-forward=
"false"
selection-start-line=
"31"
selection-start-column=
"54"
selection-end-line=
"31"
selection-end-column=
"54"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"pom.xml"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/pom.xml"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1863"
>
<caret
line=
"186"
column=
"29"
lean-forward=
"false"
selection-start-line=
"186"
selection-start-column=
"21"
selection-end-line=
"186"
selection-end-column=
"29"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"applicationContext-schedule.xml"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/resources/spring/applicationContext-schedule.xml"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"115"
>
<caret
line=
"14"
column=
"82"
lean-forward=
"true"
selection-start-line=
"14"
selection-start-column=
"82"
selection-end-line=
"14"
selection-end-column=
"82"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"AccountTask.java"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/tkio/task/AccountTask.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"168"
>
<caret
line=
"81"
column=
"142"
lean-forward=
"false"
selection-start-line=
"81"
selection-start-column=
"138"
selection-end-line=
"81"
selection-end-column=
"142"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"AccountFlowRestrictServiceImpl.java"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/tkio/service/impl/AccountFlowRestrictServiceImpl.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"12"
>
<caret
line=
"182"
column=
"17"
lean-forward=
"true"
selection-start-line=
"182"
selection-start-column=
"17"
selection-end-line=
"182"
selection-end-column=
"17"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"AccountCheck.java"
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/tkio/task/AccountCheck.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"230"
>
<caret
line=
"32"
column=
"40"
lean-forward=
"false"
selection-start-line=
"32"
selection-start-column=
"40"
selection-end-line=
"32"
selection-end-column=
"40"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"AccountFlowRestrictService.java"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/tkio/service/AccountFlowRestrictService.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"230"
>
<caret
line=
"12"
column=
"24"
lean-forward=
"false"
selection-start-line=
"12"
selection-start-column=
"24"
selection-end-line=
"12"
selection-end-column=
"24"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"TkioAccountService.java"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/tkio/service/TkioAccountService.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"183"
>
<caret
line=
"11"
column=
"24"
lean-forward=
"false"
selection-start-line=
"11"
selection-start-column=
"24"
selection-end-line=
"11"
selection-end-column=
"24"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"TkioAccountServiceImpl.java"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/tkio/service/impl/TkioAccountServiceImpl.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"207"
>
<caret
line=
"92"
column=
"16"
lean-forward=
"false"
selection-start-line=
"92"
selection-start-column=
"16"
selection-end-line=
"92"
selection-end-column=
"72"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"IoAccountController.java"
pinned=
"false"
current-in-tab=
"
tru
e"
>
<file
leaf-file-name=
"IoAccountController.java"
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/userio/controller/IoAccountController.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"206"
>
...
...
@@ -65,8 +149,6 @@
</component>
<component
name=
"FindInProjectRecents"
>
<findStrings>
<find>
officeEntityManagerFactory
</find>
<find>
officeTransactionManager
</find>
<find>
jpa
</find>
<find>
jdbc:mysql://tkio.cma5jkozme68.rds.cn-north-1.amazonaws.com.cn:3306
</find>
<find>
label
</find>
...
...
@@ -95,6 +177,8 @@
<find>
ale
</find>
<find>
llo
</find>
<find>
packageType
</find>
<find>
ThisMonthIOFlow
</find>
<find>
IOLimit
</find>
</findStrings>
<replaceStrings>
<replace
/>
...
...
@@ -148,25 +232,25 @@
<option
value=
"$PROJECT_DIR$/src/main/java/userio/repository/IOAccountRepository.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/userio/task/IOAccountCheck.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/controller/ContractController.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/tkio/service/impl/AccountFlowRestrictServiceImpl.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/service/impl/UserServiceImpl.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/model/Contract.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/tkio/task/AccountTask.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/userio/task/IOAccountTask.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/model/IOAccount4Web.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/userio/service/impl/IOAccountServiceImpl.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/userio/service/IOAccountService.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/userio/repository/IOSalesManLeaderRepository.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/resources/spring/applicationContext-schedule.xml"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/repository/IOAccount4WebRepository.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/tkio/task/AccountCheck.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/service/impl/ContractServiceImpl.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/model/Account4Web.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/repository/ContractRepository.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/tkio/service/impl/TkioAccountServiceImpl.java"
/>
<option
value=
"$PROJECT_DIR$/pom.xml"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/tkio/controller/TkioAccountController.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/userio/controller/IoAccountController.java"
/>
<option
value=
"$PROJECT_DIR$/pom.xml"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/tkio/task/AccountCheck.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/tkio/service/impl/TkioAccountServiceImpl.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/tkio/task/AccountTask.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/resources/spring/applicationContext-schedule.xml"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/tkio/service/impl/AccountFlowRestrictServiceImpl.java"
/>
</list>
</option>
</component>
...
...
@@ -642,6 +726,10 @@
<option
name=
"myItemId"
value=
"tkio"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"task"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
...
...
@@ -668,10 +756,6 @@
<option
name=
"myItemId"
value=
"tkio"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"controller"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
...
...
@@ -1207,13 +1291,6 @@
<workItem
from=
"1523843445576"
duration=
"7238000"
/>
<workItem
from=
"1523876594256"
duration=
"75800000"
/>
</task>
<task
id=
"LOCAL-00087"
summary=
"app排序"
>
<created>
1517903299623
</created>
<option
name=
"number"
value=
"00087"
/>
<option
name=
"presentableId"
value=
"LOCAL-00087"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1517903299623
</updated>
</task>
<task
id=
"LOCAL-00088"
summary=
"显示"
>
<created>
1517904035185
</created>
<option
name=
"number"
value=
"00088"
/>
...
...
@@ -1550,11 +1627,18 @@
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1524735361673
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"136"
/>
<task
id=
"LOCAL-00136"
summary=
"2 "
>
<created>
1524736424789
</created>
<option
name=
"number"
value=
"00136"
/>
<option
name=
"presentableId"
value=
"LOCAL-00136"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1524736424789
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"137"
/>
<servers
/>
</component>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"5
08086
000"
/>
<option
name=
"totallyTimeSpent"
value=
"5
17681
000"
/>
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"-8"
y=
"-8"
width=
"1382"
height=
"744"
extended-state=
"6"
/>
...
...
@@ -1578,7 +1662,7 @@
<window_info
id=
"Image Layers"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"3"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Java Enterprise"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"1"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Capture Analysis"
active=
"false"
anchor=
"right"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"5"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Run"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.
3764321
"
sideWeight=
"0.49016643"
order=
"9"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Run"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.
4140753
"
sideWeight=
"0.49016643"
order=
"9"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Version Control"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.5155483"
sideWeight=
"0.49546143"
order=
"2"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Spring"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.3289689"
sideWeight=
"0.5"
order=
"3"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Terminal"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.5581015"
sideWeight=
"0.5"
order=
"5"
side_tool=
"false"
content_ui=
"tabs"
/>
...
...
@@ -1710,14 +1794,6 @@
<option
name=
"FILTER_TARGETS"
value=
"false"
/>
</component>
<component
name=
"editorHistoryManager"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/track/service/impl/TrackAccountServiceImpl.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"183"
>
<caret
line=
"309"
column=
"71"
lean-forward=
"true"
selection-start-line=
"309"
selection-start-column=
"71"
selection-end-line=
"309"
selection-end-column=
"71"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"jar://E:/Java/jdk1.8.0_65/src.zip!/java/util/Map.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"194"
>
...
...
@@ -1843,14 +1919,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/tkio/service/impl/AccountFlowRestrictServiceImpl.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"380"
>
<caret
line=
"223"
column=
"34"
lean-forward=
"false"
selection-start-line=
"223"
selection-start-column=
"34"
selection-end-line=
"223"
selection-end-column=
"34"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"jar://E:/Java/jdk1.8.0_65/src.zip!/java/util/ResourceBundle.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"194"
>
...
...
@@ -1878,14 +1946,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/tkio/service/AccountFlowRestrictService.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"230"
>
<caret
line=
"12"
column=
"24"
lean-forward=
"false"
selection-start-line=
"12"
selection-start-column=
"24"
selection-end-line=
"12"
selection-end-column=
"24"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/controller/UserController.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"263"
>
...
...
@@ -1942,14 +2002,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/tkio/task/AccountTask.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"433"
>
<caret
line=
"77"
column=
"75"
lean-forward=
"false"
selection-start-line=
"77"
selection-start-column=
"60"
selection-end-line=
"77"
selection-end-column=
"75"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/controller/ContractController.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"191"
>
...
...
@@ -1966,22 +2018,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/tkio/service/TkioAccountService.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"366"
>
<caret
line=
"54"
column=
"9"
lean-forward=
"false"
selection-start-line=
"54"
selection-start-column=
"9"
selection-end-line=
"54"
selection-end-column=
"9"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/tkio/repository/AccountRepository.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"115"
>
<caret
line=
"13"
column=
"17"
lean-forward=
"false"
selection-start-line=
"13"
selection-start-column=
"17"
selection-end-line=
"13"
selection-end-column=
"17"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"jar://$MAVEN_REPOSITORY$/org/springframework/data/spring-data-commons/1.5.1.RELEASE/spring-data-commons-1.5.1.RELEASE.jar!/org/springframework/data/repository/CrudRepository.class"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"184"
>
...
...
@@ -1990,14 +2026,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/resources/spring/applicationContext-schedule.xml"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"292"
>
<caret
line=
"62"
column=
"56"
lean-forward=
"true"
selection-start-line=
"62"
selection-start-column=
"56"
selection-end-line=
"62"
selection-end-column=
"56"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/userio/service/IOAccountService.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"183"
>
...
...
@@ -2027,7 +2055,7 @@
<state
relative-caret-position=
"366"
>
<caret
line=
"19"
column=
"47"
lean-forward=
"false"
selection-start-line=
"19"
selection-start-column=
"47"
selection-end-line=
"19"
selection-end-column=
"47"
/>
<folding>
<element
signature=
"imports"
expanded=
"
tru
e"
/>
<element
signature=
"imports"
expanded=
"
fals
e"
/>
</folding>
</state>
</provider>
...
...
@@ -2048,14 +2076,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/tkio/task/AccountCheck.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"184"
>
<caret
line=
"21"
column=
"4"
lean-forward=
"false"
selection-start-line=
"21"
selection-start-column=
"4"
selection-end-line=
"21"
selection-end-column=
"85"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/model/Account4Web.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"183"
>
...
...
@@ -2085,14 +2105,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/tkio/service/impl/TkioAccountServiceImpl.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"91"
>
<caret
line=
"197"
column=
"61"
lean-forward=
"false"
selection-start-line=
"197"
selection-start-column=
"61"
selection-end-line=
"197"
selection-end-column=
"61"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/service/impl/ContractServiceImpl.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"230"
>
...
...
@@ -2109,34 +2121,106 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
pom.xml
"
>
<entry
file=
"file://$PROJECT_DIR$/
src/main/java/tkio/service/impl/AccountServiceImpl.java
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
805
"
>
<caret
line=
"
66"
column=
"51"
lean-forward=
"false"
selection-start-line=
"66"
selection-start-column=
"51"
selection-end-line=
"66"
selection-end-column=
"51
"
/>
<state
relative-caret-position=
"
299
"
>
<caret
line=
"
25"
column=
"19"
lean-forward=
"false"
selection-start-line=
"25"
selection-start-column=
"19"
selection-end-line=
"25"
selection-end-column=
"19
"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/
tkio/service/impl/AccountServiceImpl
.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/
userio/controller/IoAccountController
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"299"
>
<caret
line=
"25"
column=
"19"
lean-forward=
"false"
selection-start-line=
"25"
selection-start-column=
"19"
selection-end-line=
"25"
selection-end-column=
"19"
/>
<state
relative-caret-position=
"206"
>
<caret
line=
"37"
column=
"123"
lean-forward=
"false"
selection-start-line=
"37"
selection-start-column=
"123"
selection-end-line=
"37"
selection-end-column=
"123"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/controller/LoginController.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-531"
>
<caret
line=
"27"
column=
"11"
lean-forward=
"true"
selection-start-line=
"27"
selection-start-column=
"11"
selection-end-line=
"27"
selection-end-column=
"11"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/tkio/controller/TkioAccountController.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"3
22
"
>
<caret
line=
"
98"
column=
"166"
lean-forward=
"false"
selection-start-line=
"98"
selection-start-column=
"166"
selection-end-line=
"98"
selection-end-column=
"166
"
/>
<state
relative-caret-position=
"3
68
"
>
<caret
line=
"
31"
column=
"54"
lean-forward=
"false"
selection-start-line=
"31"
selection-start-column=
"54"
selection-end-line=
"31"
selection-end-column=
"54
"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/
userio/controller/IoAccountController
.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/
tkio/service/TkioAccountService
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"206"
>
<caret
line=
"37"
column=
"123"
lean-forward=
"false"
selection-start-line=
"37"
selection-start-column=
"123"
selection-end-line=
"37"
selection-end-column=
"123"
/>
<state
relative-caret-position=
"183"
>
<caret
line=
"11"
column=
"24"
lean-forward=
"false"
selection-start-line=
"11"
selection-start-column=
"24"
selection-end-line=
"11"
selection-end-column=
"24"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/tkio/service/impl/TkioAccountServiceImpl.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"207"
>
<caret
line=
"92"
column=
"16"
lean-forward=
"false"
selection-start-line=
"92"
selection-start-column=
"16"
selection-end-line=
"92"
selection-end-column=
"72"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/tkio/repository/AccountRepository.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"194"
>
<caret
line=
"22"
column=
"18"
lean-forward=
"false"
selection-start-line=
"22"
selection-start-column=
"18"
selection-end-line=
"22"
selection-end-column=
"18"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/tkio/service/AccountFlowRestrictService.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"230"
>
<caret
line=
"12"
column=
"24"
lean-forward=
"false"
selection-start-line=
"12"
selection-start-column=
"24"
selection-end-line=
"12"
selection-end-column=
"24"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/pom.xml"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1863"
>
<caret
line=
"186"
column=
"29"
lean-forward=
"false"
selection-start-line=
"186"
selection-start-column=
"21"
selection-end-line=
"186"
selection-end-column=
"29"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/tkio/task/AccountTask.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"168"
>
<caret
line=
"81"
column=
"142"
lean-forward=
"false"
selection-start-line=
"81"
selection-start-column=
"138"
selection-end-line=
"81"
selection-end-column=
"142"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/resources/spring/applicationContext-schedule.xml"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"115"
>
<caret
line=
"14"
column=
"82"
lean-forward=
"true"
selection-start-line=
"14"
selection-start-column=
"82"
selection-end-line=
"14"
selection-end-column=
"82"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/tkio/service/impl/AccountFlowRestrictServiceImpl.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"12"
>
<caret
line=
"182"
column=
"17"
lean-forward=
"true"
selection-start-line=
"182"
selection-start-column=
"17"
selection-end-line=
"182"
selection-end-column=
"17"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/tkio/task/AccountCheck.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"230"
>
<caret
line=
"32"
column=
"40"
lean-forward=
"false"
selection-start-line=
"32"
selection-start-column=
"40"
selection-end-line=
"32"
selection-end-column=
"40"
/>
<folding
/>
</state>
</provider>
...
...
This diff is collapsed.
Click to expand it.
pom.xml
View file @
4dbeecfe
...
...
@@ -182,6 +182,10 @@
<dmp.username>
trackingio
</dmp.username>
<dmp.password>
trackingio
</dmp.password>
<io.url>
jdbc:mysql://tkio.cma5jkozme68.rds.cn-north-1.amazonaws.com.cn:3306/userio?characterEncoding=utf-8
</io.url>
<io.username>
reyun
</io.username>
<io.password>
Reyun123
</io.password>
<mail.host>
smtp.exmail.qq.com
</mail.host>
<mail.username>
manager@reyun.com
</mail.username>
<mail.password>
Reyun123
</mail.password>
...
...
This diff is collapsed.
Click to expand it.
src/main/java/tkio/service/impl/AccountFlowRestrictServiceImpl.java
View file @
4dbeecfe
...
...
@@ -102,33 +102,33 @@ public class AccountFlowRestrictServiceImpl implements AccountFlowRestrictServic
// DecimalFormat decimalFormat = new DecimalFormat("0%");
//String trackRemainPercent1 = decimalFormat.format(trackRemainPercent);
String
IOBeginTime
=
(
isNotifiedObject
!=
null
&&
isNotifiedObject
.
getThisMonthUpgradeLevel
()
!=
null
&&
isNotifiedObject
.
getThisMonthUpgradeLevel
())
?
rootAccount
.
getModifyPricelevelTime
()
:
firstDayOfThisMonth
;
BigInteger
lastMonthEventNum
=
new
BigInteger
(
"0"
);
BigInteger
thisMonthEventNum
=
new
BigInteger
(
"0"
);
BigInteger
lastThreeDaysEventNum
=
new
BigInteger
(
"0"
);
if
(
apps
.
size
()>
0
){
lastMonthEventNum
=
getTotalNum
(
firstDayOfLastMonth
,
lastDayOfLastMonth
,
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"
);
}
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
())
{
lastMonthExceedNum
=
new
BigInteger
(
"0"
);
}
double
v
=
packageType
.
getIoFlow
().
doubleValue
()
*
1
-
lastMonthExceedNum
.
doubleValue
();
DecimalFormat
decimalFormat1
=
new
DecimalFormat
(
"0"
);
String
format
=
decimalFormat1
.
format
(
v
);
BigInteger
thisMonthAvailableTotalFlow
=
new
BigInteger
(
format
);
BigInteger
thisMonthRemainingFlow
=
thisMonthAvailableTotalFlow
.
subtract
(
thisMonthEventNum
);
int
IORemainDays
=
-
1
;
if
(
lastThreeDaysEventNum
.
compareTo
(
new
BigInteger
(
"1"
))
==
1
)
{
IORemainDays
=
(
int
)
(
Math
.
floor
(
Double
.
valueOf
(
thisMonthRemainingFlow
.
divide
(
lastThreeDaysEventNum
.
divide
(
new
BigInteger
(
"3"
))).
toString
())));
}
double
ioRemainPercent
=
thisMonthRemainingFlow
.
doubleValue
()
/
thisMonthAvailableTotalFlow
.
doubleValue
();
//
//
String IOBeginTime = (isNotifiedObject != null && isNotifiedObject.getThisMonthUpgradeLevel() != null && isNotifiedObject.getThisMonthUpgradeLevel()) ? rootAccount.getModifyPricelevelTime() : firstDayOfThisMonth;
//
//
//
BigInteger lastMonthEventNum=new BigInteger("0");
//
BigInteger thisMonthEventNum=new BigInteger("0");
//
BigInteger lastThreeDaysEventNum=new BigInteger("0");
//
if(apps.size()>0){
//
lastMonthEventNum = getTotalNum(firstDayOfLastMonth, lastDayOfLastMonth, 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");
//
}
//
//
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()) {
//
lastMonthExceedNum = new BigInteger("0");
//
}
//
double v = packageType.getIoFlow().doubleValue() * 1 - lastMonthExceedNum.doubleValue();
//
DecimalFormat decimalFormat1 = new DecimalFormat("0");
//
String format = decimalFormat1.format(v);
//
BigInteger thisMonthAvailableTotalFlow = new BigInteger(format);
//
BigInteger thisMonthRemainingFlow = thisMonthAvailableTotalFlow.subtract(thisMonthEventNum);
//
int IORemainDays = -1;
//
if (lastThreeDaysEventNum.compareTo(new BigInteger("1")) == 1) {
//
IORemainDays = (int) (Math.floor(Double.valueOf(thisMonthRemainingFlow.divide(lastThreeDaysEventNum.divide(new BigInteger("3"))).toString())));
//
}
//
double ioRemainPercent = thisMonthRemainingFlow.doubleValue() / thisMonthAvailableTotalFlow.doubleValue();
//String ioRemainPercent1 = decimalFormat.format(ioRemainPercent);
BigInteger
num
=
incrementFlowRepository
.
listByRootAccount
(
accountId
,
DateUtil
.
getBeforeDays
(
0
));
...
...
@@ -144,14 +144,14 @@ public class AccountFlowRestrictServiceImpl implements AccountFlowRestrictServic
accountRestrict4Web
.
setOriginalName
(
packageType
.
getOriginalName
());
accountRestrict4Web
.
setIOLimit
(
packageType
.
getIoFlow
());
accountRestrict4Web
.
setTrackLimit
(
trackNum
);
accountRestrict4Web
.
setThisMonthIOFlow
(
thisMonthEventNum
);
accountRestrict4Web
.
setThisMonthIOFlow
(
new
BigInteger
(
"0"
)
);
accountRestrict4Web
.
setTrackTotalFlow
(
clickNum
);
accountRestrict4Web
.
setAccountId
(
rootParent
);
accountRestrict4Web
.
setPriceLevel
(
rootAccount
.
getPricelevel
().
intValue
());
accountRestrict4Web
.
setLastMonthIOFlow
(
lastMonthEventNum
);
accountRestrict4Web
.
setIORemainPercent
(
ioRemainPercent
);
accountRestrict4Web
.
setLastMonthIOFlow
(
new
BigInteger
(
"0"
)
);
accountRestrict4Web
.
setIORemainPercent
(
0
d
);
//accountRestrict4Web.setTrackRemainPercent(trackRemainPercent);
accountRestrict4Web
.
setiOremainingDays
(
IORemainDays
);
//accountRestrict4Web.setiOremainingDays(0
);
//accountRestrict4Web.setTrackRemainingDays(trackRemainDays);
accountRestrict4Web
.
setPackLevel
(
new
Long
(
packageType
.
getId
()));
accountRestrict4Web
.
setFlowRestrict
(
flowRestrict
);
...
...
@@ -175,31 +175,31 @@ public class AccountFlowRestrictServiceImpl implements AccountFlowRestrictServic
boolean
tenPercent
=
(
trackNum
.
doubleValue
()
*
0.9
<=
clickNum
.
doubleValue
())
&&
(
trackNum
.
doubleValue
()
*
0.95
>
clickNum
.
doubleValue
());
boolean
exPercent
=
trackNum
.
doubleValue
()
<=
clickNum
.
doubleValue
();
if
(
exPercent
)
{
ioFlag
=
false
;
ioStatus
=
false
;
}
else
if
(
tenPercent
&&
(
isNotifiedObject
.
getTrackTenPercentNotified
()
==
null
||
!
isNotifiedObject
.
getTrackTenPercentNotified
()))
{
ioStatus
=
false
;
}
}
if
(
isIOProduct
)
{
boolean
tenPercent
=
(
thisMonthAvailableTotalFlow
.
doubleValue
()
*
0.9
<=
thisMonthEventNum
.
doubleValue
())
&&
(
thisMonthAvailableTotalFlow
.
doubleValue
()
*
0.95
>
thisMonthEventNum
.
doubleValue
());
boolean
exPercent
=
thisMonthAvailableTotalFlow
.
doubleValue
()
*
1
<=
thisMonthEventNum
.
doubleValue
();
if
(
exPercent
)
{
trackFlag
=
false
;
trackStatus
=
false
;
}
else
if
(
tenPercent
&&
(
isNotifiedObject
.
getIoTenPercentNotified
()
==
null
||
!
isNotifiedObject
.
getIoTenPercentNotified
()))
{
trackFlag
=
false
;
}
else
if
(
tenPercent
&&
(
isNotifiedObject
.
getTrackTenPercentNotified
()
==
null
||
!
isNotifiedObject
.
getTrackTenPercentNotified
()))
{
trackStatus
=
false
;
}
}
// if (isIOProduct) {
// boolean tenPercent = (thisMonthAvailableTotalFlow.doubleValue() * 0.9 <= thisMonthEventNum.doubleValue()) && (thisMonthAvailableTotalFlow.doubleValue() * 0.95 > thisMonthEventNum.doubleValue());
// boolean exPercent = thisMonthAvailableTotalFlow.doubleValue() * 1 <= thisMonthEventNum.doubleValue();
// if (exPercent) {
// trackFlag = false;
// trackStatus = false;
// }else if (tenPercent && (isNotifiedObject.getIoTenPercentNotified() == null || !isNotifiedObject.getIoTenPercentNotified())) {
// trackStatus = false;
// }
// }
//是否流量用尽
if
(
trackFlag
){
accountRestrict4Web
.
setIOFlowNotified
(
false
);
}
else
{
accountRestrict4Web
.
setIOFlowNotified
(
true
);
}
accountRestrict4Web
.
setAllowBehavior
(
ioStatus
);
accountRestrict4Web
.
setAllowBehavior
(
false
);
accountRestrict4Web
.
setTrackFlowNotified
(
trackStatus
);
}
...
...
This diff is collapsed.
Click to expand it.
src/main/java/tkio/service/impl/TkioAccountServiceImpl.java
View file @
4dbeecfe
...
...
@@ -88,10 +88,14 @@ public class TkioAccountServiceImpl implements TkioAccountService {
Map
<
String
,
Object
>
map
=
new
HashMap
();
String
email
=
null
;
if
(
null
!=
sale
){
SalesManLeader
one
=
salesManLeaderRepository
.
findOne
(
Integer
.
parseInt
(
sale
+
""
));
try
{
SalesManLeader
one
=
salesManLeaderRepository
.
findOne
(
Integer
.
parseInt
(
sale
+
""
));
User
user1
=
userRepository
.
findByEmail
(
one
.
getEmail
());
if
(
null
!=
user1
)
map
.
put
(
"old"
,
user1
.
getName
());
}
catch
(
Exception
e
){
logger
.
error
(
e
.
getMessage
(),
e
);
}
}
List
<
User
>
list
=
new
ArrayList
<>();
if
(
user
.
getRole
().
equals
(
RoleEnum
.
NORTH_BUSSINUSS
.
getKey
())
||
user
.
getRole
().
equals
(
RoleEnum
.
SOUTH_BUSSINUSS
.
getKey
())){
...
...
This diff is collapsed.
Click to expand it.
src/main/java/tkio/task/AccountCheck.java
View file @
4dbeecfe
...
...
@@ -27,13 +27,11 @@ public class AccountCheck {
public
void
task
(){
List
<
Account
>
accountList
=
accountRepository
.
findRootParentsByPubDate
(
DateUtil
.
getBeforeDays
(
30
));
logger
.
error
(
"startDate :"
+
DateUtil
.
getBeforeDays
(
30
));
logger
.
error
(
"startDate :"
+
accountList
);
logger
.
info
(
"startDate :"
+
DateUtil
.
getBeforeDays
(
30
));
if
(
ValidateUtil
.
isValid
(
accountList
)){
List
<
Account
>
list
=
new
ArrayList
<>();
for
(
Account
a:
accountList
){
List
<
Contract
>
contractList
=
contractRepository
.
findByPlatformAndEmail
(
"tkio"
,
a
.
getEmail
(),
ContractTypeEnum
.
MAIN
.
getKey
());
logger
.
error
(
"startDate :"
+
(
null
==
contractList
));
if
(
null
==
contractList
||
contractList
.
isEmpty
()){
a
.
setStatus
(
0
);
list
.
add
(
a
);
...
...
@@ -43,8 +41,6 @@ public class AccountCheck {
accountRepository
.
save
(
list
);
}
}
}
}
}
This diff is collapsed.
Click to expand it.
src/main/java/tkio/task/AccountTask.java
View file @
4dbeecfe
...
...
@@ -89,7 +89,7 @@ public class AccountTask {
account4Web
.
setTrack
(
restrict4Web
.
getTrackTotalFlow
());
account4Web
.
setIoLimit
(
restrict4Web
.
getIOLimit
());
account4Web
.
setTrackLimit
(
restrict4Web
.
getTrackLimit
());
account4Web
.
setIoStatus
(
restrict4Web
.
getAllowBehavior
()
);
account4Web
.
setIoStatus
(
true
);
account4Web
.
setTrackStatus
(
restrict4Web
.
getTrackFlowNotified
());
// double f = 1.0;
// if((account4Web.getIo().doubleValue() != 0) && (null != account4Web.getIoLimit())){
...
...
@@ -112,6 +112,7 @@ public class AccountTask {
account4Web
.
setStatus
(
"已激活"
);
}
account4Web
.
setIoStatus
(
true
);
if
(
account4Web
.
getTrackStatus
()){
account4Web
.
setStatus
(
"已激活"
);
}
...
...
This diff is collapsed.
Click to expand it.
src/main/resources/spring/applicationContext-schedule.xml
View file @
4dbeecfe
...
...
@@ -12,7 +12,7 @@
<bean
id=
"tkioAccountTask"
class=
"tkio.task.AccountTask"
></bean>
<task:scheduled-tasks>
<!--//定时同步短链数据(每5分钟执行一次)-->
<task:scheduled
ref=
"tkioAccountTask"
method=
"task"
cron=
"0
46
16 * * ?"
/>
<task:scheduled
ref=
"tkioAccountTask"
method=
"task"
cron=
"0
58
16 * * ?"
/>
</task:scheduled-tasks>
<bean
id=
"tkioNoticeTask"
class=
"tkio.task.NoticeTask"
></bean>
...
...
@@ -27,7 +27,7 @@
<bean
id=
"contractTask"
class=
"common.task.ContractTask"
></bean>
<task:scheduled-tasks>
<task:scheduled
ref=
"contractTask"
method=
"task"
cron=
"0 28
17
* * ?"
/>
<task:scheduled
ref=
"contractTask"
method=
"task"
cron=
"0 28
0
* * ?"
/>
</task:scheduled-tasks>
<bean
id=
"trackAccountTask"
class=
"track.task.AccountTask"
></bean>
...
...
@@ -54,13 +54,13 @@
<bean
id=
"ioAccountTaskCheck"
class=
"userio.task.IOAccountCheck"
></bean>
<task:scheduled-tasks>
<!--//定时同步短链数据(每5分钟执行一次)-->
<task:scheduled
ref=
"ioAccountTaskCheck"
method=
"task"
cron=
"0
*/5 *
* * ?"
/>
<task:scheduled
ref=
"ioAccountTaskCheck"
method=
"task"
cron=
"0
10 8
* * ?"
/>
</task:scheduled-tasks>
<bean
id=
"accountTaskCheck"
class=
"tkio.task.AccountCheck"
></bean>
<task:scheduled-tasks>
<!--//定时同步短链数据(每5分钟执行一次)-->
<task:scheduled
ref=
"accountTaskCheck"
method=
"task"
cron=
"0
*/2 *
* * ?"
/>
<task:scheduled
ref=
"accountTaskCheck"
method=
"task"
cron=
"0
10 8
* * ?"
/>
</task:scheduled-tasks>
</beans>
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