- 在 IWmsFinancialDocumentService接口中新增 queryPageListDetail 方法 - 在 WmsFinancialDocumentController 中添加 ListListDetail 控制器方法 - 在 WmsFinancialDocumentMapper 接口中新增 selectVoPageDetail 方法 - 在 WmsFinancialDocumentMapper.xml 中添加新的 SQL 查询语句 - 在 WmsFinancialDocumentServiceImpl 中实现 queryPageListDetail 方法 - 更新 WmsFinancialDocumentVo 和 WmsJournalEntryVo 类以支持明细列表查询
105 lines
2.5 KiB
Java
105 lines
2.5 KiB
Java
package com.klp.domain.vo;
|
||
|
||
import java.math.BigDecimal;
|
||
import java.util.Date;
|
||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
||
import com.alibaba.excel.annotation.ExcelProperty;
|
||
import com.klp.common.annotation.ExcelDictFormat;
|
||
import com.klp.common.convert.ExcelDictConvert;
|
||
import lombok.Data;
|
||
|
||
|
||
/**
|
||
* 日记账凭证(宽松版)视图对象 wms_journal_entry
|
||
*
|
||
* @author klp
|
||
* @date 2025-08-13
|
||
*/
|
||
@Data
|
||
@ExcelIgnoreUnannotated
|
||
public class WmsJournalEntryVo {
|
||
|
||
private static final long serialVersionUID = 1L;
|
||
|
||
/**
|
||
* 分录ID(主键)
|
||
*/
|
||
@ExcelProperty(value = "分录ID", converter = ExcelDictConvert.class)
|
||
@ExcelDictFormat(readConverterExp = "主键")
|
||
private Long entryId;
|
||
|
||
/**
|
||
* 凭证编号
|
||
*/
|
||
@ExcelProperty(value = "凭证编号")
|
||
private String voucherNo;
|
||
|
||
/**
|
||
* 分录行号(同一凭证内序号)
|
||
*/
|
||
@ExcelProperty(value = "分录行号", converter = ExcelDictConvert.class)
|
||
@ExcelDictFormat(readConverterExp = "同=一凭证内序号")
|
||
private Long lineNo;
|
||
|
||
/**
|
||
* 记账日期
|
||
*/
|
||
@ExcelProperty(value = "记账日期")
|
||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||
private Date entryDate;
|
||
|
||
/**
|
||
* 科目ID
|
||
*/
|
||
@ExcelProperty(value = "科目ID")
|
||
private Long accountId;
|
||
|
||
/**
|
||
* 借方金额(可为0或负数用于调账/红冲)
|
||
*/
|
||
@ExcelProperty(value = "借方金额", converter = ExcelDictConvert.class)
|
||
@ExcelDictFormat(readConverterExp = "可=为0或负数用于调账/红冲")
|
||
private BigDecimal debitAmount;
|
||
|
||
/**
|
||
* 贷方金额(可为0或负数用于调账/红冲)
|
||
*/
|
||
@ExcelProperty(value = "贷方金额", converter = ExcelDictConvert.class)
|
||
@ExcelDictFormat(readConverterExp = "可=为0或负数用于调账/红冲")
|
||
private BigDecimal creditAmount;
|
||
|
||
/**
|
||
* 参考单据号
|
||
*/
|
||
@ExcelProperty(value = "参考单据号")
|
||
private String referenceNo;
|
||
|
||
/**
|
||
* 关联订单ID
|
||
*/
|
||
@ExcelProperty(value = "关联订单ID")
|
||
private Long relatedOrderId;
|
||
|
||
/**
|
||
* 状态
|
||
*/
|
||
@ExcelProperty(value = "状态")
|
||
private String status;
|
||
|
||
/**
|
||
* 备注
|
||
*/
|
||
@ExcelProperty(value = "备注")
|
||
private String remark;
|
||
|
||
|
||
public Long getEntryId() {
|
||
return entryId;
|
||
}
|
||
|
||
public void setEntryId(Long entryId) {
|
||
this.entryId = entryId;
|
||
}
|
||
}
|