Commit 0bc58aa2 by huluobin

Merge branch 'master' into 3.0

# Conflicts:
#	cost-service/src/main/java/com/blt/other/module/cost/service/impl/AppCostServiceImpl.java
parents 14c79786 fe89a9f5
...@@ -33,6 +33,8 @@ public class AppCostServiceImpl implements AppCostService { ...@@ -33,6 +33,8 @@ public class AppCostServiceImpl implements AppCostService {
@Resource @Resource
CostDao costDao; CostDao costDao;
@Resource @Resource
CostService costService;
@Resource
CostDetailService costDetailService; CostDetailService costDetailService;
@Resource @Resource
...@@ -43,6 +45,10 @@ public class AppCostServiceImpl implements AppCostService { ...@@ -43,6 +45,10 @@ public class AppCostServiceImpl implements AppCostService {
IPage<CostDomain> costDomainIPage = new Page<>(req.getPageNum(), req.getPageSize()); IPage<CostDomain> costDomainIPage = new Page<>(req.getPageNum(), req.getPageSize());
costDetailService.setDetail(costDomainIPage.getRecords()); costDetailService.setDetail(costDomainIPage.getRecords());
Page<CostDomain> result = costDao.appCheckCostList(costDomainIPage, req);
costDetailService.setDetail(result.getRecords());
return (Page<CostDto>) result.convert(CostDomain::castToDto);
Page<CostDomain> result = costDao.appCheckCostList(costDomainIPage, req); Page<CostDomain> result = costDao.appCheckCostList(costDomainIPage, req);
costDetailService.setDetail(result.getRecords()); costDetailService.setDetail(result.getRecords());
......
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