|
|
|
@ -54,7 +54,7 @@ public class CrmQuoteMaterialServiceImpl implements ICrmQuoteMaterialService {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public TableDataInfo<CrmQuoteMaterialVo> queryPageList(CrmQuoteMaterialBo bo, PageQuery pageQuery) {
|
|
|
|
public TableDataInfo<CrmQuoteMaterialVo> queryPageList(CrmQuoteMaterialBo bo, PageQuery pageQuery) {
|
|
|
|
MPJLambdaWrapper<CrmQuoteMaterial> lqw = buildQueryWrapper(bo);
|
|
|
|
MPJLambdaWrapper<CrmQuoteMaterial> lqw = buildQueryWrapper(bo);
|
|
|
|
Page<CrmQuoteMaterialVo> result = baseMapper.selectVoPage(pageQuery.build(), lqw);
|
|
|
|
Page<CrmQuoteMaterialVo> result = baseMapper.selectJoinPage(pageQuery.build(), CrmQuoteMaterialVo.class, lqw);
|
|
|
|
return TableDataInfo.build(result);
|
|
|
|
return TableDataInfo.build(result);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@ -67,7 +67,7 @@ public class CrmQuoteMaterialServiceImpl implements ICrmQuoteMaterialService {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public List<CrmQuoteMaterialVo> queryList(CrmQuoteMaterialBo bo) {
|
|
|
|
public List<CrmQuoteMaterialVo> queryList(CrmQuoteMaterialBo bo) {
|
|
|
|
MPJLambdaWrapper<CrmQuoteMaterial> lqw = buildQueryWrapper(bo);
|
|
|
|
MPJLambdaWrapper<CrmQuoteMaterial> lqw = buildQueryWrapper(bo);
|
|
|
|
return baseMapper.selectVoList(lqw);
|
|
|
|
return baseMapper.selectJoinList(CrmQuoteMaterialVo.class, lqw);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private MPJLambdaWrapper<CrmQuoteMaterial> buildQueryWrapper(CrmQuoteMaterialBo bo) {
|
|
|
|
private MPJLambdaWrapper<CrmQuoteMaterial> buildQueryWrapper(CrmQuoteMaterialBo bo) {
|
|
|
|
|