Files
klp-oa/klp-wms/src/main/java/com/klp/domain/bo/WmsTransferOrderBo.java
Joshi c8987f6fdd feat(transfer): 添加调拨单审批功能和调拨类型字段
- 在WmsTransferOrder实体中添加调拨类型、审批人、审批时间和审批状态字段
- 在WmsMaterialCoil实体中添加调拨类型字段用于关联调拨信息
- 实现调拨单审批接口,支持通过或驳回操作
- 更新调拨单明细处理逻辑,确保调拨类型正确传递到钢卷信息
- 添加调拨单取消功能,可恢复调拨前的状态
- 在导出VO中增加调拨类型字段支持Excel导出
- 更新查询条件支持按调拨类型、审批状态等字段筛选
- 完善调拨流程中的数据验证和错误处理机制
2026-04-10 09:24:42 +08:00

79 lines
1.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.bo;
import com.klp.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
/**
* 调拨单主业务对象 wms_transfer_order
*
* @author klp
* @date 2026-03-27
*/
@Data
@EqualsAndHashCode(callSuper = true)
public class WmsTransferOrderBo extends BaseEntity {
/**
* 调拨单主键ID
*/
private Long orderId;
/**
* 调拨单号(唯一格式DB+年月日+流水号)
*/
private String transferNo;
/**
* 调拨单名称
*/
private String transferName;
/**
* 调拨状态 0-待审核 1-已完成 2-已取消
*/
private Long transferStatus;
/**
* 实际调拨时间
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date transferTime;
/**
* 备注
*/
private String remark;
/**
* 调拨类型
*/
private String transferType;
/**
* 审批人
*/
private String approveBy;
/**
* 审批时间
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date approveTime;
/**
* 审批状态 0-待审批 1-已通过 2-已驳回
*/
private Integer approveStatus;
}