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
2525b18d
Commit
2525b18d
authored
Jan 15, 2018
by
manxiaoqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
定时任务 删除appinfo重复数据
parent
c661c801
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
172 additions
and
208 deletions
+172
-208
workspace.xml
.idea/workspace.xml
+139
-193
SyncAppDataTask.java
src/main/java/common/task/SyncAppDataTask.java
+18
-5
DBUtil.java
src/main/java/util/DBUtil.java
+15
-10
No files found.
.idea/workspace.xml
View file @
2525b18d
...
...
@@ -3,7 +3,8 @@
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"e2e217e2-2dd6-4c6f-ad19-b1cba46bc7ad"
name=
"Default"
comment=
""
>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/resources/spring/applicationContext-schedule.xml"
afterPath=
"$PROJECT_DIR$/src/main/resources/spring/applicationContext-schedule.xml"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/java/common/task/SyncAppDataTask.java"
afterPath=
"$PROJECT_DIR$/src/main/java/common/task/SyncAppDataTask.java"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/java/util/DBUtil.java"
afterPath=
"$PROJECT_DIR$/src/main/java/util/DBUtil.java"
/>
</list>
<ignored
path=
"$PROJECT_DIR$/target/"
/>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
...
...
@@ -24,51 +25,41 @@
<component
name=
"ExecutionTargetManager"
SELECTED_TARGET=
"default_target"
/>
<component
name=
"FileEditorManager"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<file
leaf-file-name=
"AccountTask.java"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/tkio/task/AccountTask.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1079"
>
<caret
line=
"124"
column=
"41"
lean-forward=
"true"
selection-start-line=
"124"
selection-start-column=
"41"
selection-end-line=
"124"
selection-end-column=
"41"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"Account4Web.java"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/model/Account4Web.java"
>
<file
leaf-file-name=
"applicationContext-schedule.xml"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/resources/spring/applicationContext-schedule.xml"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
-223
3"
>
<caret
line=
"
18"
column=
"22"
lean-forward=
"false"
selection-start-line=
"18"
selection-start-column=
"12"
selection-end-line=
"18"
selection-end-column=
"22
"
/>
<state
relative-caret-position=
"
45
3"
>
<caret
line=
"
40"
column=
"78"
lean-forward=
"false"
selection-start-line=
"40"
selection-start-column=
"78"
selection-end-line=
"40"
selection-end-column=
"79
"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"
applicationContext-schedule.xml"
pinned=
"false"
current-in-tab=
"tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/
src/main/resources/spring/applicationContext-schedule
.xml"
>
<file
leaf-file-name=
"
pom.xml"
pinned=
"false"
current-in-tab=
"fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/
pom
.xml"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
437
"
>
<caret
line=
"
40"
column=
"79"
lean-forward=
"false"
selection-start-line=
"40"
selection-start-column=
"79"
selection-end-line=
"40"
selection-end-column=
"79
"
/>
<state
relative-caret-position=
"
274
"
>
<caret
line=
"
66"
column=
"0"
lean-forward=
"true"
selection-start-line=
"66"
selection-start-column=
"0"
selection-end-line=
"66"
selection-end-column=
"0
"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"
logback.xml
"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
resources/logback/product/logback.xml
"
>
<file
leaf-file-name=
"
SyncAppDataTask.java
"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
java/common/task/SyncAppDataTask.java
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"228"
>
<caret
line=
"
38"
column=
"30"
lean-forward=
"true"
selection-start-line=
"38"
selection-start-column=
"30"
selection-end-line=
"38"
selection-end-column=
"30
"
/>
<caret
line=
"
189"
column=
"38"
lean-forward=
"false"
selection-start-line=
"189"
selection-start-column=
"38"
selection-end-line=
"189"
selection-end-column=
"38
"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"
AccountFlowRestrictServiceImpl.java"
pinned=
"false"
current-in-tab=
"fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/
tkio/service/impl/AccountFlowRestrictServiceImp
l.java"
>
<file
leaf-file-name=
"
DBUtil.java"
pinned=
"false"
current-in-tab=
"tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/
util/DBUti
l.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
1574
"
>
<caret
line=
"
114"
column=
"49"
lean-forward=
"true"
selection-start-line=
"114"
selection-start-column=
"49"
selection-end-line=
"114"
selection-end-column=
"4
9"
/>
<state
relative-caret-position=
"
2070
"
>
<caret
line=
"
99"
column=
"19"
lean-forward=
"false"
selection-start-line=
"99"
selection-start-column=
"12"
selection-end-line=
"99"
selection-end-column=
"1
9"
/>
<folding
/>
</state>
</provider>
...
...
@@ -98,6 +89,8 @@
<find>
label
</find>
<find>
unit
</find>
<find>
http://internal-report-api-976419027.cn-north-1.elb.amazonaws.com.cn
</find>
<find>
reyun
</find>
<find>
\t
</find>
</findStrings>
<replaceStrings>
<replace
/>
...
...
@@ -114,9 +107,6 @@
<component
name=
"IdeDocumentHistory"
>
<option
name=
"CHANGED_PATHS"
>
<list>
<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/java/common/service/IOpenApiService.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/service/impl/OpenApiServiceImpl.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/task/SyncAppDataNewTask.java"
/>
...
...
@@ -159,11 +149,14 @@
<option
value=
"$PROJECT_DIR$/src/main/java/common/repository/Account4WebRepository.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/task/ReportCallable.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/util/AwsS3Util.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/task/SyncAppDataTask.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/webapp/WEB-INF/web.xml"
/>
<option
value=
"$PROJECT_DIR$/src/main/resources/spring/applicationContext.xml"
/>
<option
value=
"$PROJECT_DIR$/pom.xml"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/tkio/task/AccountTask.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/resources/db.properties"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/repository/AppInfoRepository.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/util/DBUtil.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/task/SyncAppDataTask.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/resources/spring/applicationContext-schedule.xml"
/>
</list>
</option>
...
...
@@ -259,9 +252,9 @@
<foldersAlwaysOnTop
value=
"true"
/>
</navigator>
<panes>
<pane
id=
"Scratches"
/>
<pane
id=
"Scope"
/>
<pane
id=
"PackagesPane"
/>
<pane
id=
"Scope"
/>
<pane
id=
"Scratches"
/>
<pane
id=
"ProjectPane"
>
<subPane>
<PATH>
...
...
@@ -439,56 +432,8 @@
<option
name=
"myItemId"
value=
"java"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"manager"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"manager"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"src"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"main"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"java"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"tkio"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"manager"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"manager"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"src"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"main"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"java"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"
dmp
"
/>
<option
name=
"myItemId"
value=
"
util
"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
...
...
@@ -513,14 +458,6 @@
<option
name=
"myItemId"
value=
"java"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"common"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"task"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
...
...
@@ -544,7 +481,7 @@
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"
common
"
/>
<option
name=
"myItemId"
value=
"
tkio
"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
...
...
@@ -1030,7 +967,9 @@
<workItem
from=
"1515374350608"
duration=
"8773000"
/>
<workItem
from=
"1515460815079"
duration=
"9913000"
/>
<workItem
from=
"1515547535839"
duration=
"19579000"
/>
<workItem
from=
"1515633296422"
duration=
"2781000"
/>
<workItem
from=
"1515633296422"
duration=
"4875000"
/>
<workItem
from=
"1515728204617"
duration=
"796000"
/>
<workItem
from=
"1515983952975"
duration=
"7904000"
/>
</task>
<task
id=
"LOCAL-00003"
summary=
"Merge branch 'master' of git.minrow.com:reyun/manager # Conflicts: #	pom.xml #	target/classes/common.properties #	target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst "
>
<created>
1514871143365
</created>
...
...
@@ -1305,14 +1244,21 @@
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1515638075314
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"42"
/>
<task
id=
"LOCAL-00042"
summary=
"定时任务"
>
<created>
1515638642597
</created>
<option
name=
"number"
value=
"00042"
/>
<option
name=
"presentableId"
value=
"LOCAL-00042"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1515638642597
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"43"
/>
<servers
/>
</component>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"1
52195
000"
/>
<option
name=
"totallyTimeSpent"
value=
"1
62989
000"
/>
</component>
<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=
"true"
/>
<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=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
...
...
@@ -1333,12 +1279,13 @@
<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.5155483"
sideWeight=
"0.49546143"
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=
"false"
show_stripe_button=
"true"
weight=
"
1.0
"
sideWeight=
"0.49319214"
order=
"9"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Run"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"
0.2536825
"
sideWeight=
"0.49319214"
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=
"Terminal"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.5581015"
sideWeight=
"0.5"
order=
"5"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Project"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.27987897"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"combo"
/>
<window_info
id=
"Bean Validation"
active=
"false"
anchor=
"right"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.32980332"
sideWeight=
"0.5"
order=
"5"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Web"
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=
"4"
side_tool=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"Find"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.3289689"
sideWeight=
"0.5"
order=
"8"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Theme Preview"
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=
"6"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Favorites"
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=
"5"
side_tool=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"Cvs"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.25"
sideWeight=
"0.5"
order=
"11"
side_tool=
"false"
content_ui=
"tabs"
/>
...
...
@@ -1355,7 +1302,6 @@
<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=
"Gradle View"
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=
"13"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"JRebel"
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=
"4"
side_tool=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"Find"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.3299611"
sideWeight=
"0.5"
order=
"8"
side_tool=
"false"
content_ui=
"tabs"
/>
</layout>
<layout-to-restore>
<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"
/>
...
...
@@ -1387,7 +1333,7 @@
<window_info
id=
"Capture Analysis"
active=
"false"
anchor=
"right"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"5"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Inspection"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.4"
sideWeight=
"0.5"
order=
"14"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Version Control"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.5155483"
sideWeight=
"0.49546143"
order=
"2"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Run"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"
false"
show_stripe_button=
"true"
weight=
"1.0
"
sideWeight=
"0.49319214"
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.39116204
"
sideWeight=
"0.49319214"
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=
"Terminal"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.5581015"
sideWeight=
"0.5"
order=
"5"
side_tool=
"false"
content_ui=
"tabs"
/>
<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"
/>
...
...
@@ -1396,7 +1342,7 @@
<window_info
id=
"Web"
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=
"4"
side_tool=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"Gradle View"
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=
"18"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"JRebel"
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=
"5"
side_tool=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"Find"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.32
99611
"
sideWeight=
"0.5"
order=
"8"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Find"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.32
89689
"
sideWeight=
"0.5"
order=
"8"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Theme Preview"
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=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Favorites"
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=
"6"
side_tool=
"true"
content_ui=
"tabs"
/>
</layout-to-restore>
...
...
@@ -1467,27 +1413,6 @@
<option
name=
"FILTER_TARGETS"
value=
"false"
/>
</component>
<component
name=
"editorHistoryManager"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/repository/CodeRepository.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"161"
>
<caret
line=
"14"
column=
"18"
lean-forward=
"false"
selection-start-line=
"14"
selection-start-column=
"18"
selection-end-line=
"14"
selection-end-column=
"99"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/security/cors/CorsFilter.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-2"
>
<caret
line=
"14"
column=
"13"
lean-forward=
"false"
selection-start-line=
"14"
selection-start-column=
"13"
selection-end-line=
"14"
selection-end-column=
"13"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/model/User.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"194"
>
<caret
line=
"64"
column=
"16"
lean-forward=
"false"
selection-start-line=
"64"
selection-start-column=
"16"
selection-end-line=
"64"
selection-end-column=
"16"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/repository/UserRepository.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"237"
>
...
...
@@ -1565,28 +1490,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/resources/db.properties"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"23"
>
<caret
line=
"1"
column=
"23"
lean-forward=
"false"
selection-start-line=
"1"
selection-start-column=
"23"
selection-end-line=
"1"
selection-end-column=
"23"
/>
</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=
"214"
>
<caret
line=
"30"
column=
"63"
lean-forward=
"true"
selection-start-line=
"30"
selection-start-column=
"63"
selection-end-line=
"30"
selection-end-column=
"63"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/util/DBUtil.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"251"
>
<caret
line=
"31"
column=
"26"
lean-forward=
"false"
selection-start-line=
"31"
selection-start-column=
"26"
selection-end-line=
"31"
selection-end-column=
"26"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/repository/Account4WebRepository.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"345"
>
...
...
@@ -1679,13 +1582,6 @@
</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=
"jar://E:/Java/jdk1.8.0_65/src.zip!/java/sql/PreparedStatement.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"194"
>
...
...
@@ -1707,118 +1603,168 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/controller/AppController.java"
>
<entry
file=
"file://$PROJECT_DIR$/target/maven-archiver/pom.properties"
/>
<entry
file=
"file://$PROJECT_DIR$/src/main/webapp/WEB-INF/web.xml"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"598"
>
<caret
line=
"46"
column=
"37"
lean-forward=
"false"
selection-start-line=
"46"
selection-start-column=
"37"
selection-end-line=
"46"
selection-end-column=
"37"
/>
<state
relative-caret-position=
"504"
>
<caret
line=
"35"
column=
"27"
lean-forward=
"true"
selection-start-line=
"35"
selection-start-column=
"27"
selection-end-line=
"35"
selection-end-column=
"35"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/
java/common/service/impl/AppServiceImpl.java
"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
resources/redis.properties
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
529
"
>
<caret
line=
"
63"
column=
"54"
lean-forward=
"false"
selection-start-line=
"63"
selection-start-column=
"54"
selection-end-line=
"63"
selection-end-column=
"54
"
/>
<state
relative-caret-position=
"
184
"
>
<caret
line=
"
8"
column=
"23"
lean-forward=
"false"
selection-start-line=
"8"
selection-start-column=
"23"
selection-end-line=
"8"
selection-end-column=
"23
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/target/maven-archiver/pom.properties"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/resources/logback.xml"
/>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/util/AwsS3Util.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
0
"
>
<caret
line=
"
0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0
"
/>
<state
relative-caret-position=
"
182
"
>
<caret
line=
"
121"
column=
"5"
lean-forward=
"false"
selection-start-line=
"121"
selection-start-column=
"5"
selection-end-line=
"121"
selection-end-column=
"5
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/webapp/WEB-INF/web.xml"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/resources/applicationContext-schedule.xml"
/>
<entry
file=
"file://$PROJECT_DIR$/src/main/resources/spring/applicationContext.xml"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"504"
>
<caret
line=
"35"
column=
"27"
lean-forward=
"true"
selection-start-line=
"35"
selection-start-column=
"27"
selection-end-line=
"35"
selection-end-column=
"35"
/>
<state
relative-caret-position=
"256"
>
<caret
line=
"161"
column=
"0"
lean-forward=
"true"
selection-start-line=
"161"
selection-start-column=
"0"
selection-end-line=
"161"
selection-end-column=
"0"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/tkio/task/AccountTask.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1770"
>
<caret
line=
"119"
column=
"51"
lean-forward=
"true"
selection-start-line=
"119"
selection-start-column=
"51"
selection-end-line=
"119"
selection-end-column=
"51"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/
resources/redis.properties
"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
java/common/model/Account4Web.java
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
184
"
>
<caret
line=
"
8"
column=
"23"
lean-forward=
"false"
selection-start-line=
"8"
selection-start-column=
"23"
selection-end-line=
"8"
selection-end-column=
"23
"
/>
<state
relative-caret-position=
"
23
"
>
<caret
line=
"
18"
column=
"22"
lean-forward=
"false"
selection-start-line=
"18"
selection-start-column=
"12"
selection-end-line=
"18"
selection-end-column=
"22
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/resources/logback.xml"
/>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/util/AwsS3Util.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/resources/logback/product/logback.xml"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"182"
>
<caret
line=
"121"
column=
"5"
lean-forward=
"false"
selection-start-line=
"121"
selection-start-column=
"5"
selection-end-line=
"121"
selection-end-column=
"5"
/>
<state
relative-caret-position=
"228"
>
<caret
line=
"38"
column=
"30"
lean-forward=
"false"
selection-start-line=
"38"
selection-start-column=
"30"
selection-end-line=
"38"
selection-end-column=
"30"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/resources/applicationContext-schedule.xml"
/>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/task/ReportCallable.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/tkio/service/impl/AccountFlowRestrictServiceImpl.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"504"
>
<caret
line=
"1
92"
column=
"26"
lean-forward=
"false"
selection-start-line=
"192"
selection-start-column=
"26"
selection-end-line=
"192"
selection-end-column=
"26
"
/>
<caret
line=
"1
14"
column=
"49"
lean-forward=
"false"
selection-start-line=
"114"
selection-start-column=
"49"
selection-end-line=
"114"
selection-end-column=
"49
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
pom.xml
"
>
<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=
"
95
"
>
<caret
line=
"
184"
column=
"20"
lean-forward=
"true"
selection-start-line=
"184"
selection-start-column=
"20"
selection-end-line=
"184"
selection-end-column=
"8
8"
/>
<state
relative-caret-position=
"
597
"
>
<caret
line=
"
72"
column=
"58"
lean-forward=
"false"
selection-start-line=
"72"
selection-start-column=
"51"
selection-end-line=
"72"
selection-end-column=
"5
8"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/
resources/spring/applicationContext.xml
"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
java/common/task/ReportCallable.java
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"2
56
"
>
<caret
line=
"1
61"
column=
"0"
lean-forward=
"true"
selection-start-line=
"161"
selection-start-column=
"0"
selection-end-line=
"161"
selection-end-column=
"0
"
/>
<state
relative-caret-position=
"2
65
"
>
<caret
line=
"1
51"
column=
"65"
lean-forward=
"false"
selection-start-line=
"151"
selection-start-column=
"55"
selection-end-line=
"151"
selection-end-column=
"65
"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/
task/SyncAppDataTask
.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/
service/AppService
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"20
7
"
>
<caret
line=
"
43"
column=
"4"
lean-forward=
"false"
selection-start-line=
"43"
selection-start-column=
"4"
selection-end-line=
"43"
selection-end-column=
"82
"
/>
<state
relative-caret-position=
"20
5
"
>
<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/
tkio/service/impl/AccountFlowRestrictServiceImpl
.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=
"
1574
"
>
<caret
line=
"
114"
column=
"49"
lean-forward=
"true"
selection-start-line=
"114"
selection-start-column=
"49"
selection-end-line=
"114"
selection-end-column=
"49
"
/>
<state
relative-caret-position=
"
329
"
>
<caret
line=
"
46"
column=
"38"
lean-forward=
"true"
selection-start-line=
"46"
selection-start-column=
"38"
selection-end-line=
"46"
selection-end-column=
"38
"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/
java/common/model/Account4Web.java
"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
resources/mail.properties
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
-223
3"
>
<caret
line=
"1
8"
column=
"22"
lean-forward=
"false"
selection-start-line=
"18"
selection-start-column=
"12"
selection-end-line=
"18"
selection-end-column=
"22
"
/>
<state
relative-caret-position=
"
2
3"
>
<caret
line=
"1
"
column=
"17"
lean-forward=
"true"
selection-start-line=
"1"
selection-start-column=
"0"
selection-end-line=
"2"
selection-end-column=
"0
"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/
java/tkio/task/AccountTask.java
"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
resources/common.properties
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
1079
"
>
<caret
line=
"
124"
column=
"41"
lean-forward=
"true"
selection-start-line=
"124"
selection-start-column=
"41"
selection-end-line=
"124"
selection-end-column=
"41
"
/>
<state
relative-caret-position=
"
0
"
>
<caret
line=
"
0"
column=
"16"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"16"
selection-end-line=
"0"
selection-end-column=
"16
"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/resources/
logback/product/logback.xml
"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/resources/
db.properties
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"228"
>
<caret
line=
"38"
column=
"30"
lean-forward=
"true"
selection-start-line=
"38"
selection-start-column=
"30"
selection-end-line=
"38"
selection-end-column=
"30"
/>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"20"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"20"
selection-end-line=
"0"
selection-end-column=
"20"
/>
<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=
"230"
>
<caret
line=
"16"
column=
"39"
lean-forward=
"true"
selection-start-line=
"16"
selection-start-column=
"39"
selection-end-line=
"16"
selection-end-column=
"39"
/>
<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=
"214"
>
<caret
line=
"30"
column=
"63"
lean-forward=
"false"
selection-start-line=
"30"
selection-start-column=
"63"
selection-end-line=
"30"
selection-end-column=
"63"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/pom.xml"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"274"
>
<caret
line=
"66"
column=
"0"
lean-forward=
"true"
selection-start-line=
"66"
selection-start-column=
"0"
selection-end-line=
"66"
selection-end-column=
"0"
/>
<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=
"437"
>
<caret
line=
"40"
column=
"79"
lean-forward=
"false"
selection-start-line=
"40"
selection-start-column=
"79"
selection-end-line=
"40"
selection-end-column=
"79"
/>
<state
relative-caret-position=
"453"
>
<caret
line=
"40"
column=
"78"
lean-forward=
"false"
selection-start-line=
"40"
selection-start-column=
"78"
selection-end-line=
"40"
selection-end-column=
"79"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/task/SyncAppDataTask.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"228"
>
<caret
line=
"189"
column=
"38"
lean-forward=
"false"
selection-start-line=
"189"
selection-start-column=
"38"
selection-end-line=
"189"
selection-end-column=
"38"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/util/DBUtil.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"2070"
>
<caret
line=
"99"
column=
"19"
lean-forward=
"false"
selection-start-line=
"99"
selection-start-column=
"12"
selection-end-line=
"99"
selection-end-column=
"19"
/>
<folding
/>
</state>
</provider>
...
...
src/main/java/common/task/SyncAppDataTask.java
View file @
2525b18d
...
...
@@ -20,11 +20,7 @@ import org.apache.commons.collections.map.HashedMap;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
util.AwsS3Util
;
import
util.Constant
;
import
util.DateUtil
;
import
util.HttpClientUtil
;
import
util.StringUtil
;
import
util.*
;
import
java.io.BufferedReader
;
import
java.io.ByteArrayInputStream
;
...
...
@@ -170,6 +166,7 @@ public class SyncAppDataTask
}
public
void
syncAppInfo
()
{
System
.
out
.
println
(
"syncAppInfo start"
);
appInfoRepository
.
deleteAll
();
String
skey
=
"export/crawler_data/"
;
...
...
@@ -183,6 +180,14 @@ public class SyncAppDataTask
String
s3key
=
String
.
valueOf
(
itemList
.
get
(
i
));
readS3File
(
s3Util
,
s3key
,
"appInfo"
);
}
System
.
out
.
println
(
"delete start"
);
//删除重复数据
try
{
deleteRepeatData
();
}
catch
(
Exception
e
){
logger
.
error
(
"delete faild "
+
e
.
getMessage
(),
e
);
}
System
.
out
.
println
(
"delete end"
);
}
...
...
@@ -363,6 +368,14 @@ public class SyncAppDataTask
}
return
appInfo
;
}
//删除app_info的重复数据
void
deleteRepeatData
(){
String
sql
=
"DELETE FROM app_info WHERE id IN (SELECT id FROM ( SELECT id as id FROM app_info"
+
" WHERE pkg_name IN ( SELECT pkg_name FROM app_info GROUP BY pkg_name "
+
"HAVING COUNT(*) > 1) AND id NOT IN ( SELECT min(id) FROM app_info GROUP BY "
+
"id HAVING count(*) > 1 )) b)"
;
DBUtil
.
newInstance
().
excute
(
sql
);
};
/*public static void main(String[] args)
{
...
...
src/main/java/util/DBUtil.java
View file @
2525b18d
...
...
@@ -88,6 +88,19 @@ public class DBUtil
return
rs
;
}
public
void
excute
(
String
sql
)
{
Connection
conn
=
getConn
();
Statement
statement
=
null
;
try
{
statement
=
conn
.
createStatement
();
boolean
b
=
statement
.
execute
(
sql
);
}
catch
(
SQLException
e
)
{
e
.
printStackTrace
();
}
finally
{
release
(
statement
,
conn
);
}
}
public
PreparedStatement
getStatement
(
Connection
conn
,
String
sql
)
{
PreparedStatement
pstmt
=
null
;
try
{
...
...
@@ -128,15 +141,7 @@ public class DBUtil
}
public
void
release
(
ResultSet
rs
,
Statement
pstmt
,
Connection
conn
)
{
try
{
if
(
rs
!=
null
)
{
rs
.
close
();
rs
=
null
;
}
}
catch
(
SQLException
e
)
{
logger
.
error
(
e
.
getMessage
(),
e
);
}
finally
{
public
void
release
(
Statement
pstmt
,
Connection
conn
)
{
try
{
if
(
pstmt
!=
null
)
{
pstmt
.
close
();
...
...
@@ -154,7 +159,7 @@ public class DBUtil
logger
.
error
(
e
.
getMessage
(),
e
);
}
}
}
}
public
void
ExcuteNonQueryBatch
(
List
<
String
>
sqlList
)
{
...
...
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