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
6af3f31c
Commit
6af3f31c
authored
Mar 07, 2025
by
jianshuqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
费用付款单增加保存内部分类
parent
35a2e961
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
CostPlanNewPayServiceImpl.java
...cost/service/impl/costplan/CostPlanNewPayServiceImpl.java
+5
-1
No files found.
cost-service/src/main/java/com/blt/other/module/cost/service/impl/costplan/CostPlanNewPayServiceImpl.java
View file @
6af3f31c
...
...
@@ -111,7 +111,11 @@ public class CostPlanNewPayServiceImpl extends AbstractCostPlanService implement
costDomain
.
setCostNo
(
costNo
);
CostTypeDomain
costTypeDomain
=
costTypeDao
.
selectById
(
typeId
);
costDomain
.
setCostType
(
costTypeDomain
);
if
(
StringUtils
.
isNotBlank
(
costDetailDomains
.
get
(
0
).
getTypeInnerName
()))
{
costDomain
.
setTypeInnerName
(
costDetailDomains
.
get
(
0
).
getTypeInnerName
());
}
else
{
costDomain
.
setTypeInnerName
(
costDomain
.
getTypeName
());
}
costDomain
.
setAmount
(
costDetailDomains
.
stream
().
map
(
CostDetailDomain:
:
getAmount
).
reduce
(
BigDecimal
.
ZERO
,
BigDecimal:
:
add
));
costDomain
.
setDic
(
costDetailDomains
.
get
(
0
).
getDic
());
...
...
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