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
eec5b824
Commit
eec5b824
authored
Apr 06, 2023
by
jianshuqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改借支单业务
parent
bada4c4a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
AbstractCostService.java
...er/module/cost/service/impl/cost/AbstractCostService.java
+10
-5
No files found.
cost-service/src/main/java/com/blt/other/module/cost/service/impl/cost/AbstractCostService.java
View file @
eec5b824
...
@@ -198,11 +198,16 @@ public abstract class AbstractCostService implements CostService {
...
@@ -198,11 +198,16 @@ public abstract class AbstractCostService implements CostService {
//费用单明细
//费用单明细
if
(
costDomain
.
getCostDetailDomainList
()
!=
null
&&
costDomain
.
getCostDetailDomainList
().
size
()
>
0
)
{
if
(
costDomain
.
getCostDetailDomainList
()
!=
null
&&
costDomain
.
getCostDetailDomainList
().
size
()
>
0
)
{
for
(
CostDetailDomain
costDetailDomain:
costDomain
.
getCostDetailDomainList
())
{
costDetailDao
.
delete
(
new
LambdaQueryWrapper
<
CostDetailDomain
>()
// costReviewerMapper.delete(new LambdaQueryWrapper<CostReviewer>()
.
eq
(
CostDetailDomain:
:
getCostNo
,
costDomain
.
getCostNo
())
// .eq(CostReviewer::getType, CostReviewer.finalReviewer)
);
// .eq(CostReviewer::getReferId, costCompanyDomain.getId()));
for
(
int
i
=
0
;
i
<
costDomain
.
getCostDetailDomainList
().
size
();
i
++)
{
// baseMapper.updateById(costDetailDomain);
CostDetailDomain
costDetailDomain
=
costDomain
.
getCostDetailDomainList
().
get
(
i
);
CostDetailDomain
detailDomain
=
new
CostDetailDomain
();
BeanUtils
.
copyProperties
(
costDomain
,
detailDomain
);
BeanUtils
.
copyProperties
(
costDetailDomain
,
detailDomain
);
detailDomain
.
setDetailNo
(
costDomain
.
getCostPlanNo
()
+
"-"
+
i
);
costDetailDao
.
insert
(
detailDomain
);
}
}
}
}
...
...
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