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
0b3088ab
Commit
0b3088ab
authored
Apr 26, 2018
by
manxiaoqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2
parent
ea18bc2f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
53 additions
and
45 deletions
+53
-45
workspace.xml
.idea/workspace.xml
+52
-43
ContractRepository.java
src/main/java/common/repository/ContractRepository.java
+1
-1
TkioAccountServiceImpl.java
src/main/java/tkio/service/impl/TkioAccountServiceImpl.java
+0
-1
No files found.
.idea/workspace.xml
View file @
0b3088ab
...
...
@@ -3,7 +3,7 @@
<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/java/common/
model/Account4Web.java"
afterPath=
"$PROJECT_DIR$/src/main/java/common/model/Account4Web
.java"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/java/common/
repository/ContractRepository.java"
afterPath=
"$PROJECT_DIR$/src/main/java/common/repository/ContractRepository
.java"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/java/tkio/service/impl/TkioAccountServiceImpl.java"
afterPath=
"$PROJECT_DIR$/src/main/java/tkio/service/impl/TkioAccountServiceImpl.java"
/>
</list>
<ignored
path=
"$PROJECT_DIR$/target/"
/>
...
...
@@ -56,8 +56,18 @@
<file
leaf-file-name=
"TkioAccountServiceImpl.java"
pinned=
"false"
current-in-tab=
"true"
>
<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=
"367"
>
<caret
line=
"200"
column=
"42"
lean-forward=
"false"
selection-start-line=
"200"
selection-start-column=
"42"
selection-end-line=
"200"
selection-end-column=
"42"
/>
<state
relative-caret-position=
"137"
>
<caret
line=
"199"
column=
"50"
lean-forward=
"false"
selection-start-line=
"199"
selection-start-column=
"50"
selection-end-line=
"199"
selection-end-column=
"50"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"ContractRepository.java"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/repository/ContractRepository.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"160"
>
<caret
line=
"29"
column=
"77"
lean-forward=
"false"
selection-start-line=
"29"
selection-start-column=
"77"
selection-end-line=
"29"
selection-end-column=
"77"
/>
<folding
/>
</state>
</provider>
...
...
@@ -202,7 +212,6 @@
<option
value=
"$PROJECT_DIR$/src/main/java/userio/task/AccountCheck.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/userio/repository/IOAccountRepository.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/userio/task/IOAccountCheck.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/repository/ContractRepository.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/controller/ContractController.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/tkio/service/impl/AccountFlowRestrictServiceImpl.java"
/>
<option
value=
"$PROJECT_DIR$/pom.xml"
/>
...
...
@@ -220,6 +229,7 @@
<option
value=
"$PROJECT_DIR$/src/main/java/tkio/task/AccountCheck.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/service/impl/ContractServiceImpl.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/model/Account4Web.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/repository/ContractRepository.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/tkio/service/impl/TkioAccountServiceImpl.java"
/>
</list>
</option>
...
...
@@ -1295,13 +1305,6 @@
<workItem
from=
"1523843445576"
duration=
"7238000"
/>
<workItem
from=
"1523876594256"
duration=
"75800000"
/>
</task>
<task
id=
"LOCAL-00083"
summary=
"app排序"
>
<created>
1517478695938
</created>
<option
name=
"number"
value=
"00083"
/>
<option
name=
"presentableId"
value=
"LOCAL-00083"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1517478695938
</updated>
</task>
<task
id=
"LOCAL-00084"
summary=
"app排序"
>
<created>
1517542092126
</created>
<option
name=
"number"
value=
"00084"
/>
...
...
@@ -1638,11 +1641,18 @@
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1524733020842
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"132"
/>
<task
id=
"LOCAL-00132"
summary=
"2 "
>
<created>
1524734309558
</created>
<option
name=
"number"
value=
"00132"
/>
<option
name=
"presentableId"
value=
"LOCAL-00132"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1524734309558
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"133"
/>
<servers
/>
</component>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"506
14
6000"
/>
<option
name=
"totallyTimeSpent"
value=
"506
65
6000"
/>
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"-8"
y=
"-8"
width=
"1382"
height=
"744"
extended-state=
"6"
/>
...
...
@@ -2014,18 +2024,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/model/Contract.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"184"
>
<caret
line=
"56"
column=
"33"
lean-forward=
"true"
selection-start-line=
"56"
selection-start-column=
"33"
selection-end-line=
"56"
selection-end-column=
"33"
/>
<folding>
<element
signature=
"e#1345#1346#0"
expanded=
"true"
/>
<element
signature=
"e#1392#1393#0"
expanded=
"true"
/>
<element
signature=
"e#1430#1431#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/userio/model/SalesManLeader.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"115"
>
...
...
@@ -2172,14 +2170,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/service/impl/ContractServiceImpl.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"4140"
>
<caret
line=
"357"
column=
"60"
lean-forward=
"false"
selection-start-line=
"357"
selection-start-column=
"60"
selection-end-line=
"357"
selection-end-column=
"60"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/userio/service/AccountIOService.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"207"
>
...
...
@@ -2188,14 +2178,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/repository/ContractRepository.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"644"
>
<caret
line=
"35"
column=
"123"
lean-forward=
"false"
selection-start-line=
"35"
selection-start-column=
"18"
selection-end-line=
"35"
selection-end-column=
"123"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/userio/service/impl/AccountIOServiceImpl.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"309"
>
...
...
@@ -2222,10 +2204,37 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/model/Contract.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"194"
>
<caret
line=
"216"
column=
"18"
lean-forward=
"false"
selection-start-line=
"216"
selection-start-column=
"18"
selection-end-line=
"216"
selection-end-column=
"18"
/>
<folding>
<element
signature=
"e#4439#4440#0"
expanded=
"true"
/>
<element
signature=
"e#4468#4469#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/repository/ContractRepository.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"160"
>
<caret
line=
"29"
column=
"77"
lean-forward=
"false"
selection-start-line=
"29"
selection-start-column=
"77"
selection-end-line=
"29"
selection-end-column=
"77"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/service/impl/ContractServiceImpl.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"4140"
>
<caret
line=
"357"
column=
"60"
lean-forward=
"false"
selection-start-line=
"357"
selection-start-column=
"60"
selection-end-line=
"357"
selection-end-column=
"60"
/>
<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=
"
36
7"
>
<caret
line=
"
200"
column=
"42"
lean-forward=
"false"
selection-start-line=
"200"
selection-start-column=
"42"
selection-end-line=
"200"
selection-end-column=
"42
"
/>
<state
relative-caret-position=
"
13
7"
>
<caret
line=
"
199"
column=
"50"
lean-forward=
"false"
selection-start-line=
"199"
selection-start-column=
"50"
selection-end-line=
"199"
selection-end-column=
"50
"
/>
<folding
/>
</state>
</provider>
...
...
src/main/java/common/repository/ContractRepository.java
View file @
0b3088ab
...
...
@@ -27,7 +27,7 @@ public interface ContractRepository extends JpaRepository<Contract, Long> {
@Query
(
value
=
"select * from contract where contract_code = ?1"
,
nativeQuery
=
true
)
Contract
findByCode
(
String
contract_code
);
@Query
(
value
=
"SELECT * from contract where platform = ?1"
,
nativeQuery
=
true
)
@Query
(
value
=
"SELECT * from contract where platform = ?1
and type = 'main'
"
,
nativeQuery
=
true
)
List
<
Contract
>
findByPlatform
(
String
platform
);
@Query
(
value
=
"SELECT * from contract where platform = ?1 and email = ?2 and type = ?3"
,
nativeQuery
=
true
)
...
...
src/main/java/tkio/service/impl/TkioAccountServiceImpl.java
View file @
0b3088ab
...
...
@@ -198,7 +198,6 @@ public class TkioAccountServiceImpl implements TkioAccountService {
Map
<
String
,
Integer
>
backTimeMap
=
getBackTime
();
Map
<
String
,
List
<
Contract
>>
payMap
=
getPay
();
for
(
Account4Web
aw
:
account4WebList
){
logger
.
error
(
aw
.
toString
());
if
(
backTimeMap
.
containsKey
(
aw
.
getEmail
())){
aw
.
setBackTime
(
backTimeMap
.
get
(
aw
.
getEmail
()));
}
else
{
...
...
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