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
4b8bfbac
Commit
4b8bfbac
authored
Jan 31, 2018
by
manxiaoqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
app排序
parent
e87c86ca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
29 deletions
+29
-29
workspace.xml
.idea/workspace.xml
+27
-27
ContractController.java
src/main/java/common/controller/ContractController.java
+2
-2
No files found.
.idea/workspace.xml
View file @
4b8bfbac
...
...
@@ -24,11 +24,11 @@
<component
name=
"ExecutionTargetManager"
SELECTED_TARGET=
"default_target"
/>
<component
name=
"FileEditorManager"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<file
leaf-file-name=
"ContractController.java"
pinned=
"false"
current-in-tab=
"
fals
e"
>
<file
leaf-file-name=
"ContractController.java"
pinned=
"false"
current-in-tab=
"
tru
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=
"
552
"
>
<caret
line=
"6
9"
column=
"9"
lean-forward=
"false"
selection-start-line=
"69"
selection-start-column=
"9"
selection-end-line=
"69"
selection-end-column=
"9
"
/>
<state
relative-caret-position=
"
414
"
>
<caret
line=
"6
3"
column=
"47"
lean-forward=
"true"
selection-start-line=
"63"
selection-start-column=
"47"
selection-end-line=
"63"
selection-end-column=
"47
"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
...
...
@@ -36,11 +36,11 @@
</provider>
</entry>
</file>
<file
leaf-file-name=
"ContractServiceImpl.java"
pinned=
"false"
current-in-tab=
"
tru
e"
>
<file
leaf-file-name=
"ContractServiceImpl.java"
pinned=
"false"
current-in-tab=
"
fals
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=
"1
38
"
>
<caret
line=
"17
3"
column=
"32"
lean-forward=
"false"
selection-start-line=
"173"
selection-start-column=
"8"
selection-end-line=
"173"
selection-end-column=
"32
"
/>
<state
relative-caret-position=
"1
012
"
>
<caret
line=
"17
8"
column=
"9"
lean-forward=
"true"
selection-start-line=
"178"
selection-start-column=
"9"
selection-end-line=
"178"
selection-end-column=
"9
"
/>
<folding
/>
</state>
</provider>
...
...
@@ -1309,14 +1309,7 @@
<workItem
from=
"1516932422302"
duration=
"5866000"
/>
<workItem
from=
"1517189406074"
duration=
"8333000"
/>
<workItem
from=
"1517275427548"
duration=
"11524000"
/>
<workItem
from=
"1517361892578"
duration=
"10132000"
/>
</task>
<task
id=
"LOCAL-00021"
summary=
"pom"
>
<created>
1515046219519
</created>
<option
name=
"number"
value=
"00021"
/>
<option
name=
"presentableId"
value=
"LOCAL-00021"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1515046219519
</updated>
<workItem
from=
"1517361892578"
duration=
"11038000"
/>
</task>
<task
id=
"LOCAL-00022"
summary=
"pom"
>
<created>
1515048013108
</created>
...
...
@@ -1654,11 +1647,18 @@
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1517384165633
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"70"
/>
<task
id=
"LOCAL-00070"
summary=
"app排序"
>
<created>
1517388583155
</created>
<option
name=
"number"
value=
"00070"
/>
<option
name=
"presentableId"
value=
"LOCAL-00070"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1517388583155
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"71"
/>
<servers
/>
</component>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"30
7942
000"
/>
<option
name=
"totallyTimeSpent"
value=
"30
8848
000"
/>
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"-8"
y=
"-8"
width=
"1382"
height=
"744"
extended-state=
"6"
/>
...
...
@@ -1682,7 +1682,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=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"
tru
e"
show_stripe_button=
"true"
weight=
"0.33224222"
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.33224222"
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.30711043"
sideWeight=
"0.5"
order=
"8"
side_tool=
"false"
content_ui=
"combo"
/>
...
...
@@ -2251,21 +2251,21 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/
controller/ContractController
.java"
>
<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=
"552"
>
<caret
line=
"69"
column=
"9"
lean-forward=
"false"
selection-start-line=
"69"
selection-start-column=
"9"
selection-end-line=
"69"
selection-end-column=
"9"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"1012"
>
<caret
line=
"178"
column=
"9"
lean-forward=
"true"
selection-start-line=
"178"
selection-start-column=
"9"
selection-end-line=
"178"
selection-end-column=
"9"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/
service/impl/ContractServiceImpl
.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/common/
controller/ContractController
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"138"
>
<caret
line=
"173"
column=
"32"
lean-forward=
"false"
selection-start-line=
"173"
selection-start-column=
"8"
selection-end-line=
"173"
selection-end-column=
"32"
/>
<folding
/>
<state
relative-caret-position=
"414"
>
<caret
line=
"63"
column=
"47"
lean-forward=
"true"
selection-start-line=
"63"
selection-start-column=
"47"
selection-end-line=
"63"
selection-end-column=
"47"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
...
...
src/main/java/common/controller/ContractController.java
View file @
4b8bfbac
...
...
@@ -60,12 +60,12 @@ public class ContractController {
InputStream
in
=
null
;
byte
[]
content
=
new
byte
[
0
];
StringBuilder
sb
=
new
StringBuilder
();
sb
.
append
(
"时间,合同编号,客户账号,签约方,销售,开始日期,结束日期,套餐类型,合同金额,折扣,收款金额,合同状态"
);
sb
.
append
(
"时间,合同编号,客户账号,签约方,销售,开始日期,结束日期,套餐类型,合同金额,折扣,收款金额,合同状态
\r\n
"
);
if
(
ValidateUtil
.
isValid
(
contractList
)){
for
(
Contract
c
:
contractList
){
sb
.
append
(
c
.
getDs
()).
append
(
c
.
getContractCode
()).
append
(
c
.
getEmail
()).
append
(
c
.
getCustomerBody
()).
append
(
c
.
getSaleName
())
.
append
(
c
.
getStartDate
()).
append
(
c
.
getEndDate
()).
append
(
c
.
getPriceLevelName
()).
append
(
c
.
getMoney
()).
append
(
c
.
getPayMoney
())
.
append
(
c
.
getStatus
());
.
append
(
c
.
getStatus
())
.
append
(
"\r\n"
)
;
}
}
content
=
sb
.
toString
().
getBytes
();
...
...
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