Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
platform
/
finance_serv
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e2c54698
authored
Sep 12, 2018
by
熊付
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
【计数法】
1 parent
3744e87c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
code/finance_serv/src/main/java/com/vion/financial/service/imp/ContractServiceImpl.java
code/finance_serv/src/main/java/com/vion/financial/service/imp/ContractServiceImpl.java
View file @
e2c5469
...
@@ -139,6 +139,24 @@ public class ContractServiceImpl implements ContractService {
...
@@ -139,6 +139,24 @@ public class ContractServiceImpl implements ContractService {
head_title_key
.
put
(
"mainten_pay_date"
,
"mainten_pay_date"
);
head_title_key
.
put
(
"mainten_pay_date"
,
"mainten_pay_date"
);
head_title_key
.
put
(
"goods_acceptanc_date"
,
"goods_acceptanc_date"
);
head_title_key
.
put
(
"goods_acceptanc_date"
,
"goods_acceptanc_date"
);
}
}
private
static
Map
<
String
,
String
>
num_key
=
new
HashMap
<
String
,
String
>();
{
num_key
.
put
(
"contract_amount"
,
"###############.00"
);
head_title_key
.
put
(
"stop_amount"
,
"###############.00"
);
head_title_key
.
put
(
"bad_amount"
,
"###############.00"
);
head_title_key
.
put
(
"exemptions_amount"
,
"###############.00"
);
head_title_key
.
put
(
"deduct_amount"
,
"###############.00"
);
head_title_key
.
put
(
"total_reback_amount"
,
"###############.00"
);
head_title_key
.
put
(
"contract_remain"
,
"###############.00"
);
head_title_key
.
put
(
"total_receive_amount"
,
"###############.00"
);
head_title_key
.
put
(
"total_amount_remain"
,
"###############.00"
);
head_title_key
.
put
(
"advance_pay"
,
"###############.00"
);
head_title_key
.
put
(
"arrive_pay"
,
"###############.00"
);
head_title_key
.
put
(
"acceptanc_pay"
,
"###############.00"
);
head_title_key
.
put
(
"mainten_pay"
,
"###############.00"
);
}
@Autowired
@Autowired
ContractMapper
contractMapper
;
ContractMapper
contractMapper
;
@Autowired
@Autowired
...
@@ -897,11 +915,17 @@ public class ContractServiceImpl implements ContractService {
...
@@ -897,11 +915,17 @@ public class ContractServiceImpl implements ContractService {
colList
.
add
(
excelExportEntity
);
colList
.
add
(
excelExportEntity
);
Object
title_name
=
null
;
Object
title_name
=
null
;
Object
title_key
=
null
;
Object
title_key
=
null
;
String
numkey
=
null
;
for
(
String
clo
:
cloumns
)
{
for
(
String
clo
:
cloumns
)
{
title_name
=
head_title_name
.
get
(
clo
);
title_name
=
head_title_name
.
get
(
clo
);
title_key
=
head_title_key
.
get
(
clo
);
title_key
=
head_title_key
.
get
(
clo
);
numkey
=
num_key
.
get
(
clo
);
if
(
title_name
!=
null
)
{
if
(
title_name
!=
null
)
{
excelExportEntity
=
new
ExcelExportEntity
(
head_title_name
.
get
(
clo
),
head_title_key
.
get
(
clo
));
excelExportEntity
=
new
ExcelExportEntity
(
head_title_name
.
get
(
clo
),
head_title_key
.
get
(
clo
));
if
(
StringUtils
.
isNotBlank
(
numkey
))
{
excelExportEntity
.
setNumFormat
(
numkey
);
excelExportEntity
.
setType
(
10
);
}
colList
.
add
(
excelExportEntity
);
colList
.
add
(
excelExportEntity
);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment