feat(wms): 新增财务单据查询接口并优化相关功能
- 在 IWmsFinancialDocumentService接口中新增 queryPageListDetail 方法 - 在 WmsFinancialDocumentController 中添加 ListListDetail 控制器方法 - 在 WmsFinancialDocumentMapper 接口中新增 selectVoPageDetail 方法 - 在 WmsFinancialDocumentMapper.xml 中添加新的 SQL 查询语句 - 在 WmsFinancialDocumentServiceImpl 中实现 queryPageListDetail 方法 - 更新 WmsFinancialDocumentVo 和 WmsJournalEntryVo 类以支持明细列表查询
This commit is contained in:
@@ -2,6 +2,8 @@ package com.klp.domain.vo;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
@@ -72,5 +74,8 @@ public class WmsFinancialDocumentVo {
|
||||
@ExcelProperty(value = "备注")
|
||||
private String remark;
|
||||
|
||||
//明细列表
|
||||
private List<WmsJournalEntryVo> detailList;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ public class WmsJournalEntryVo {
|
||||
* 分录ID(主键)
|
||||
*/
|
||||
@ExcelProperty(value = "分录ID", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "主=键")
|
||||
@ExcelDictFormat(readConverterExp = "主键")
|
||||
private Long entryId;
|
||||
|
||||
/**
|
||||
@@ -94,4 +94,11 @@ public class WmsJournalEntryVo {
|
||||
private String remark;
|
||||
|
||||
|
||||
public Long getEntryId() {
|
||||
return entryId;
|
||||
}
|
||||
|
||||
public void setEntryId(Long entryId) {
|
||||
this.entryId = entryId;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user