feat(wms): 添加调拨订单项目调拨状态字段

- 在 WmsTransferOrderItem 实体中新增 isTransferred 字段用于标识是否已调拨
- 在 WmsTransferOrderItemBo 和 WmsTransferOrderItemVo 中同步添加调拨状态字段
- 在 MyBatis 映射文件中配置 isTransferred 字段映射关系
- 在查询条件中增加调拨状态过滤功能
- 添加调拨单审批状态校验逻辑确保只有审批通过才能调拨
- 在调拨操作完成后设置项目为已调拨状态(isTransferred=1)
This commit is contained in:
2026-04-10 10:25:04 +08:00
parent 1bbd3a6f4d
commit c323ef7a52
5 changed files with 29 additions and 0 deletions

View File

@@ -60,6 +60,10 @@ public class WmsTransferOrderItem extends BaseEntity {
* 备注
*/
private String remark;
/**
* 是否已经调拨 0-未调拨 1-已调拨
*/
private Integer isTransferred;
/**
* 删除标记(0正常 1删除)
*/

View File

@@ -74,4 +74,9 @@ public class WmsTransferOrderItemBo extends BaseEntity {
*/
private String remark;
/**
* 是否已经调拨 0-未调拨 1-已调拨
*/
private Integer isTransferred;
}

View File

@@ -79,6 +79,11 @@ public class WmsTransferOrderItemVo {
@ExcelProperty(value = "备注")
private String remark;
/**
* 是否已经调拨 0-未调拨 1-已调拨
*/
private Integer isTransferred;
// ========== 改之前物料信息 ==========
/**
* 改之前物料类型名称