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
323fc3f8
Commit
323fc3f8
authored
7 years ago
by
zhangxiaoyan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reyun pkg match
parent
6977b318
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
216 additions
and
165 deletions
+216
-165
workspace.xml
.idea/workspace.xml
+164
-163
AppInfoRepository.java
src/main/java/common/repository/AppInfoRepository.java
+5
-0
SyncAppDataTask.java
src/main/java/tkio/task/SyncAppDataTask.java
+45
-0
applicationContext-schedule.xml
src/main/resources/applicationContext-schedule.xml
+1
-1
applicationContext-schedule.xml
target/classes/applicationContext-schedule.xml
+1
-1
UserLogController.class
target/classes/common/controller/UserLogController.class
+0
-0
AppInfoRepository.class
target/classes/common/repository/AppInfoRepository.class
+0
-0
SyncAppDataTask.class
target/classes/tkio/task/SyncAppDataTask.class
+0
-0
No files found.
.idea/workspace.xml
View file @
323fc3f8
...
...
@@ -2,16 +2,14 @@
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"e2e217e2-2dd6-4c6f-ad19-b1cba46bc7ad"
name=
"Default"
comment=
""
>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/target/classes/common/controller/AppController.class"
afterPath=
"$PROJECT_DIR$/target/classes/common/controller/AppController.class"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/target/classes/common/model/UserLog.class"
afterPath=
"$PROJECT_DIR$/target/classes/common/model/UserLog.class"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/target/classes/common/repository/UserLogRepository.class"
afterPath=
"$PROJECT_DIR$/target/classes/common/repository/UserLogRepository.class"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/target/classes/util/UserLogThread.class"
afterPath=
"$PROJECT_DIR$/target/classes/util/UserLogThread.class"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/target/classes/common/controller/UserLogController.class"
afterPath=
"$PROJECT_DIR$/target/classes/common/controller/UserLogController.class"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/target/classes/common/repository/AppInfoRepository.class"
afterPath=
"$PROJECT_DIR$/target/classes/common/repository/AppInfoRepository.class"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/target/classes/tkio/task/SyncAppDataTask.class"
afterPath=
"$PROJECT_DIR$/target/classes/tkio/task/SyncAppDataTask.class"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/java/common/model/UserLog.java"
afterPath=
"$PROJECT_DIR$/src/main/java/common/model/UserLog.java"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/java/common/repository/UserLogRepository.java"
afterPath=
"$PROJECT_DIR$/src/main/java/common/repository/UserLogRepository.java"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/java/util/UserLogThread.java"
afterPath=
"$PROJECT_DIR$/src/main/java/util/UserLogThread.java"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst"
afterPath=
"$PROJECT_DIR$/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst"
afterPath=
"$PROJECT_DIR$/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/java/common/repository/AppInfoRepository.java"
afterPath=
"$PROJECT_DIR$/src/main/java/common/repository/AppInfoRepository.java"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/java/tkio/task/SyncAppDataTask.java"
afterPath=
"$PROJECT_DIR$/src/main/java/tkio/task/SyncAppDataTask.java"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/resources/applicationContext-schedule.xml"
afterPath=
"$PROJECT_DIR$/src/main/resources/applicationContext-schedule.xml"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/target/classes/applicationContext-schedule.xml"
afterPath=
"$PROJECT_DIR$/target/classes/applicationContext-schedule.xml"
/>
</list>
<ignored
path=
"$PROJECT_DIR$/target/"
/>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
...
...
@@ -27,62 +25,22 @@
<component
name=
"ExecutionTargetManager"
SELECTED_TARGET=
"default_target"
/>
<component
name=
"FileEditorManager"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<file
leaf-file-name=
"
UserLogThread.java"
pinned=
"false"
current-in-tab=
"fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/
util/UserLogThread
.java"
>
<file
leaf-file-name=
"
SyncAppDataTask.java"
pinned=
"false"
current-in-tab=
"tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/
tkio/task/SyncAppDataTask
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"117"
>
<caret
line=
"60"
column=
"32"
lean-forward=
"false"
selection-start-line=
"60"
selection-start-column=
"18"
selection-end-line=
"60"
selection-end-column=
"32"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"109"
>
<caret
line=
"127"
column=
"20"
lean-forward=
"false"
selection-start-line=
"127"
selection-start-column=
"13"
selection-end-line=
"127"
selection-end-column=
"20"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"
UserLog
.java"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/
common/model/UserLog
.java"
>
<file
leaf-file-name=
"
Constant
.java"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/
util/Constant
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"117"
>
<caret
line=
"15"
column=
"30"
lean-forward=
"false"
selection-start-line=
"15"
selection-start-column=
"19"
selection-end-line=
"15"
selection-end-column=
"30"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
<element
signature=
"e#554#555#0"
expanded=
"true"
/>
<element
signature=
"e#579#580#0"
expanded=
"true"
/>
<element
signature=
"e#617#618#0"
expanded=
"true"
/>
<element
signature=
"e#645#646#0"
expanded=
"true"
/>
<element
signature=
"e#687#688#0"
expanded=
"true"
/>
<element
signature=
"e#721#722#0"
expanded=
"true"
/>
<element
signature=
"e#779#780#0"
expanded=
"true"
/>
<element
signature=
"e#825#826#0"
expanded=
"true"
/>
<element
signature=
"e#868#869#0"
expanded=
"true"
/>
<element
signature=
"e#903#904#0"
expanded=
"true"
/>
<element
signature=
"e#963#964#0"
expanded=
"true"
/>
<element
signature=
"e#1011#1012#0"
expanded=
"true"
/>
<element
signature=
"e#1053#1054#0"
expanded=
"true"
/>
<element
signature=
"e#1087#1088#0"
expanded=
"true"
/>
<element
signature=
"e#1145#1146#0"
expanded=
"true"
/>
<element
signature=
"e#1191#1192#0"
expanded=
"true"
/>
<element
signature=
"e#1224#1225#0"
expanded=
"true"
/>
<element
signature=
"e#1249#1250#0"
expanded=
"true"
/>
<element
signature=
"e#1289#1290#0"
expanded=
"true"
/>
<element
signature=
"e#1317#1318#0"
expanded=
"true"
/>
<element
signature=
"e#1365#1366#0"
expanded=
"true"
/>
<element
signature=
"e#1405#1406#0"
expanded=
"true"
/>
<element
signature=
"e#1475#1476#0"
expanded=
"true"
/>
<element
signature=
"e#1533#1534#0"
expanded=
"true"
/>
<element
signature=
"e#1577#1578#0"
expanded=
"true"
/>
<element
signature=
"e#1613#1614#0"
expanded=
"true"
/>
<element
signature=
"e#1675#1676#0"
expanded=
"true"
/>
<element
signature=
"e#1725#1726#0"
expanded=
"true"
/>
<element
signature=
"e#1767#1768#0"
expanded=
"true"
/>
<element
signature=
"e#1801#1802#0"
expanded=
"true"
/>
<element
signature=
"e#1859#1860#0"
expanded=
"true"
/>
<element
signature=
"e#1905#1906#0"
expanded=
"true"
/>
<element
signature=
"e#1944#1945#0"
expanded=
"true"
/>
<element
signature=
"e#1975#1976#0"
expanded=
"true"
/>
<element
signature=
"e#2027#2028#0"
expanded=
"true"
/>
<element
signature=
"e#2067#2068#0"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"-220"
>
<caret
line=
"8"
column=
"13"
lean-forward=
"false"
selection-start-line=
"8"
selection-start-column=
"13"
selection-end-line=
"8"
selection-end-column=
"13"
/>
<folding
/>
</state>
</provider>
</entry>
...
...
@@ -91,65 +49,59 @@
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/repository/CityRepository.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"198"
>
<caret
line=
"13"
column=
"60"
lean-forward=
"
tru
e"
selection-start-line=
"13"
selection-start-column=
"60"
selection-end-line=
"13"
selection-end-column=
"60"
/>
<caret
line=
"13"
column=
"60"
lean-forward=
"
fals
e"
selection-start-line=
"13"
selection-start-column=
"60"
selection-end-line=
"13"
selection-end-column=
"60"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"
UserLog
Repository.java"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/repository/
UserLog
Repository.java"
>
<file
leaf-file-name=
"
Auth
Repository.java"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/repository/
Auth
Repository.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1
83
"
>
<caret
line=
"1
4"
column=
"70"
lean-forward=
"true"
selection-start-line=
"14"
selection-start-column=
"70"
selection-end-line=
"14"
selection-end-column=
"70
"
/>
<state
relative-caret-position=
"1
10
"
>
<caret
line=
"1
1"
column=
"65"
lean-forward=
"false"
selection-start-line=
"11"
selection-start-column=
"40"
selection-end-line=
"11"
selection-end-column=
"65
"
/>
<folding>
<element
signature=
"imports"
expanded=
"
tru
e"
/>
<element
signature=
"imports"
expanded=
"
fals
e"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"
AppInfo
Repository.java"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/repository/
AppInfo
Repository.java"
>
<file
leaf-file-name=
"
BackVisit
Repository.java"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/repository/
BackVisit
Repository.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1
98
"
>
<caret
line=
"1
1"
column=
"1"
lean-forward=
"false"
selection-start-line=
"11"
selection-start-column=
"1"
selection-end-line=
"11"
selection-end-column=
"1
"
/>
<state
relative-caret-position=
"1
54
"
>
<caret
line=
"1
6"
column=
"28"
lean-forward=
"false"
selection-start-line=
"16"
selection-start-column=
"27"
selection-end-line=
"16"
selection-end-column=
"28
"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"
UserLogService
.java"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/
service/UserLogService
.java"
>
<file
leaf-file-name=
"
AppInfoRepository
.java"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/
repository/AppInfoRepository
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"177"
>
<caret
line=
"13"
column=
"29"
lean-forward=
"false"
selection-start-line=
"13"
selection-start-column=
"18"
selection-end-line=
"13"
selection-end-column=
"29"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"198"
>
<caret
line=
"14"
column=
"114"
lean-forward=
"false"
selection-start-line=
"14"
selection-start-column=
"114"
selection-end-line=
"14"
selection-end-column=
"114"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"User
LogServiceImpl
.java"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/
service/impl/UserLogServiceImpl
.java"
>
<file
leaf-file-name=
"User
Controller
.java"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/
controller/UserController
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"265"
>
<caret
line=
"31"
column=
"50"
lean-forward=
"false"
selection-start-line=
"31"
selection-start-column=
"33"
selection-end-line=
"31"
selection-end-column=
"50"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
<element
signature=
"e#870#871#0"
expanded=
"true"
/>
<element
signature=
"e#948#949#0"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"53"
>
<caret
line=
"20"
column=
"13"
lean-forward=
"false"
selection-start-line=
"20"
selection-start-column=
"13"
selection-end-line=
"20"
selection-end-column=
"13"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"
UserController.java
"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
java/common/controller/UserController.java
"
>
<file
leaf-file-name=
"
applicationContext-schedule.xml
"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
resources/applicationContext-schedule.xml
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
53
"
>
<caret
line=
"
20"
column=
"13"
lean-forward=
"false"
selection-start-line=
"20"
selection-start-column=
"13"
selection-end-line=
"20"
selection-end-column=
"13
"
/>
<state
relative-caret-position=
"
126
"
>
<caret
line=
"
19"
column=
"72"
lean-forward=
"true"
selection-start-line=
"19"
selection-start-column=
"72"
selection-end-line=
"19"
selection-end-column=
"72
"
/>
<folding
/>
</state>
</provider>
...
...
@@ -169,11 +121,11 @@
</provider>
</entry>
</file>
<file
leaf-file-name=
"AppController.java"
pinned=
"false"
current-in-tab=
"
tru
e"
>
<file
leaf-file-name=
"AppController.java"
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/controller/AppController.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
119
"
>
<caret
line=
"3
7"
column=
"19"
lean-forward=
"false"
selection-start-line=
"37"
selection-start-column=
"19"
selection-end-line=
"37"
selection-end-column=
"19
"
/>
<state
relative-caret-position=
"
-21
"
>
<caret
line=
"3
0"
column=
"58"
lean-forward=
"false"
selection-start-line=
"30"
selection-start-column=
"53"
selection-end-line=
"30"
selection-end-column=
"58
"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
...
...
@@ -218,14 +170,11 @@
<option
value=
"$PROJECT_DIR$/src/main/java/common/context/AppUtils.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/model/City.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/repository/CityRepository.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/repository/AppInfoRepository.java"
/>
<option
value=
"$PROJECT_DIR$/web/WEB-INF/web.xml"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/tkio/task/SyncAppDataTask.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/model/AppInfo.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/repository/AppCategoryRepository.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/service/AppService.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/service/impl/AppServiceImpl.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/resources/applicationContext-schedule.xml"
/>
<option
value=
"$PROJECT_DIR$/src/main/resources/applicationContext.xml"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/security/interceptor/AuthorizationInterceptor.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/dic/OperateSatusEnum.java"
/>
...
...
@@ -239,6 +188,9 @@
<option
value=
"$PROJECT_DIR$/src/main/java/common/service/impl/UserLogServiceImpl.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/repository/UserLogRepository.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/controller/UserLogController.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/tkio/task/SyncAppDataTask.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/repository/AppInfoRepository.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/resources/applicationContext-schedule.xml"
/>
</list>
</option>
</component>
...
...
@@ -311,6 +263,52 @@
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PackageViewModuleNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"tkio"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PackageElementNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"task"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PackageElementNode"
/>
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"manager"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PackageViewProjectNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"manage"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PackageViewModuleNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"tkio"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PackageElementNode"
/>
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"manager"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PackageViewProjectNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"manage"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PackageViewModuleNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"dmp"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PackageElementNode"
/>
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"manager"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PackageViewProjectNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"manage"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PackageViewModuleNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"dic"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PackageElementNode"
/>
</PATH_ELEMENT>
...
...
@@ -1037,12 +1035,12 @@
<option
name=
"presentableId"
value=
"Default"
/>
<updated>
1514260912987
</updated>
<workItem
from=
"1514260914510"
duration=
"14315000"
/>
<workItem
from=
"1514344618155"
duration=
"2
0292
000"
/>
<workItem
from=
"1514344618155"
duration=
"2
6138
000"
/>
</task>
<servers
/>
</component>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"
34607
000"
/>
<option
name=
"totallyTimeSpent"
value=
"
40453
000"
/>
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"-8"
y=
"-8"
width=
"1382"
height=
"744"
extended-state=
"6"
/>
...
...
@@ -1066,7 +1064,7 @@
<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=
"4"
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.33"
sideWeight=
"0.5"
order=
"2"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Run"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.
32405892
"
sideWeight=
"0.5"
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=
"true"
show_stripe_button=
"true"
weight=
"0.
2569558
"
sideWeight=
"0.5"
order=
"9"
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.33"
sideWeight=
"0.5"
order=
"3"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"CheckStyle"
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=
"4"
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.33"
sideWeight=
"0.5"
order=
"5"
side_tool=
"false"
content_ui=
"tabs"
/>
...
...
@@ -1099,22 +1097,6 @@
<option
name=
"FILTER_TARGETS"
value=
"false"
/>
</component>
<component
name=
"editorHistoryManager"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/resources/applicationContext-schedule.xml"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"528"
>
<caret
line=
"24"
column=
"77"
lean-forward=
"false"
selection-start-line=
"24"
selection-start-column=
"77"
selection-end-line=
"24"
selection-end-column=
"77"
/>
<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=
"66"
>
<caret
line=
"7"
column=
"0"
lean-forward=
"false"
selection-start-line=
"7"
selection-start-column=
"0"
selection-end-line=
"7"
selection-end-column=
"7"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/tkio/model/App.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"264"
>
...
...
@@ -1187,14 +1169,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/repository/AuthRepository.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"110"
>
<caret
line=
"11"
column=
"65"
lean-forward=
"false"
selection-start-line=
"11"
selection-start-column=
"40"
selection-end-line=
"11"
selection-end-column=
"65"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/repository/CodeRepository.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"154"
>
...
...
@@ -1322,22 +1296,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/resources/applicationContext-schedule.xml"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"236"
>
<caret
line=
"24"
column=
"7"
lean-forward=
"false"
selection-start-line=
"24"
selection-start-column=
"7"
selection-end-line=
"24"
selection-end-column=
"7"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/tkio/task/SyncAppDataTask.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1320"
>
<caret
line=
"111"
column=
"49"
lean-forward=
"false"
selection-start-line=
"111"
selection-start-column=
"49"
selection-end-line=
"111"
selection-end-column=
"49"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/security/interceptor/AuthorizationInterceptor.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"265"
>
...
...
@@ -1444,7 +1402,7 @@
<state
relative-caret-position=
"117"
>
<caret
line=
"60"
column=
"32"
lean-forward=
"false"
selection-start-line=
"60"
selection-start-column=
"18"
selection-end-line=
"60"
selection-end-column=
"32"
/>
<folding>
<element
signature=
"imports"
expanded=
"
tru
e"
/>
<element
signature=
"imports"
expanded=
"
fals
e"
/>
</folding>
</state>
</provider>
...
...
@@ -1503,14 +1461,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/repository/CityRepository.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"198"
>
<caret
line=
"13"
column=
"60"
lean-forward=
"true"
selection-start-line=
"13"
selection-start-column=
"60"
selection-end-line=
"13"
selection-end-column=
"60"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/service/UserLogService.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"177"
>
...
...
@@ -1533,6 +1483,36 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/repository/UserLogRepository.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"183"
>
<caret
line=
"14"
column=
"70"
lean-forward=
"true"
selection-start-line=
"14"
selection-start-column=
"70"
selection-end-line=
"14"
selection-end-column=
"70"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/controller/UserLogController.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"221"
>
<caret
line=
"23"
column=
"10"
lean-forward=
"false"
selection-start-line=
"23"
selection-start-column=
"10"
selection-end-line=
"23"
selection-end-column=
"10"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
<element
signature=
"e#913#914#0"
expanded=
"true"
/>
<element
signature=
"e#998#999#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/util/Constant.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-220"
>
<caret
line=
"8"
column=
"13"
lean-forward=
"false"
selection-start-line=
"8"
selection-start-column=
"13"
selection-end-line=
"8"
selection-end-column=
"13"
/>
<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=
"53"
>
...
...
@@ -1541,45 +1521,65 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/repository/
AppInfo
Repository.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/repository/
City
Repository.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"198"
>
<caret
line=
"1
1"
column=
"1"
lean-forward=
"false"
selection-start-line=
"11"
selection-start-column=
"1"
selection-end-line=
"11"
selection-end-column=
"1
"
/>
<caret
line=
"1
3"
column=
"60"
lean-forward=
"false"
selection-start-line=
"13"
selection-start-column=
"60"
selection-end-line=
"13"
selection-end-column=
"60
"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/repository/
UserLog
Repository.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/repository/
Auth
Repository.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1
83
"
>
<caret
line=
"1
4"
column=
"70"
lean-forward=
"true"
selection-start-line=
"14"
selection-start-column=
"70"
selection-end-line=
"14"
selection-end-column=
"70
"
/>
<state
relative-caret-position=
"1
10
"
>
<caret
line=
"1
1"
column=
"65"
lean-forward=
"false"
selection-start-line=
"11"
selection-start-column=
"40"
selection-end-line=
"11"
selection-end-column=
"65
"
/>
<folding>
<element
signature=
"imports"
expanded=
"
tru
e"
/>
<element
signature=
"imports"
expanded=
"
fals
e"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/
controller/UserLogController
.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/
repository/BackVisitRepository
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"221"
>
<caret
line=
"23"
column=
"10"
lean-forward=
"false"
selection-start-line=
"23"
selection-start-column=
"10"
selection-end-line=
"23"
selection-end-column=
"10"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
<element
signature=
"e#913#914#0"
expanded=
"true"
/>
<element
signature=
"e#998#999#0"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"154"
>
<caret
line=
"16"
column=
"28"
lean-forward=
"false"
selection-start-line=
"16"
selection-start-column=
"27"
selection-end-line=
"16"
selection-end-column=
"28"
/>
<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=
"
119
"
>
<caret
line=
"3
7"
column=
"19"
lean-forward=
"false"
selection-start-line=
"37"
selection-start-column=
"19"
selection-end-line=
"37"
selection-end-column=
"19
"
/>
<state
relative-caret-position=
"
-21
"
>
<caret
line=
"3
0"
column=
"58"
lean-forward=
"false"
selection-start-line=
"30"
selection-start-column=
"53"
selection-end-line=
"30"
selection-end-column=
"58
"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/repository/AppInfoRepository.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"198"
>
<caret
line=
"14"
column=
"114"
lean-forward=
"false"
selection-start-line=
"14"
selection-start-column=
"114"
selection-end-line=
"14"
selection-end-column=
"114"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/resources/applicationContext-schedule.xml"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"126"
>
<caret
line=
"19"
column=
"72"
lean-forward=
"true"
selection-start-line=
"19"
selection-start-column=
"72"
selection-end-line=
"19"
selection-end-column=
"72"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/tkio/task/SyncAppDataTask.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"109"
>
<caret
line=
"127"
column=
"20"
lean-forward=
"false"
selection-start-line=
"127"
selection-start-column=
"13"
selection-end-line=
"127"
selection-end-column=
"20"
/>
<folding
/>
</state>
</provider>
</entry>
</component>
</project>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/main/java/common/repository/AppInfoRepository.java
View file @
323fc3f8
...
...
@@ -3,10 +3,15 @@ package common.repository;
import
common.model.AppInfo
;
import
org.springframework.data.jpa.repository.JpaRepository
;
import
org.springframework.data.jpa.repository.JpaSpecificationExecutor
;
import
org.springframework.data.jpa.repository.Query
;
import
java.util.List
;
/**
* Created by zxy on 2017/12/26.
*/
public
interface
AppInfoRepository
extends
JpaRepository
<
AppInfo
,
Long
>,
JpaSpecificationExecutor
<
AppInfo
>
{
@Query
(
value
=
"select id,company,firstCate,location,logoUrl,name,os,otherCate,pkgName,reyun,secondCate,thirdCate from AppInfo a where reyun=0 or reyun is null"
)
List
<
AppInfo
>
findAppListByReyun
();
}
This diff is collapsed.
Click to expand it.
src/main/java/tkio/task/SyncAppDataTask.java
View file @
323fc3f8
...
...
@@ -9,11 +9,16 @@ import common.repository.CityRepository;
import
common.repository.UserRepository
;
import
dmp.model.TagCrawlerAppsWandoujia
;
import
dmp.repository.TagCrawlerAppsWandoujiaRepository
;
import
net.sf.json.JSONArray
;
import
net.sf.json.JSONObject
;
import
org.apache.commons.collections.map.HashedMap
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
security.annotation.Authorization
;
import
tkio.model.App
;
import
tkio.repository.AccountRepository
;
import
util.Constant
;
import
util.DateUtil
;
import
util.HttpClientUtil
;
import
util.StringUtil
;
import
java.util.ArrayList
;
...
...
@@ -38,6 +43,7 @@ public class SyncAppDataTask
{
System
.
out
.
println
(
DateUtil
.
getBeforeDays
(
1
));
List
<
TagCrawlerAppsWandoujia
>
list
=
tagRepository
.
findAllByDs
(
"2017-12-15"
);
//从网上找了一个一线城市以及地级市的列表
List
<
String
>
citys
=
cityRepository
.
findCitys
();
List
<
AppInfo
>
appInfos
=
new
ArrayList
<>();
List
<
AppCategory
>
appCategories
=
appCategoryRepository
.
findAll
();
...
...
@@ -51,16 +57,25 @@ public class SyncAppDataTask
map
.
put
(
appCategory
.
getLevel
(),
innerList
);
}
List
<
String
>
ry_pkgNameList
=
findReyunPkgList
();
List
<
AppCategory
>
newCategorys
=
new
ArrayList
<>();
List
<
AppInfo
>
newInfos
=
new
ArrayList
<>();
for
(
TagCrawlerAppsWandoujia
tag
:
list
)
{
AppInfo
appInfo
=
new
AppInfo
();
appInfo
.
setName
(
tag
.
getName
());
appInfo
.
setCompany
(
tag
.
getMaker
());
//豌豆荚爬取的都是安卓的
appInfo
.
setOs
(
"Android"
);
appInfo
.
setPkgName
(
tag
.
getPkgname
());
//判断这批app中是否有热云已有的
if
(
ry_pkgNameList
.
contains
(
tag
.
getPkgname
()))
{
appInfo
.
setReyun
(
1
);
}
appInfo
.
setLogoUrl
(
tag
.
getApplogo_link
());
String
types
=
tag
.
getMix_types
();
//类别按照_分割,第一个是一级类别,第二个是二级类别,第三个是三级类别,剩下到组合起来放到其他类别中
//同时将爬取的数据中的类别字典取出来
if
(!
StringUtil
.
isEmpty
(
types
))
{
String
[]
typeArray
=
types
.
split
(
"_"
);
String
otherCase
=
""
;
...
...
@@ -99,6 +114,7 @@ public class SyncAppDataTask
appInfo
.
setOtherCate
(
otherCase
.
substring
(
1
));
}
}
//看公司名字中是含有城市列表中的某个,记录app的公司所在地
for
(
String
city
:
citys
)
{
if
(
tag
.
getMaker
().
indexOf
(
city
)
>
-
1
)
{
appInfo
.
setLocation
(
city
);
...
...
@@ -108,10 +124,39 @@ public class SyncAppDataTask
newInfos
.
add
(
appInfo
);
System
.
out
.
println
(
appInfo
);
}
//把以前爬取的app不是热云的拿出来,看一下现在是不是热云的,是的话,更新进去。
List
<
AppInfo
>
oldNotRyAppList
=
appInfoRepository
.
findAppListByReyun
();
for
(
AppInfo
app
:
oldNotRyAppList
)
{
if
(
ry_pkgNameList
.
contains
(
app
.
getPkgName
()))
{
app
.
setReyun
(
1
);
System
.
out
.
println
(
app
);
newInfos
.
add
(
app
);
}
}
appInfoRepository
.
save
(
newInfos
);
appCategoryRepository
.
save
(
newCategorys
);
}
public
List
<
String
>
findReyunPkgList
()
{
Map
<
String
,
String
>
conditions
=
new
HashedMap
();
String
url
=
Constant
.
reportUrl
+
"/api/manager/bysql"
;
String
sql
=
"select distinct pkgname from tkio.tkio_app_pkgname where pkgname!='NULL'"
;
conditions
.
put
(
"sql"
,
sql
);
conditions
.
put
(
"dbtype"
,
"mysql"
);
conditions
.
put
(
"datatype"
,
"list"
);
conditions
.
put
(
"reportname"
,
"pkgname_list"
);
String
responseJson
=
HttpClientUtil
.
doHttpPostRequest
(
url
,
"manager"
,
conditions
);
JSONObject
object
=
JSONObject
.
fromObject
(
responseJson
);
JSONArray
array
=
object
.
getJSONArray
(
"val"
);
List
<
String
>
pkgName
=
new
ArrayList
<>();
for
(
int
i
=
0
;
i
<
array
.
size
();
i
++)
{
JSONObject
o
=
array
.
getJSONObject
(
i
);
pkgName
.
add
(
o
.
getString
(
"pkgname"
));
}
return
pkgName
;
}
public
static
void
main
(
String
[]
args
)
{
SyncAppDataTask
task
=
new
SyncAppDataTask
();
...
...
This diff is collapsed.
Click to expand it.
src/main/resources/applicationContext-schedule.xml
View file @
323fc3f8
...
...
@@ -22,6 +22,6 @@
<task:scheduled-tasks>
<!--//定时同步短链数据(每5分钟执行一次)-->
<task:scheduled
ref=
"SyncAppDataTask"
method=
"syncAppData"
cron=
"0 0
08
* * ?"
/>
<task:scheduled
ref=
"SyncAppDataTask"
method=
"syncAppData"
cron=
"0 0
4 20
* * ?"
/>
</task:scheduled-tasks>
</beans>
This diff is collapsed.
Click to expand it.
target/classes/applicationContext-schedule.xml
View file @
323fc3f8
...
...
@@ -22,6 +22,6 @@
<task:scheduled-tasks>
<!--//定时同步短链数据(每5分钟执行一次)-->
<task:scheduled
ref=
"SyncAppDataTask"
method=
"syncAppData"
cron=
"0 0
08
* * ?"
/>
<task:scheduled
ref=
"SyncAppDataTask"
method=
"syncAppData"
cron=
"0 0
4 20
* * ?"
/>
</task:scheduled-tasks>
</beans>
This diff is collapsed.
Click to expand it.
target/classes/common/controller/UserLogController.class
View file @
323fc3f8
No preview for this file type
This diff is collapsed.
Click to expand it.
target/classes/common/repository/AppInfoRepository.class
View file @
323fc3f8
No preview for this file type
This diff is collapsed.
Click to expand it.
target/classes/tkio/task/SyncAppDataTask.class
View file @
323fc3f8
No preview for this file type
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