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
33ed163f
Commit
33ed163f
authored
May 19, 2022
by
jianshuqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改功能:删除限制"费用类别不一致"
parent
5d611ea0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
CostDetailServiceImpl.java
...other/module/cost/service/impl/CostDetailServiceImpl.java
+3
-3
No files found.
cost-service/src/main/java/com/blt/other/module/cost/service/impl/CostDetailServiceImpl.java
View file @
33ed163f
...
@@ -71,9 +71,9 @@ public class CostDetailServiceImpl extends ServiceImpl<CostDetailDao, CostDetail
...
@@ -71,9 +71,9 @@ public class CostDetailServiceImpl extends ServiceImpl<CostDetailDao, CostDetail
//List<CostDetailDomain> costDetailDomainList = baseMapper.selectListByCostNo(costDetailDomain.getCostNo());
//List<CostDetailDomain> costDetailDomainList = baseMapper.selectListByCostNo(costDetailDomain.getCostNo());
CostDomain
costDomain
=
costDao
.
selectByCostNo
(
req
.
getCostNo
());
CostDomain
costDomain
=
costDao
.
selectByCostNo
(
req
.
getCostNo
());
if
(!
req
.
getTypeNo
().
equals
(
costDomain
.
getTypeNo
()))
{
//
if (!req.getTypeNo().equals(costDomain.getTypeNo())) {
throw
new
BizRuntimeException
(
"费用类别不一致"
);
//
throw new BizRuntimeException("费用类别不一致");
}
//
}
BeanUtils
.
copyProperties
(
req
,
costDetailDomain
);
BeanUtils
.
copyProperties
(
req
,
costDetailDomain
);
if
(
req
.
getFilePath
()
==
null
||
req
.
getFilePath
().
isEmpty
())
{
if
(
req
.
getFilePath
()
==
null
||
req
.
getFilePath
().
isEmpty
())
{
...
...
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