Files
klp-oa/klp-wms/src/main/java/com/klp/domain/vo/WmsStockIoDetailVo.java
Joshi 1b07c5a278 feat(wms): 新增库存批次号查询功能
- 在 IWmsStockIoDetailService 接口中添加 batchQuery 方法
- 在 WmsStockIoDetailController 中添加 batchQuery 接口
- 在 WmsStockIoDetailMapper 接口中添加 batchQuery 方法
- 在 WmsStockIoDetailMapper.xml 中添加对应的 SQL 查询语句
- 在 WmsStockIoDetailServiceImpl 中实现 batchQuery 方法
- 在 WmsStockIoDetailVo 中添加主表的 stockIoCode、ioType 和 bizType 字段
2025-09-12 17:53:23 +08:00

104 lines
2.0 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 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_stock_io_detail
*
* @author Joshi
* @date 2025-07-18
*/
@Data
@ExcelIgnoreUnannotated
public class WmsStockIoDetailVo {
private static final long serialVersionUID = 1L;
/**
* 明细ID
*/
@ExcelProperty(value = "明细ID")
private Long detailId;
/**
* 出入库单ID
*/
@ExcelProperty(value = "出入库单ID")
private Long stockIoId;
/**
* 库区/库位ID
*/
@ExcelProperty(value = "库区/库位ID")
private Long warehouseId;
/**
* 物品类型raw_material/product
*/
@ExcelProperty(value = "物品类型", converter = ExcelDictConvert.class)
@ExcelDictFormat(readConverterExp = "r=aw_material/product")
private String itemType;
/**
* 物品ID
*/
@ExcelProperty(value = "物品ID")
private Long itemId;
/**
* 数量
*/
@ExcelProperty(value = "数量")
private BigDecimal quantity;
/**
* 单位
*/
@ExcelProperty(value = "单位")
private String unit;
/**
* 批次号
*/
@ExcelProperty(value = "批次号")
private String batchNo;
/**
* 备注
*/
@ExcelProperty(value = "备注")
private String remark;
/**
* 记录类型0详情1扫码枪记录
*/
private Integer recordType;
/**
* 库区/库位名称
*/
private String warehouseName;
/**
* 源库区/库位名称(移库用)
*/
private String fromWarehouseName;
/**
* 源库位ID移库时使用
*/
private Long fromWarehouseId;
//主表的 数据号 类型以及业务类型
private String stockIoCode;
private String ioType;
private String bizType;
}