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
e45688c9
Commit
e45688c9
authored
Jan 30, 2018
by
manxiaoqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合同
parent
40808c16
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
416 additions
and
252 deletions
+416
-252
workspace.xml
.idea/workspace.xml
+250
-251
AuthorizationInterceptor.java
...n/java/security/interceptor/AuthorizationInterceptor.java
+3
-0
AccountRepository.java
src/main/java/tkio/repository/AccountRepository.java
+1
-1
MeasuresTrackNew.java
src/main/java/track/model/MeasuresTrackNew.java
+68
-0
MeasureRepository.java
src/main/java/track/repository/MeasureRepository.java
+15
-0
TrackAccountFlowRestrictService.java
...n/java/track/service/TrackAccountFlowRestrictService.java
+15
-0
TrackAccountFlowRestrictServiceImpl.java
...ack/service/impl/TrackAccountFlowRestrictServiceImpl.java
+60
-0
AccountTask.java
src/main/java/track/task/AccountTask.java
+4
-0
No files found.
.idea/workspace.xml
View file @
e45688c9
...
@@ -2,8 +2,14 @@
...
@@ -2,8 +2,14 @@
<project
version=
"4"
>
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<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=
""
>
<change
type=
"NEW"
beforePath=
""
afterPath=
"$PROJECT_DIR$/src/main/java/track/model/MeasuresTrackNew.java"
/>
<change
type=
"NEW"
beforePath=
""
afterPath=
"$PROJECT_DIR$/src/main/java/track/repository/MeasureRepository.java"
/>
<change
type=
"NEW"
beforePath=
""
afterPath=
"$PROJECT_DIR$/src/main/java/track/service/TrackAccountFlowRestrictService.java"
/>
<change
type=
"NEW"
beforePath=
""
afterPath=
"$PROJECT_DIR$/src/main/java/track/service/impl/TrackAccountFlowRestrictServiceImpl.java"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/java/security/interceptor/AuthorizationInterceptor.java"
afterPath=
"$PROJECT_DIR$/src/main/java/security/interceptor/AuthorizationInterceptor.java"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/java/security/interceptor/AuthorizationInterceptor.java"
afterPath=
"$PROJECT_DIR$/src/main/java/security/interceptor/AuthorizationInterceptor.java"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/java/tkio/repository/AccountRepository.java"
afterPath=
"$PROJECT_DIR$/src/main/java/tkio/repository/AccountRepository.java"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/java/track/task/AccountTask.java"
afterPath=
"$PROJECT_DIR$/src/main/java/track/task/AccountTask.java"
/>
</list>
</list>
<ignored
path=
"$PROJECT_DIR$/target/"
/>
<ignored
path=
"$PROJECT_DIR$/target/"
/>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
...
@@ -24,132 +30,92 @@
...
@@ -24,132 +30,92 @@
<component
name=
"ExecutionTargetManager"
SELECTED_TARGET=
"default_target"
/>
<component
name=
"ExecutionTargetManager"
SELECTED_TARGET=
"default_target"
/>
<component
name=
"FileEditorManager"
>
<component
name=
"FileEditorManager"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<file
leaf-file-name=
"AccountFlowRestrictService.java"
pinned=
"false"
current-in-tab=
"false"
>
<file
leaf-file-name=
"AppController.java"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/tkio/service/AccountFlowRestrictService.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/controller/AppController.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"207"
>
<caret
line=
"11"
column=
"45"
lean-forward=
"false"
selection-start-line=
"11"
selection-start-column=
"45"
selection-end-line=
"11"
selection-end-column=
"45"
/>
<folding>
<element
signature=
"imports"
expanded=
"false"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"TrackAccountFlowRestrictService.java"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/track/service/TrackAccountFlowRestrictService.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"299"
>
<state
relative-caret-position=
"309"
>
<caret
line=
"13"
column=
"50"
lean-forward=
"false"
selection-start-line=
"13"
selection-start-column=
"50"
selection-end-line=
"13"
selection-end-column=
"50"
/>
<caret
line=
"46"
column=
"36"
lean-forward=
"true"
selection-start-line=
"46"
selection-start-column=
"36"
selection-end-line=
"46"
selection-end-column=
"36"
/>
<folding>
<folding
/>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
leaf-file-name=
"A
uthorizationInterceptor.java"
pinned=
"false"
current-in-tab=
"tru
e"
>
<file
leaf-file-name=
"A
ppService.java"
pinned=
"false"
current-in-tab=
"fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/
security/interceptor/AuthorizationInterceptor
.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/
common/service/AppService
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
159
"
>
<state
relative-caret-position=
"
207
"
>
<caret
line=
"
73"
column=
"13"
lean-forward=
"true"
selection-start-line=
"73"
selection-start-column=
"13"
selection-end-line=
"73"
selection-end-column=
"13
"
/>
<caret
line=
"
15"
column=
"8"
lean-forward=
"false"
selection-start-line=
"15"
selection-start-column=
"8"
selection-end-line=
"15"
selection-end-column=
"8
"
/>
<folding
/>
<folding
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
leaf-file-name=
"
ResultStatus
.java"
pinned=
"false"
current-in-tab=
"false"
>
<file
leaf-file-name=
"
AppServiceImpl
.java"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/
util/ResultStatus
.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/
common/service/impl/AppServiceImpl
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
322
"
>
<state
relative-caret-position=
"
194
"
>
<caret
line=
"
14"
column=
"41"
lean-forward=
"true"
selection-start-line=
"14"
selection-start-column=
"41"
selection-end-line=
"14"
selection-end-column=
"41
"
/>
<caret
line=
"
63"
column=
"52"
lean-forward=
"true"
selection-start-line=
"63"
selection-start-column=
"52"
selection-end-line=
"63"
selection-end-column=
"52
"
/>
<folding
/>
<folding
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
leaf-file-name=
"
LoginController
.java"
pinned=
"false"
current-in-tab=
"false"
>
<file
leaf-file-name=
"
ReportCallable
.java"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/
controller/LoginController
.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/
task/ReportCallable
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
38
9"
>
<state
relative-caret-position=
"
22
9"
>
<caret
line=
"1
00"
column=
"17"
lean-forward=
"true"
selection-start-line=
"100"
selection-start-column=
"17"
selection-end-line=
"100"
selection-end-column=
"17
"
/>
<caret
line=
"1
61"
column=
"46"
lean-forward=
"false"
selection-start-line=
"161"
selection-start-column=
"40"
selection-end-line=
"161"
selection-end-column=
"46
"
/>
<folding
/>
<folding
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
leaf-file-name=
"T
rackAccountFlowRestrictServiceImpl
.java"
pinned=
"false"
current-in-tab=
"false"
>
<file
leaf-file-name=
"T
kioAccountController
.java"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/t
rack/service/impl/TrackAccountFlowRestrictServiceImpl
.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/t
kio/controller/TkioAccountController
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"367"
>
<state
relative-caret-position=
"214"
>
<caret
line=
"48"
column=
"63"
lean-forward=
"false"
selection-start-line=
"48"
selection-start-column=
"63"
selection-end-line=
"48"
selection-end-column=
"63"
/>
<caret
line=
"32"
column=
"52"
lean-forward=
"false"
selection-start-line=
"32"
selection-start-column=
"52"
selection-end-line=
"32"
selection-end-column=
"52"
/>
<folding>
<folding
/>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
leaf-file-name=
"
DateUtil
.java"
pinned=
"false"
current-in-tab=
"false"
>
<file
leaf-file-name=
"
TkioAccountService
.java"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/
util/DateUtil
.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/
tkio/service/TkioAccountService
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"2898"
>
<state
relative-caret-position=
"184"
>
<caret
line=
"137"
column=
"31"
lean-forward=
"false"
selection-start-line=
"137"
selection-start-column=
"25"
selection-end-line=
"137"
selection-end-column=
"31"
/>
<caret
line=
"11"
column=
"22"
lean-forward=
"false"
selection-start-line=
"11"
selection-start-column=
"22"
selection-end-line=
"11"
selection-end-column=
"22"
/>
<folding>
<folding
/>
<element
signature=
"imports"
expanded=
"false"
/>
<element
signature=
"e#2402#2403#0"
expanded=
"false"
/>
<element
signature=
"e#2459#2460#0"
expanded=
"false"
/>
<element
signature=
"e#2609#2610#0"
expanded=
"false"
/>
<element
signature=
"e#2666#2667#0"
expanded=
"false"
/>
<element
signature=
"e#3534#3535#0"
expanded=
"false"
/>
<element
signature=
"e#3590#3591#0"
expanded=
"false"
/>
<element
signature=
"e#3773#3774#0"
expanded=
"false"
/>
<element
signature=
"e#3830#3831#0"
expanded=
"false"
/>
<element
signature=
"e#4613#4614#0"
expanded=
"false"
/>
<element
signature=
"e#4669#4670#0"
expanded=
"false"
/>
<element
signature=
"e#4723#4724#0"
expanded=
"false"
/>
<element
signature=
"e#4780#4781#0"
expanded=
"false"
/>
<element
signature=
"e#4838#4839#0"
expanded=
"false"
/>
<element
signature=
"e#4892#4893#0"
expanded=
"false"
/>
<element
signature=
"e#29079#29080#0"
expanded=
"false"
/>
<element
signature=
"e#29124#29125#0"
expanded=
"false"
/>
<element
signature=
"e#29180#29181#0"
expanded=
"false"
/>
<element
signature=
"e#29224#29225#0"
expanded=
"false"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
leaf-file-name=
"T
rackAppRepository
.java"
pinned=
"false"
current-in-tab=
"false"
>
<file
leaf-file-name=
"T
kioAccountServiceImpl
.java"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/t
rack/repository/TrackAppRepository
.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/t
kio/service/impl/TkioAccountServiceImpl
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"253"
>
<state
relative-caret-position=
"378"
>
<caret
line=
"17"
column=
"27"
lean-forward=
"false"
selection-start-line=
"17"
selection-start-column=
"14"
selection-end-line=
"17"
selection-end-column=
"27"
/>
<caret
line=
"108"
column=
"72"
lean-forward=
"true"
selection-start-line=
"108"
selection-start-column=
"72"
selection-end-line=
"108"
selection-end-column=
"72"
/>
<folding>
<folding
/>
<element
signature=
"imports"
expanded=
"false"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
leaf-file-name=
"
MeasuresTrackNew.java"
pinned=
"false"
current-in-tab=
"fals
e"
>
<file
leaf-file-name=
"
AccountRepository.java"
pinned=
"false"
current-in-tab=
"tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/t
rack/model/MeasuresTrackNew
.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/t
kio/repository/AccountRepository
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1
84
"
>
<state
relative-caret-position=
"1
60
"
>
<caret
line=
"
10"
column=
"29"
lean-forward=
"false"
selection-start-line=
"10"
selection-start-column=
"13"
selection-end-line=
"10"
selection-end-column=
"29
"
/>
<caret
line=
"
24"
column=
"88"
lean-forward=
"false"
selection-start-line=
"24"
selection-start-column=
"88"
selection-end-line=
"24"
selection-end-column=
"88
"
/>
<folding
/>
<folding
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
</file>
</file>
<file
leaf-file-name=
"
Measure
Repository.java"
pinned=
"false"
current-in-tab=
"false"
>
<file
leaf-file-name=
"
SalesManLeader
Repository.java"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/t
rack/repository/Measure
Repository.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/t
kio/repository/SalesManLeader
Repository.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"207"
>
<state
relative-caret-position=
"230"
>
<caret
line=
"15"
column=
"0"
lean-forward=
"false"
selection-start-line=
"15"
selection-start-column=
"0"
selection-end-line=
"15"
selection-end-column=
"0"
/>
<caret
line=
"15"
column=
"25"
lean-forward=
"false"
selection-start-line=
"15"
selection-start-column=
"25"
selection-end-line=
"15"
selection-end-column=
"25"
/>
<folding>
<folding
/>
<element
signature=
"imports"
expanded=
"false"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
...
@@ -208,8 +174,6 @@
...
@@ -208,8 +174,6 @@
<component
name=
"IdeDocumentHistory"
>
<component
name=
"IdeDocumentHistory"
>
<option
name=
"CHANGED_PATHS"
>
<option
name=
"CHANGED_PATHS"
>
<list>
<list>
<option
value=
"$PROJECT_DIR$/src/main/java/common/model/SaleAuth.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/repository/SaleAuthRepository.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/service/SaleAuthService.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/service/SaleAuthService.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/model/ContractBody.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/model/ContractBody.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/repository/ContractBodyRepository.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/repository/ContractBodyRepository.java"
/>
...
@@ -237,7 +201,6 @@
...
@@ -237,7 +201,6 @@
<option
value=
"$PROJECT_DIR$/src/main/java/track/controller/TrackAccountController.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/track/controller/TrackAccountController.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/task/SyncAppDataTask.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/task/SyncAppDataTask.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/service/ContractService.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/service/ContractService.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/tkio/repository/AccountRepository.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/util/DateUtil.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/util/DateUtil.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/tkio/service/AccountService.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/tkio/service/AccountService.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/service/impl/ContractServiceImpl.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/service/impl/ContractServiceImpl.java"
/>
...
@@ -255,10 +218,13 @@
...
@@ -255,10 +218,13 @@
<option
value=
"$PROJECT_DIR$/src/main/java/common/model/ReminderLevel.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/model/ReminderLevel.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/repository/ContractRepository.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/repository/ContractRepository.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/track/model/MeasuresTrackNew.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/track/model/MeasuresTrackNew.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/track/repository/MeasureRepository.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/security/interceptor/AuthorizationInterceptor.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/track/task/AccountTask.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/track/service/TrackAccountFlowRestrictService.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/track/service/TrackAccountFlowRestrictService.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/track/repository/MeasureRepository.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/track/service/impl/TrackAccountFlowRestrictServiceImpl.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/track/service/impl/TrackAccountFlowRestrictServiceImpl.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/security/interceptor/AuthorizationInterceptor.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/resources/spring/applicationContext-schedule.xml"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/tkio/repository/AccountRepository.java"
/>
</list>
</list>
</option>
</option>
</component>
</component>
...
@@ -446,11 +412,7 @@
...
@@ -446,11 +412,7 @@
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH_ELEMENT>
<PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"logback"
/>
<option
name=
"myItemId"
value=
"spring"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"product"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH_ELEMENT>
</PATH>
</PATH>
...
@@ -479,6 +441,10 @@
...
@@ -479,6 +441,10 @@
<option
name=
"myItemId"
value=
"logback"
/>
<option
name=
"myItemId"
value=
"logback"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"product"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
</PATH>
<PATH>
<PATH>
<PATH_ELEMENT>
<PATH_ELEMENT>
...
@@ -498,11 +464,11 @@
...
@@ -498,11 +464,11 @@
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH_ELEMENT>
<PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"
java
"
/>
<option
name=
"myItemId"
value=
"
resources
"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH_ELEMENT>
<PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"
util
"
/>
<option
name=
"myItemId"
value=
"
logback
"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH_ELEMENT>
</PATH>
</PATH>
...
@@ -528,11 +494,7 @@
...
@@ -528,11 +494,7 @@
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH_ELEMENT>
<PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"track"
/>
<option
name=
"myItemId"
value=
"util"
/>
<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"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH_ELEMENT>
</PATH>
</PATH>
...
@@ -562,7 +524,7 @@
...
@@ -562,7 +524,7 @@
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH_ELEMENT>
<PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"
service
"
/>
<option
name=
"myItemId"
value=
"
task
"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH_ELEMENT>
</PATH>
</PATH>
...
@@ -595,10 +557,6 @@
...
@@ -595,10 +557,6 @@
<option
name=
"myItemId"
value=
"service"
/>
<option
name=
"myItemId"
value=
"service"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"impl"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
</PATH>
<PATH>
<PATH>
<PATH_ELEMENT>
<PATH_ELEMENT>
...
@@ -626,7 +584,11 @@
...
@@ -626,7 +584,11 @@
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH_ELEMENT>
<PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"repository"
/>
<option
name=
"myItemId"
value=
"service"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"impl"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH_ELEMENT>
</PATH>
</PATH>
...
@@ -656,7 +618,7 @@
...
@@ -656,7 +618,7 @@
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH_ELEMENT>
<PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"
model
"
/>
<option
name=
"myItemId"
value=
"
repository
"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH_ELEMENT>
</PATH>
</PATH>
...
@@ -685,6 +647,10 @@
...
@@ -685,6 +647,10 @@
<option
name=
"myItemId"
value=
"track"
/>
<option
name=
"myItemId"
value=
"track"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"model"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
</PATH>
<PATH>
<PATH>
<PATH_ELEMENT>
<PATH_ELEMENT>
...
@@ -707,6 +673,10 @@
...
@@ -707,6 +673,10 @@
<option
name=
"myItemId"
value=
"java"
/>
<option
name=
"myItemId"
value=
"java"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"track"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
</PATH>
<PATH>
<PATH>
<PATH_ELEMENT>
<PATH_ELEMENT>
...
@@ -730,7 +700,7 @@
...
@@ -730,7 +700,7 @@
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH_ELEMENT>
<PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"
security
"
/>
<option
name=
"myItemId"
value=
"
tkio
"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH_ELEMENT>
</PATH>
</PATH>
...
@@ -756,11 +726,11 @@
...
@@ -756,11 +726,11 @@
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH_ELEMENT>
<PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"
security
"
/>
<option
name=
"myItemId"
value=
"
tkio
"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH_ELEMENT>
<PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"
intercepto
r"
/>
<option
name=
"myItemId"
value=
"
controlle
r"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH_ELEMENT>
</PATH>
</PATH>
...
@@ -785,10 +755,6 @@
...
@@ -785,10 +755,6 @@
<option
name=
"myItemId"
value=
"java"
/>
<option
name=
"myItemId"
value=
"java"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"common"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
</PATH>
<PATH>
<PATH>
<PATH_ELEMENT>
<PATH_ELEMENT>
...
@@ -815,10 +781,6 @@
...
@@ -815,10 +781,6 @@
<option
name=
"myItemId"
value=
"common"
/>
<option
name=
"myItemId"
value=
"common"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"controller"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
</PATH>
</subPane>
</subPane>
</pane>
</pane>
...
@@ -1316,14 +1278,7 @@
...
@@ -1316,14 +1278,7 @@
<workItem
from=
"1516843795236"
duration=
"8291000"
/>
<workItem
from=
"1516843795236"
duration=
"8291000"
/>
<workItem
from=
"1516932422302"
duration=
"5866000"
/>
<workItem
from=
"1516932422302"
duration=
"5866000"
/>
<workItem
from=
"1517189406074"
duration=
"8333000"
/>
<workItem
from=
"1517189406074"
duration=
"8333000"
/>
<workItem
from=
"1517275427548"
duration=
"1417000"
/>
<workItem
from=
"1517275427548"
duration=
"6084000"
/>
</task>
<task
id=
"LOCAL-00010"
summary=
"test pom"
>
<created>
1514876898440
</created>
<option
name=
"number"
value=
"00010"
/>
<option
name=
"presentableId"
value=
"LOCAL-00010"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1514876898440
</updated>
</task>
</task>
<task
id=
"LOCAL-00011"
summary=
"test pom"
>
<task
id=
"LOCAL-00011"
summary=
"test pom"
>
<created>
1514882467020
</created>
<created>
1514882467020
</created>
...
@@ -1661,15 +1616,22 @@
...
@@ -1661,15 +1616,22 @@
<option
name=
"project"
value=
"LOCAL"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1517282095151
</updated>
<updated>
1517282095151
</updated>
</task>
</task>
<option
name=
"localTasksCounter"
value=
"59"
/>
<task
id=
"LOCAL-00059"
summary=
"合同"
>
<created>
1517282798128
</created>
<option
name=
"number"
value=
"00059"
/>
<option
name=
"presentableId"
value=
"LOCAL-00059"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1517282798128
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"60"
/>
<servers
/>
<servers
/>
</component>
</component>
<component
name=
"TimeTrackingManager"
>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"2
87703
000"
/>
<option
name=
"totallyTimeSpent"
value=
"2
92370
000"
/>
</component>
</component>
<component
name=
"ToolWindowManager"
>
<component
name=
"ToolWindowManager"
>
<frame
x=
"-8"
y=
"-8"
width=
"1382"
height=
"744"
extended-state=
"
0
"
/>
<frame
x=
"-8"
y=
"-8"
width=
"1382"
height=
"744"
extended-state=
"
6
"
/>
<editor
active=
"
tru
e"
/>
<editor
active=
"
fals
e"
/>
<layout>
<layout>
<window_info
id=
"Palette"
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=
"8"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Palette"
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=
"8"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Nl-Palette"
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=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Nl-Palette"
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=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
...
@@ -1826,27 +1788,6 @@
...
@@ -1826,27 +1788,6 @@
<option
name=
"FILTER_TARGETS"
value=
"false"
/>
<option
name=
"FILTER_TARGETS"
value=
"false"
/>
</component>
</component>
<component
name=
"editorHistoryManager"
>
<component
name=
"editorHistoryManager"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/repository/PriceLevelMoneyRepository.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"115"
>
<caret
line=
"9"
column=
"72"
lean-forward=
"false"
selection-start-line=
"9"
selection-start-column=
"72"
selection-end-line=
"9"
selection-end-column=
"72"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/model/UserLog.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1380"
>
<caret
line=
"124"
column=
"5"
lean-forward=
"true"
selection-start-line=
"124"
selection-start-column=
"5"
selection-end-line=
"124"
selection-end-column=
"5"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/util/UserLogThread.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1081"
>
<caret
line=
"55"
column=
"12"
lean-forward=
"false"
selection-start-line=
"55"
selection-start-column=
"12"
selection-end-line=
"55"
selection-end-column=
"12"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/util/NewUserLogThread.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/util/NewUserLogThread.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"194"
>
<state
relative-caret-position=
"194"
>
...
@@ -1854,34 +1795,6 @@
...
@@ -1854,34 +1795,6 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/controller/AppController.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"309"
>
<caret
line=
"46"
column=
"40"
lean-forward=
"false"
selection-start-line=
"46"
selection-start-column=
"40"
selection-end-line=
"46"
selection-end-column=
"40"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/service/AppService.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"207"
>
<caret
line=
"15"
column=
"8"
lean-forward=
"false"
selection-start-line=
"15"
selection-start-column=
"8"
selection-end-line=
"15"
selection-end-column=
"8"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/service/impl/AppServiceImpl.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"102"
>
<caret
line=
"62"
column=
"49"
lean-forward=
"true"
selection-start-line=
"62"
selection-start-column=
"49"
selection-end-line=
"62"
selection-end-column=
"49"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/task/ReportCallable.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"3289"
>
<caret
line=
"160"
column=
"21"
lean-forward=
"false"
selection-start-line=
"160"
selection-start-column=
"21"
selection-end-line=
"160"
selection-end-column=
"21"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/repository/ReminderLevelRepository.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/repository/ReminderLevelRepository.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"69"
>
<state
relative-caret-position=
"69"
>
...
@@ -1900,6 +1813,9 @@
...
@@ -1900,6 +1813,9 @@
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"161"
>
<state
relative-caret-position=
"161"
>
<caret
line=
"19"
column=
"8"
lean-forward=
"false"
selection-start-line=
"19"
selection-start-column=
"8"
selection-end-line=
"19"
selection-end-column=
"8"
/>
<caret
line=
"19"
column=
"8"
lean-forward=
"false"
selection-start-line=
"19"
selection-start-column=
"8"
selection-end-line=
"19"
selection-end-column=
"8"
/>
<folding>
<element
signature=
"imports"
expanded=
"false"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
...
@@ -1942,6 +1858,9 @@
...
@@ -1942,6 +1858,9 @@
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"414"
>
<state
relative-caret-position=
"414"
>
<caret
line=
"32"
column=
"54"
lean-forward=
"false"
selection-start-line=
"32"
selection-start-column=
"54"
selection-end-line=
"32"
selection-end-column=
"54"
/>
<caret
line=
"32"
column=
"54"
lean-forward=
"false"
selection-start-line=
"32"
selection-start-column=
"54"
selection-end-line=
"32"
selection-end-column=
"54"
/>
<folding>
<element
signature=
"imports"
expanded=
"false"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
...
@@ -1956,6 +1875,7 @@
...
@@ -1956,6 +1875,7 @@
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"184"
>
<state
relative-caret-position=
"184"
>
<caret
line=
"12"
column=
"4"
lean-forward=
"false"
selection-start-line=
"12"
selection-start-column=
"4"
selection-end-line=
"12"
selection-end-column=
"4"
/>
<caret
line=
"12"
column=
"4"
lean-forward=
"false"
selection-start-line=
"12"
selection-start-column=
"4"
selection-end-line=
"12"
selection-end-column=
"4"
/>
<folding
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
...
@@ -1963,6 +1883,7 @@
...
@@ -1963,6 +1883,7 @@
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"23"
>
<state
relative-caret-position=
"23"
>
<caret
line=
"72"
column=
"47"
lean-forward=
"false"
selection-start-line=
"72"
selection-start-column=
"47"
selection-end-line=
"72"
selection-end-column=
"47"
/>
<caret
line=
"72"
column=
"47"
lean-forward=
"false"
selection-start-line=
"72"
selection-start-column=
"47"
selection-end-line=
"72"
selection-end-column=
"47"
/>
<folding
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
...
@@ -1974,27 +1895,6 @@
...
@@ -1974,27 +1895,6 @@
</state>
</state>
</provider>
</provider>
</entry>
</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=
"184"
>
<caret
line=
"11"
column=
"22"
lean-forward=
"false"
selection-start-line=
"11"
selection-start-column=
"22"
selection-end-line=
"11"
selection-end-column=
"22"
/>
</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=
"171"
>
<caret
line=
"78"
column=
"49"
lean-forward=
"true"
selection-start-line=
"78"
selection-start-column=
"49"
selection-end-line=
"78"
selection-end-column=
"49"
/>
</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=
"191"
>
<caret
line=
"31"
column=
"35"
lean-forward=
"false"
selection-start-line=
"31"
selection-start-column=
"35"
selection-end-line=
"31"
selection-end-column=
"35"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/security/annotation/CurrentAccount.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/security/annotation/CurrentAccount.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"230"
>
<state
relative-caret-position=
"230"
>
...
@@ -2007,6 +1907,7 @@
...
@@ -2007,6 +1907,7 @@
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"138"
>
<state
relative-caret-position=
"138"
>
<caret
line=
"9"
column=
"18"
lean-forward=
"false"
selection-start-line=
"9"
selection-start-column=
"18"
selection-end-line=
"9"
selection-end-column=
"18"
/>
<caret
line=
"9"
column=
"18"
lean-forward=
"false"
selection-start-line=
"9"
selection-start-column=
"18"
selection-end-line=
"9"
selection-end-column=
"18"
/>
<folding
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
...
@@ -2105,26 +2006,6 @@
...
@@ -2105,26 +2006,6 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/track/task/AccountTask.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"391"
>
<caret
line=
"28"
column=
"56"
lean-forward=
"false"
selection-start-line=
"28"
selection-start-column=
"56"
selection-end-line=
"28"
selection-end-column=
"56"
/>
<folding>
<element
signature=
"imports"
expanded=
"false"
/>
</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=
"207"
>
<caret
line=
"11"
column=
"45"
lean-forward=
"false"
selection-start-line=
"11"
selection-start-column=
"45"
selection-end-line=
"11"
selection-end-column=
"45"
/>
<folding>
<element
signature=
"imports"
expanded=
"false"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/tkio/service/impl/AccountFlowRestrictServiceImpl.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/tkio/service/impl/AccountFlowRestrictServiceImpl.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"528"
>
<state
relative-caret-position=
"528"
>
...
@@ -2140,37 +2021,25 @@
...
@@ -2140,37 +2021,25 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/track/repository/MeasureRepository.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/controller/LoginController.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"207"
>
<caret
line=
"15"
column=
"0"
lean-forward=
"false"
selection-start-line=
"15"
selection-start-column=
"0"
selection-end-line=
"15"
selection-end-column=
"0"
/>
<folding>
<element
signature=
"imports"
expanded=
"false"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/track/model/MeasuresTrackNew.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
184
"
>
<state
relative-caret-position=
"
389
"
>
<caret
line=
"10
"
column=
"29"
lean-forward=
"false"
selection-start-line=
"10"
selection-start-column=
"13"
selection-end-line=
"10"
selection-end-column=
"29
"
/>
<caret
line=
"10
0"
column=
"17"
lean-forward=
"true"
selection-start-line=
"100"
selection-start-column=
"17"
selection-end-line=
"100"
selection-end-column=
"17
"
/>
<folding
/>
<folding
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/
track/repository/TrackAppRepository
.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/
util/ResultStatus
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"253"
>
<state
relative-caret-position=
"322"
>
<caret
line=
"17"
column=
"27"
lean-forward=
"false"
selection-start-line=
"17"
selection-start-column=
"14"
selection-end-line=
"17"
selection-end-column=
"27"
/>
<caret
line=
"14"
column=
"41"
lean-forward=
"true"
selection-start-line=
"14"
selection-start-column=
"41"
selection-end-line=
"14"
selection-end-column=
"41"
/>
<folding>
<folding
/>
<element
signature=
"imports"
expanded=
"false"
/>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/util/DateUtil.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/util/DateUtil.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"2
898
"
>
<state
relative-caret-position=
"2
3
"
>
<caret
line=
"137"
column=
"31"
lean-forward=
"false"
selection-start-line=
"137"
selection-start-column=
"25"
selection-end-line=
"137"
selection-end-column=
"31"
/>
<caret
line=
"137"
column=
"31"
lean-forward=
"false"
selection-start-line=
"137"
selection-start-column=
"25"
selection-end-line=
"137"
selection-end-column=
"31"
/>
<folding>
<folding>
<element
signature=
"imports"
expanded=
"false"
/>
<element
signature=
"imports"
expanded=
"false"
/>
...
@@ -2196,12 +2065,60 @@
...
@@ -2196,12 +2065,60 @@
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/track/service/impl/TrackAccountFlowRestrictServiceImpl.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/track/repository/TrackAppRepository.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"253"
>
<caret
line=
"17"
column=
"27"
lean-forward=
"false"
selection-start-line=
"17"
selection-start-column=
"14"
selection-end-line=
"17"
selection-end-column=
"27"
/>
<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=
"207"
>
<caret
line=
"11"
column=
"45"
lean-forward=
"false"
selection-start-line=
"11"
selection-start-column=
"45"
selection-end-line=
"11"
selection-end-column=
"45"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/security/interceptor/AuthorizationInterceptor.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"367"
>
<state
relative-caret-position=
"345"
>
<caret
line=
"48"
column=
"63"
lean-forward=
"false"
selection-start-line=
"48"
selection-start-column=
"63"
selection-end-line=
"48"
selection-end-column=
"63"
/>
<caret
line=
"73"
column=
"13"
lean-forward=
"false"
selection-start-line=
"73"
selection-start-column=
"13"
selection-end-line=
"73"
selection-end-column=
"13"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/track/model/MeasuresTrackNew.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"184"
>
<caret
line=
"10"
column=
"29"
lean-forward=
"false"
selection-start-line=
"10"
selection-start-column=
"13"
selection-end-line=
"10"
selection-end-column=
"29"
/>
<folding>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
<element
signature=
"imports"
expanded=
"true"
/>
<element
signature=
"e#425#426#0"
expanded=
"true"
/>
<element
signature=
"e#450#451#0"
expanded=
"true"
/>
<element
signature=
"e#484#485#0"
expanded=
"true"
/>
<element
signature=
"e#512#513#0"
expanded=
"true"
/>
<element
signature=
"e#541#542#0"
expanded=
"true"
/>
<element
signature=
"e#566#567#0"
expanded=
"true"
/>
<element
signature=
"e#602#603#0"
expanded=
"true"
/>
<element
signature=
"e#630#631#0"
expanded=
"true"
/>
<element
signature=
"e#665#666#0"
expanded=
"true"
/>
<element
signature=
"e#696#697#0"
expanded=
"true"
/>
<element
signature=
"e#744#745#0"
expanded=
"true"
/>
<element
signature=
"e#784#785#0"
expanded=
"true"
/>
<element
signature=
"e#816#817#0"
expanded=
"true"
/>
<element
signature=
"e#844#845#0"
expanded=
"true"
/>
<element
signature=
"e#886#887#0"
expanded=
"true"
/>
<element
signature=
"e#920#921#0"
expanded=
"true"
/>
<element
signature=
"e#956#957#0"
expanded=
"true"
/>
<element
signature=
"e#987#988#0"
expanded=
"true"
/>
<element
signature=
"e#1036#1037#0"
expanded=
"true"
/>
<element
signature=
"e#1076#1077#0"
expanded=
"true"
/>
<element
signature=
"e#1119#1120#0"
expanded=
"true"
/>
<element
signature=
"e#1157#1158#0"
expanded=
"true"
/>
<element
signature=
"e#1220#1221#0"
expanded=
"true"
/>
<element
signature=
"e#1274#1275#0"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
...
@@ -2209,33 +2126,115 @@
...
@@ -2209,33 +2126,115 @@
<entry
file=
"file://$PROJECT_DIR$/src/main/java/track/service/TrackAccountFlowRestrictService.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/track/service/TrackAccountFlowRestrictService.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"299"
>
<state
relative-caret-position=
"299"
>
<caret
line=
"13"
column=
"
50"
lean-forward=
"false"
selection-start-line=
"13"
selection-start-column=
"50"
selection-end-line=
"13"
selection-end-column=
"50
"
/>
<caret
line=
"13"
column=
"
14"
lean-forward=
"false"
selection-start-line=
"13"
selection-start-column=
"4"
selection-end-line=
"13"
selection-end-column=
"14
"
/>
<folding>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
</folding>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/
common/controller/LoginController
.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/
track/task/AccountTask
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"3
89
"
>
<state
relative-caret-position=
"3
66
"
>
<caret
line=
"
100"
column=
"17"
lean-forward=
"true"
selection-start-line=
"100"
selection-start-column=
"17"
selection-end-line=
"100"
selection-end-column=
"17
"
/>
<caret
line=
"
44"
column=
"53"
lean-forward=
"true"
selection-start-line=
"44"
selection-start-column=
"53"
selection-end-line=
"44"
selection-end-column=
"53
"
/>
<folding
/>
<folding
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/
util/ResultStatus
.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/
track/repository/MeasureRepository
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
322
"
>
<state
relative-caret-position=
"
161
"
>
<caret
line=
"1
4"
column=
"41"
lean-forward=
"true"
selection-start-line=
"14"
selection-start-column=
"41"
selection-end-line=
"14"
selection-end-column=
"41
"
/>
<caret
line=
"1
3"
column=
"15"
lean-forward=
"false"
selection-start-line=
"13"
selection-start-column=
"15"
selection-end-line=
"13"
selection-end-column=
"15
"
/>
<folding
/>
<folding
/>
</state>
</state>
</provider>
</provider>
</entry>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/security/interceptor/AuthorizationInterceptor.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/track/service/impl/TrackAccountFlowRestrictServiceImpl.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"435"
>
<caret
line=
"52"
column=
"75"
lean-forward=
"false"
selection-start-line=
"52"
selection-start-column=
"75"
selection-end-line=
"52"
selection-end-column=
"75"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
</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=
"184"
>
<caret
line=
"32"
column=
"72"
lean-forward=
"false"
selection-start-line=
"32"
selection-start-column=
"72"
selection-end-line=
"32"
selection-end-column=
"73"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/controller/AppController.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"309"
>
<caret
line=
"46"
column=
"36"
lean-forward=
"true"
selection-start-line=
"46"
selection-start-column=
"36"
selection-end-line=
"46"
selection-end-column=
"36"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/service/AppService.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"207"
>
<caret
line=
"15"
column=
"8"
lean-forward=
"false"
selection-start-line=
"15"
selection-start-column=
"8"
selection-end-line=
"15"
selection-end-column=
"8"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/service/impl/AppServiceImpl.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"194"
>
<caret
line=
"63"
column=
"52"
lean-forward=
"true"
selection-start-line=
"63"
selection-start-column=
"52"
selection-end-line=
"63"
selection-end-column=
"52"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/task/ReportCallable.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"229"
>
<caret
line=
"161"
column=
"46"
lean-forward=
"false"
selection-start-line=
"161"
selection-start-column=
"40"
selection-end-line=
"161"
selection-end-column=
"46"
/>
<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=
"214"
>
<caret
line=
"32"
column=
"52"
lean-forward=
"false"
selection-start-line=
"32"
selection-start-column=
"52"
selection-end-line=
"32"
selection-end-column=
"52"
/>
<folding
/>
</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=
"184"
>
<caret
line=
"11"
column=
"22"
lean-forward=
"false"
selection-start-line=
"11"
selection-start-column=
"22"
selection-end-line=
"11"
selection-end-column=
"22"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/tkio/repository/SalesManLeaderRepository.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"230"
>
<caret
line=
"15"
column=
"25"
lean-forward=
"false"
selection-start-line=
"15"
selection-start-column=
"25"
selection-end-line=
"15"
selection-end-column=
"25"
/>
<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=
"378"
>
<caret
line=
"108"
column=
"72"
lean-forward=
"true"
selection-start-line=
"108"
selection-start-column=
"72"
selection-end-line=
"108"
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"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1
59
"
>
<state
relative-caret-position=
"1
60
"
>
<caret
line=
"
73"
column=
"13"
lean-forward=
"true"
selection-start-line=
"73"
selection-start-column=
"13"
selection-end-line=
"73"
selection-end-column=
"13
"
/>
<caret
line=
"
24"
column=
"88"
lean-forward=
"false"
selection-start-line=
"24"
selection-start-column=
"88"
selection-end-line=
"24"
selection-end-column=
"88
"
/>
<folding
/>
<folding
/>
</state>
</state>
</provider>
</provider>
...
...
src/main/java/security/interceptor/AuthorizationInterceptor.java
View file @
e45688c9
...
@@ -56,6 +56,7 @@ public class AuthorizationInterceptor extends HandlerInterceptorAdapter {
...
@@ -56,6 +56,7 @@ public class AuthorizationInterceptor extends HandlerInterceptorAdapter {
//从header中得到token
//从header中得到token
String
token
=
request
.
getHeader
(
httpHeaderName
);
String
token
=
request
.
getHeader
(
httpHeaderName
);
//token = StringUtil.isEmpty(token) ? getCookieToken(request.getCookies(), "TOKEN") : token;
//token = StringUtil.isEmpty(token) ? getCookieToken(request.getCookies(), "TOKEN") : token;
if
(
null
!=
token
){
token
=
token
.
substring
(
httpHeaderPrefix
.
length
());
token
=
token
.
substring
(
httpHeaderPrefix
.
length
());
//验证token
//验证token
String
key
=
manager
.
getKeyFromToken
(
token
);
String
key
=
manager
.
getKeyFromToken
(
token
);
...
@@ -71,6 +72,8 @@ public class AuthorizationInterceptor extends HandlerInterceptorAdapter {
...
@@ -71,6 +72,8 @@ public class AuthorizationInterceptor extends HandlerInterceptorAdapter {
}
}
return
true
;
return
true
;
}
}
}
try
{
try
{
//如果验证token失败,并且方法注明了Authorization,返回401错误
//如果验证token失败,并且方法注明了Authorization,返回401错误
response
.
setStatus
(
HttpStatus
.
UNAUTHORIZED
.
value
());
response
.
setStatus
(
HttpStatus
.
UNAUTHORIZED
.
value
());
...
...
src/main/java/tkio/repository/AccountRepository.java
View file @
e45688c9
...
@@ -22,7 +22,7 @@ public interface AccountRepository extends JpaRepository<Account, Long> {
...
@@ -22,7 +22,7 @@ public interface AccountRepository extends JpaRepository<Account, Long> {
@Query
(
value
=
"SELECT * from account where is_super_user is true and `status` = 1 and past_date < ?1"
,
nativeQuery
=
true
)
@Query
(
value
=
"SELECT * from account where is_super_user is true and `status` = 1 and past_date < ?1"
,
nativeQuery
=
true
)
List
<
Account
>
findRootParentsPast
(
String
today
);
List
<
Account
>
findRootParentsPast
(
String
today
);
@Query
(
value
=
"SELECT * from account where is_super_user is true and bussinessman
=
?1"
,
nativeQuery
=
true
)
@Query
(
value
=
"SELECT * from account where is_super_user is true and bussinessman
in
?1"
,
nativeQuery
=
true
)
List
<
Account
>
findBussnissMan
(
List
<
Integer
>
bussinussIds
);
List
<
Account
>
findBussnissMan
(
List
<
Integer
>
bussinussIds
);
@Query
(
value
=
"select * from account where root_parent = ?1"
,
nativeQuery
=
true
)
@Query
(
value
=
"select * from account where root_parent = ?1"
,
nativeQuery
=
true
)
...
...
src/main/java/track/model/MeasuresTrackNew.java
0 → 100644
View file @
e45688c9
package
track
.
model
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
/**
* Created by mxq on 2018/1/29.
*/
@Entity
public
class
MeasuresTrackNew
{
private
Long
id
;
private
String
ds
;
private
Double
clickNum
;
private
String
appid
;
private
Integer
eventNum
;
private
Integer
blackInstallNum
;
@Id
@GeneratedValue
public
Long
getId
()
{
return
id
;
}
public
void
setId
(
Long
id
)
{
this
.
id
=
id
;
}
public
String
getDs
()
{
return
ds
;
}
public
void
setDs
(
String
ds
)
{
this
.
ds
=
ds
;
}
public
Double
getClickNum
()
{
return
clickNum
;
}
public
void
setClickNum
(
Double
clickNum
)
{
this
.
clickNum
=
clickNum
;
}
public
String
getAppid
()
{
return
appid
;
}
public
void
setAppid
(
String
appid
)
{
this
.
appid
=
appid
;
}
public
Integer
getEventNum
()
{
return
eventNum
;
}
public
void
setEventNum
(
Integer
eventNum
)
{
this
.
eventNum
=
eventNum
;
}
public
Integer
getBlackInstallNum
()
{
return
blackInstallNum
;
}
public
void
setBlackInstallNum
(
Integer
blackInstallNum
)
{
this
.
blackInstallNum
=
blackInstallNum
;
}
}
src/main/java/track/repository/MeasureRepository.java
0 → 100644
View file @
e45688c9
package
track
.
repository
;
import
org.springframework.data.jpa.repository.JpaRepository
;
import
org.springframework.data.jpa.repository.Query
;
import
track.model.App
;
import
track.model.MeasuresTrackNew
;
import
java.math.BigInteger
;
import
java.util.List
;
public
interface
MeasureRepository
extends
JpaRepository
<
MeasuresTrackNew
,
Long
>
{
@Query
(
value
=
"select sum(click_num) from measures_track_new where appid in ?1 and ds <= ?2 and ds >= ?3"
,
nativeQuery
=
true
)
Double
findByApp
(
List
<
String
>
appid
,
String
endDate
,
String
startDate
);
}
src/main/java/track/service/TrackAccountFlowRestrictService.java
0 → 100644
View file @
e45688c9
package
track
.
service
;
import
tkio.model.AccountRestrict4Web
;
import
track.model.Account
;
import
java.math.BigInteger
;
/**
* Created by song on 2017/10/19.
*/
public
interface
TrackAccountFlowRestrictService
{
BigInteger
findRestrictByAccount
(
Account
accountId
);
}
src/main/java/track/service/impl/TrackAccountFlowRestrictServiceImpl.java
0 → 100644
View file @
e45688c9
package
track
.
service
.
impl
;
import
org.json.JSONArray
;
import
org.json.JSONException
;
import
org.json.JSONObject
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.util.StringUtils
;
import
tkio.model.AccountRestrict4Web
;
import
track.model.Account
;
import
track.model.App
;
import
track.repository.MeasureRepository
;
import
track.repository.TrackAppRepository
;
import
track.service.TrackAccountFlowRestrictService
;
import
util.Constant
;
import
util.DateUtil
;
import
util.HttpClientUtil
;
import
util.ValidateUtil
;
import
java.math.BigDecimal
;
import
java.math.BigInteger
;
import
java.text.DecimalFormat
;
import
java.text.SimpleDateFormat
;
import
java.util.*
;
/**
* Created by song on 2017/10/19.
*/
@Service
public
class
TrackAccountFlowRestrictServiceImpl
implements
TrackAccountFlowRestrictService
{
@Autowired
TrackAppRepository
trackAppRepository
;
@Autowired
MeasureRepository
measureRepository
;
@Override
public
BigInteger
findRestrictByAccount
(
Account
account
)
{
BigInteger
re
=
new
BigInteger
(
"0"
);
List
<
App
>
apps
=
trackAppRepository
.
findByAccount
(
account
.
getId
());
StringBuffer
appsStr
=
new
StringBuffer
();
if
(
ValidateUtil
.
isValid
(
apps
)){
List
<
String
>
appids
=
new
ArrayList
<>();
for
(
App
app
:
apps
)
{
appids
.
add
(
app
.
getAppkey
());
}
String
startDate
=
DateUtil
.
format
(
account
.
getPubDate
());
String
endDate
=
DateUtil
.
getBeforeDays
(
0
);
Double
click
=
measureRepository
.
findByApp
(
appids
,
endDate
,
startDate
);
return
null
==
click
?
re
:
new
BigInteger
(
click
.
intValue
()
+
""
);
}
return
re
;
}
}
src/main/java/track/task/AccountTask.java
View file @
e45688c9
...
@@ -8,6 +8,7 @@ import org.jsoup.helper.DataUtil;
...
@@ -8,6 +8,7 @@ import org.jsoup.helper.DataUtil;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
track.model.Account
;
import
track.model.Account
;
import
track.repository.TrackAccountRepository
;
import
track.repository.TrackAccountRepository
;
import
track.service.TrackAccountFlowRestrictService
;
import
util.DateUtil
;
import
util.DateUtil
;
import
util.ValidateUtil
;
import
util.ValidateUtil
;
...
@@ -23,6 +24,8 @@ public class AccountTask {
...
@@ -23,6 +24,8 @@ public class AccountTask {
TrackAccountRepository
trackAccountRepository
;
TrackAccountRepository
trackAccountRepository
;
@Autowired
@Autowired
TrackAccount4WebRepository
trackAccount4WebRepository
;
TrackAccount4WebRepository
trackAccount4WebRepository
;
@Autowired
TrackAccountFlowRestrictService
trackAccountFlowRestrictService
;
public
void
task
(){
public
void
task
(){
trackAccount4WebRepository
.
deleteAll
();
trackAccount4WebRepository
.
deleteAll
();
...
@@ -41,6 +44,7 @@ public class AccountTask {
...
@@ -41,6 +44,7 @@ public class AccountTask {
}
else
{
}
else
{
account4Web
.
setStatus
(
"已激活"
);
account4Web
.
setStatus
(
"已激活"
);
}
}
account4Web
.
setTrack
(
trackAccountFlowRestrictService
.
findRestrictByAccount
(
ac
));
account4Web
.
setPastDate
(
ac
.
getPastDate
());
account4Web
.
setPastDate
(
ac
.
getPastDate
());
account4Web
.
setUser
(
ac
.
getName
());
account4Web
.
setUser
(
ac
.
getName
());
account4Web
.
setTell
(
ac
.
getPhone
());
account4Web
.
setTell
(
ac
.
getPhone
());
...
...
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