Commit 33ed163f by jianshuqin

修改功能:删除限制"费用类别不一致"

parent 5d611ea0
...@@ -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()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment