feat(wms): 新增财务单据查询接口并优化相关功能

- 在 IWmsFinancialDocumentService接口中新增 queryPageListDetail 方法
- 在 WmsFinancialDocumentController 中添加 ListListDetail 控制器方法
- 在 WmsFinancialDocumentMapper 接口中新增 selectVoPageDetail 方法
- 在 WmsFinancialDocumentMapper.xml 中添加新的 SQL 查询语句
- 在 WmsFinancialDocumentServiceImpl 中实现 queryPageListDetail 方法
- 更新 WmsFinancialDocumentVo 和 WmsJournalEntryVo 类以支持明细列表查询
This commit is contained in:
2025-08-13 14:48:44 +08:00
parent b6c042d3d3
commit 28ecd2ff52
7 changed files with 86 additions and 4 deletions

View File

@@ -48,7 +48,15 @@ public class WmsFinancialDocumentServiceImpl implements IWmsFinancialDocumentSer
Page<WmsFinancialDocumentVo> result = baseMapper.selectVoPage(pageQuery.build(), lqw);
return TableDataInfo.build(result);
}
/**
* 查询财务单据列表携带明细
*/
@Override
public TableDataInfo<WmsFinancialDocumentVo> queryPageListDetail(WmsFinancialDocumentBo bo, PageQuery pageQuery) {
LambdaQueryWrapper<WmsFinancialDocument> lqw = buildQueryWrapper(bo);
Page<WmsFinancialDocumentVo> result = baseMapper.selectVoPageDetail(pageQuery.build(), lqw);
return TableDataInfo.build(result);
}
/**
* 查询财务单据列表
*/