Files
klp-oa/klp-wms/src/main/java/com/klp/domain/WmsStockIo.java
Joshi 47cff10785 feat(stock): 添加退库功能- 在 IWmsStockIoService接口中添加 scanReturnStockByBo 方法
- 在 WmsStockIo 模型中添加 parentId 字段用于关联原出库单
- 在 WmsStockIoBo 中添加 parentId 字段
- 在 WmsStockIoController 中添加 scanReturnStock 控制器方法
- 在 WmsStockIoServiceImpl 中实现 scanReturnStockByBo 方法的业务逻辑
2025-08-12 10:12:13 +08:00

56 lines
1.1 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;
import com.baomidou.mybatisplus.annotation.*;
import com.klp.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* 出入库单主对象 wms_stock_io
*
* @author Joshi
* @date 2025-07-18
*/
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("wms_stock_io")
public class WmsStockIo extends BaseEntity {
private static final long serialVersionUID=1L;
/**
* 出入库单ID
*/
@TableId(value = "stock_io_id")
private Long stockIoId;
/**
* 出入库单号
*/
private String stockIoCode;
/**
* 类型in=入库out=出库)
*/
private String ioType;
/**
* 业务类型(采购、销售、退货、调拨等)
*/
private String bizType;
/**
* 单据状态0=草稿1=已提交2=已审核3=已完成)
*/
private Integer status;
/**
* 备注
*/
private String remark;
//
private Long parentId;
/**
* 删除标志0=正常1=已删除)
*/
@TableLogic
private Integer delFlag;
}