Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bailuntec-cost
Overview
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
huluobin
bailuntec-cost
Commits
035b08d0
Commit
035b08d0
authored
Apr 10, 2023
by
jianshuqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导出增加借支单明细
parent
1d20b55f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
CostExportServiceImpl.java
...other/module/cost/service/impl/CostExportServiceImpl.java
+4
-1
No files found.
cost-service/src/main/java/com/blt/other/module/cost/service/impl/CostExportServiceImpl.java
View file @
035b08d0
...
@@ -192,7 +192,7 @@ public class CostExportServiceImpl implements CostExportService {
...
@@ -192,7 +192,7 @@ public class CostExportServiceImpl implements CostExportService {
exportList
=
new
ArrayList
<>();
exportList
=
new
ArrayList
<>();
for
(
String
costNo
:
exportNos
)
{
for
(
String
costNo
:
exportNos
)
{
CostDto
costDtoByNo
=
costService
.
getCostByCostNo
(
costNo
).
castToDto
();
CostDto
costDtoByNo
=
costService
.
getCostByCostNo
(
costNo
).
castToDto
();
if
(
1
==
costDtoByNo
.
getCostForm
())
{
if
(
1
==
costDtoByNo
.
getCostForm
()
||
(
3
==
costDtoByNo
.
getCostForm
()
&&
1
==
costDtoByNo
.
getIsLend
())
)
{
// 付款单,将子项目赋值到 CostDto 逐一打印
// 付款单,将子项目赋值到 CostDto 逐一打印
List
<
CostDetailDomain
>
costDetailDomains
=
costDetailDao
.
selectListByCostNo
(
costNo
);
List
<
CostDetailDomain
>
costDetailDomains
=
costDetailDao
.
selectListByCostNo
(
costNo
);
if
(
null
!=
costDetailDomains
&&
costDetailDomains
.
size
()
>=
1
)
{
if
(
null
!=
costDetailDomains
&&
costDetailDomains
.
size
()
>=
1
)
{
...
@@ -206,6 +206,9 @@ public class CostExportServiceImpl implements CostExportService {
...
@@ -206,6 +206,9 @@ public class CostExportServiceImpl implements CostExportService {
}
}
exportList
.
add
(
cost
);
exportList
.
add
(
cost
);
}
}
}
else
if
(
3
==
costDtoByNo
.
getCostForm
()
&&
1
==
costDtoByNo
.
getIsLend
())
{
costDtoByNo
.
setAmountDto
(
""
+
costDtoByNo
.
getAmount
().
setScale
(
2
,
BigDecimal
.
ROUND_HALF_UP
).
doubleValue
());
exportList
.
add
(
costDtoByNo
);
}
}
}
else
{
}
else
{
costDtoByNo
.
setAmountDto
(
""
+
costDtoByNo
.
getAmount
().
setScale
(
2
,
BigDecimal
.
ROUND_HALF_UP
).
doubleValue
());
costDtoByNo
.
setAmountDto
(
""
+
costDtoByNo
.
getAmount
().
setScale
(
2
,
BigDecimal
.
ROUND_HALF_UP
).
doubleValue
());
...
...
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