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
4ee207de
Commit
4ee207de
authored
Jul 28, 2021
by
liyanlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
9c391e77
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
CostDetailServiceImpl.java
...other/module/cost/service/impl/CostDetailServiceImpl.java
+5
-3
No files found.
cost-service/src/main/java/com/blt/other/module/cost/service/impl/CostDetailServiceImpl.java
View file @
4ee207de
...
@@ -68,9 +68,11 @@ public class CostDetailServiceImpl extends ServiceImpl<CostDetailDao, CostDetail
...
@@ -68,9 +68,11 @@ public class CostDetailServiceImpl extends ServiceImpl<CostDetailDao, CostDetail
public
ResetResp
reset
(
ResetReq
req
)
{
public
ResetResp
reset
(
ResetReq
req
)
{
CostDetailDomain
costDetailDomain
=
this
.
getCostDetailByDetailNo
(
req
.
getDetailNo
());
CostDetailDomain
costDetailDomain
=
this
.
getCostDetailByDetailNo
(
req
.
getDetailNo
());
List
<
CostDetailDomain
>
costDetailDomainList
=
baseMapper
.
selectListByCostNo
(
costDetailDomain
.
getCostNo
());
//List<CostDetailDomain> costDetailDomainList = baseMapper.selectListByCostNo(costDetailDomain.getCostNo());
if
(
costDetailDomainList
.
size
()
>
1
)
{
CostDomain
costDomain
=
costDao
.
selectByCostNo
(
req
.
getCostNo
());
throw
new
BizRuntimeException
(
"大于1条不能改"
);
if
(!
req
.
getTypeNo
().
equals
(
costDomain
.
getTypeNo
()))
{
throw
new
BizRuntimeException
(
"费用类别不一致"
);
}
}
BeanUtils
.
copyProperties
(
req
,
costDetailDomain
);
BeanUtils
.
copyProperties
(
req
,
costDetailDomain
);
...
...
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