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
700e54a9
Commit
700e54a9
authored
Jan 23, 2018
by
manxiaoqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合同
parent
477b0603
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
31 deletions
+28
-31
workspace.xml
.idea/workspace.xml
+26
-29
ContractServiceImpl.java
src/main/java/common/service/impl/ContractServiceImpl.java
+2
-2
No files found.
.idea/workspace.xml
View file @
700e54a9
...
...
@@ -3,10 +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/controller/ContractController.java"
afterPath=
"$PROJECT_DIR$/src/main/java/common/controller/ContractController.java"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/java/common/service/ContractService.java"
afterPath=
"$PROJECT_DIR$/src/main/java/common/service/ContractService.java"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/java/common/service/impl/ContractServiceImpl.java"
afterPath=
"$PROJECT_DIR$/src/main/java/common/service/impl/ContractServiceImpl.java"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/java/common/task/SyncAppDataTask.java"
afterPath=
"$PROJECT_DIR$/src/main/java/common/task/SyncAppDataTask.java"
/>
</list>
<ignored
path=
"$PROJECT_DIR$/target/"
/>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
...
...
@@ -57,11 +54,11 @@
</provider>
</entry>
</file>
<file
leaf-file-name=
"ContractController.java"
pinned=
"false"
current-in-tab=
"
tru
e"
>
<file
leaf-file-name=
"ContractController.java"
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/controller/ContractController.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"421"
>
<caret
line=
"33"
column=
"91"
lean-forward=
"
false"
selection-start-line=
"33"
selection-start-column=
"91
"
selection-end-line=
"33"
selection-end-column=
"91"
/>
<caret
line=
"33"
column=
"91"
lean-forward=
"
true"
selection-start-line=
"33"
selection-start-column=
"66
"
selection-end-line=
"33"
selection-end-column=
"91"
/>
<folding
/>
</state>
</provider>
...
...
@@ -77,11 +74,11 @@
</provider>
</entry>
</file>
<file
leaf-file-name=
"ContractServiceImpl.java"
pinned=
"false"
current-in-tab=
"
fals
e"
>
<file
leaf-file-name=
"ContractServiceImpl.java"
pinned=
"false"
current-in-tab=
"
tru
e"
>
<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=
"
596
"
>
<caret
line=
"21
6"
column=
"91"
lean-forward=
"false"
selection-start-line=
"216"
selection-start-column=
"91"
selection-end-line=
"216"
selection-end-column=
"91
"
/>
<state
relative-caret-position=
"
343
"
>
<caret
line=
"21
8"
column=
"119"
lean-forward=
"false"
selection-start-line=
"218"
selection-start-column=
"119"
selection-end-line=
"218"
selection-end-column=
"119
"
/>
<folding
/>
</state>
</provider>
...
...
@@ -197,8 +194,8 @@
<option
value=
"$PROJECT_DIR$/src/main/java/tkio/service/impl/TkioAccountServiceImpl.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/impl/ContractServiceImpl.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/controller/ContractController.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/common/service/impl/ContractServiceImpl.java"
/>
</list>
</option>
</component>
...
...
@@ -963,14 +960,7 @@
<workItem
from=
"1516155511499"
duration=
"43292000"
/>
<workItem
from=
"1516327450910"
duration=
"12490000"
/>
<workItem
from=
"1516586760731"
duration=
"18149000"
/>
<workItem
from=
"1516670938448"
duration=
"2352000"
/>
</task>
<task
id=
"LOCAL-00004"
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>
1514871229876
</created>
<option
name=
"number"
value=
"00004"
/>
<option
name=
"presentableId"
value=
"LOCAL-00004"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1514871229876
</updated>
<workItem
from=
"1516670938448"
duration=
"3341000"
/>
</task>
<task
id=
"LOCAL-00005"
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>
1514871353137
</created>
...
...
@@ -1308,11 +1298,18 @@
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1516671393124
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"53"
/>
<task
id=
"LOCAL-00053"
summary=
"合同"
>
<created>
1516674172587
</created>
<option
name=
"number"
value=
"00053"
/>
<option
name=
"presentableId"
value=
"LOCAL-00053"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1516674172587
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"54"
/>
<servers
/>
</component>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"24
7061
000"
/>
<option
name=
"totallyTimeSpent"
value=
"24
8050
000"
/>
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"-8"
y=
"-8"
width=
"1382"
height=
"744"
extended-state=
"6"
/>
...
...
@@ -1336,7 +1333,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=
"5"
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=
"
true"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"tru
e"
show_stripe_button=
"true"
weight=
"0.4304419"
sideWeight=
"0.49016643"
order=
"9"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Run"
active=
"
false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"fals
e"
show_stripe_button=
"true"
weight=
"0.4304419"
sideWeight=
"0.49016643"
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.3289689"
sideWeight=
"0.5"
order=
"3"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Terminal"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.5581015"
sideWeight=
"0.5"
order=
"5"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Project"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.2934947"
sideWeight=
"0.5"
order=
"8"
side_tool=
"false"
content_ui=
"combo"
/>
...
...
@@ -1877,14 +1874,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=
"596"
>
<caret
line=
"216"
column=
"91"
lean-forward=
"false"
selection-start-line=
"216"
selection-start-column=
"91"
selection-end-line=
"216"
selection-end-column=
"91"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/service/ContractService.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"183"
>
...
...
@@ -1896,7 +1885,15 @@
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/controller/ContractController.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"421"
>
<caret
line=
"33"
column=
"91"
lean-forward=
"false"
selection-start-line=
"33"
selection-start-column=
"91"
selection-end-line=
"33"
selection-end-column=
"91"
/>
<caret
line=
"33"
column=
"91"
lean-forward=
"true"
selection-start-line=
"33"
selection-start-column=
"66"
selection-end-line=
"33"
selection-end-column=
"91"
/>
<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=
"343"
>
<caret
line=
"218"
column=
"119"
lean-forward=
"false"
selection-start-line=
"218"
selection-start-column=
"119"
selection-end-line=
"218"
selection-end-column=
"119"
/>
<folding
/>
</state>
</provider>
...
...
src/main/java/common/service/impl/ContractServiceImpl.java
View file @
700e54a9
...
...
@@ -188,7 +188,7 @@ public class ContractServiceImpl implements ContractService{
for
(
Contract
c
:
contractList
){
c
.
setSaleName
(
saleMap
.
containsKey
(
c
.
getSale
())
?
saleMap
.
get
(
c
.
getSale
())
:
""
);
c
.
setPriceLevelName
(
typeMap
.
containsKey
(
c
.
getPriceLevel
())
?
typeMap
.
get
(
c
.
getPriceLevel
())
:
""
);
c
.
setCreateName
(
saleMap
.
containsKey
(
c
.
get
Sale
())
?
saleMap
.
get
(
c
.
getSale
())
:
""
);
c
.
setCreateName
(
saleMap
.
containsKey
(
c
.
get
CreateAccount
())
?
saleMap
.
get
(
c
.
getCreateAccount
())
:
""
);
result
.
add
(
c
);
}
}
...
...
@@ -216,7 +216,7 @@ public class ContractServiceImpl implements ContractService{
Contract
contract
=
contractRepository
.
findByCode
(
code
);
contract
.
setSaleName
(
saleMap
.
containsKey
(
contract
.
getSale
())
?
saleMap
.
get
(
contract
.
getSale
())
:
""
);
contract
.
setPriceLevelName
(
typeMap
.
containsKey
(
contract
.
getPriceLevel
())
?
typeMap
.
get
(
contract
.
getPriceLevel
())
:
""
);
contract
.
setCreateName
(
saleMap
.
containsKey
(
contract
.
get
Sale
())
?
saleMap
.
get
(
contract
.
getSale
())
:
""
);
contract
.
setCreateName
(
saleMap
.
containsKey
(
contract
.
get
CreateAccount
())
?
saleMap
.
get
(
contract
.
getCreateAccount
())
:
""
);
return
contract
;
}
...
...
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