Files
klp-oa/klp-wms/src/main/java/com/klp/domain/vo/WmsJournalEntryVo.java
Joshi 1002999310 refactor(wms): 用 documentId 替代 referenceNo
- 在 WmsJournalEntry、WmsJournalEntryBo、WmsJournalEntryVo 中将 referenceNo 字段改为 documentId
- 更新 WmsFinancialDocumentMapper.xml 中的相关 SQL 语句
- 修改 WmsJournalEntryServiceImpl 中的查询条件
2025-08-13 15:04:08 +08:00

105 lines
2.5 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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 Long documentId;
/**
* 关联订单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;
}
}