feat(wms): 添加应收货物计划管理功能
- 创建应收货物计划实体类 WmsReceivePlan - 定义应收货物计划服务接口 IWmsReceivePlanService - 实现应收货物计划服务业务逻辑 WmsReceivePlanServiceImpl - 创建应收货物计划控制器 WmsReceivePlanController - 设计应收货物计划数据传输对象 WmsReceivePlanBo 和视图对象 WmsReceivePlanVo - 配置应收货物计划数据访问映射 WmsReceivePlanMapper - 添加应收货物计划数据库映射文件 - 实现应收货物计划的增删改查功能 - 集成分页查询和导出功能
This commit is contained in:
158
klp-wms/src/main/java/com/klp/domain/vo/WmsReceivePlanVo.java
Normal file
158
klp-wms/src/main/java/com/klp/domain/vo/WmsReceivePlanVo.java
Normal file
@@ -0,0 +1,158 @@
|
||||
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 com.klp.common.core.domain.BaseEntity;
|
||||
import lombok.Data;
|
||||
|
||||
|
||||
/**
|
||||
* 应收货物计划视图对象 wms_receive_plan
|
||||
*
|
||||
* @author klp
|
||||
* @date 2026-05-10
|
||||
*/
|
||||
@Data
|
||||
@ExcelIgnoreUnannotated
|
||||
public class WmsReceivePlanVo extends BaseEntity {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
@ExcelProperty(value = "主键ID")
|
||||
private Long receiveId;
|
||||
|
||||
/**
|
||||
* 绑定应收计划ID(收货对照关联用)
|
||||
*/
|
||||
@ExcelProperty(value = "绑定应收计划ID(收货对照关联用)")
|
||||
private Long planId;
|
||||
|
||||
/**
|
||||
* 逻辑库区
|
||||
*/
|
||||
@ExcelProperty(value = "逻辑库区")
|
||||
private String warehouseArea;
|
||||
|
||||
/**
|
||||
* 入场卷号
|
||||
*/
|
||||
@ExcelProperty(value = "入场卷号")
|
||||
private String lotNo;
|
||||
|
||||
/**
|
||||
* 厂家卷号
|
||||
*/
|
||||
@ExcelProperty(value = "厂家卷号")
|
||||
private String supplierLotNo;
|
||||
|
||||
/**
|
||||
* 成品卷号
|
||||
*/
|
||||
@ExcelProperty(value = "成品卷号")
|
||||
private String productLotNo;
|
||||
|
||||
/**
|
||||
* 生产/发货日期
|
||||
*/
|
||||
@ExcelProperty(value = "生产/发货日期")
|
||||
private Date productionDate;
|
||||
|
||||
/**
|
||||
* 重量(kg)
|
||||
*/
|
||||
@ExcelProperty(value = "重量", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "k=g")
|
||||
private BigDecimal weight;
|
||||
|
||||
/**
|
||||
* 收货状态(0待收货 1已收货 2异常)
|
||||
*/
|
||||
@ExcelProperty(value = "收货状态", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "0=待收货,1=已收货,2=异常")
|
||||
private String receiveStatus;
|
||||
|
||||
/**
|
||||
* 名称
|
||||
*/
|
||||
@ExcelProperty(value = "名称")
|
||||
private String goodsName;
|
||||
|
||||
/**
|
||||
* 规格(如厚度*宽度)
|
||||
*/
|
||||
@ExcelProperty(value = "规格", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "如=厚度*宽度")
|
||||
private String spec;
|
||||
|
||||
/**
|
||||
* 长度(mm)
|
||||
*/
|
||||
@ExcelProperty(value = "长度", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "m=m")
|
||||
private BigDecimal length;
|
||||
|
||||
/**
|
||||
* 材质
|
||||
*/
|
||||
@ExcelProperty(value = "材质")
|
||||
private String materialType;
|
||||
|
||||
/**
|
||||
* 生产厂家
|
||||
*/
|
||||
@ExcelProperty(value = "生产厂家")
|
||||
private String manufacturer;
|
||||
|
||||
/**
|
||||
* 表面处理工艺
|
||||
*/
|
||||
@ExcelProperty(value = "表面处理工艺")
|
||||
private String surfaceTreatment;
|
||||
|
||||
/**
|
||||
* 锌层(g/m²)
|
||||
*/
|
||||
@ExcelProperty(value = "锌层", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(readConverterExp = "g=/m²")
|
||||
private String zincCoating;
|
||||
|
||||
/**
|
||||
* 班组
|
||||
*/
|
||||
@ExcelProperty(value = "班组")
|
||||
private String teamGroup;
|
||||
|
||||
/**
|
||||
* 调制度
|
||||
*/
|
||||
@ExcelProperty(value = "调制度")
|
||||
private String temperRolling;
|
||||
|
||||
/**
|
||||
* 镀层种类
|
||||
*/
|
||||
@ExcelProperty(value = "镀层种类")
|
||||
private String coatingType;
|
||||
|
||||
/**
|
||||
* 类型
|
||||
*/
|
||||
@ExcelProperty(value = "类型")
|
||||
private String goodsType;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
@ExcelProperty(value = "备注")
|
||||
private String remark;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user