feat(wms): 添加PDA毛坯入库功能及标签解析

- 在ResultionPackageCodeDto中添加BlankNumber字段用于存储毛坯号
- 新增IWmBlankInventoryService接口方法PDABlankWarehousing和ResolutionPackage
- 实现毛坯标签解析逻辑ResolutionPackagecode4
- 添加BlankInventoryWarehousingDto用于毛坯入库数据传输
- 在WmBlankInventoryController中新增PDA入库和标签解析API
- 实现WmBlankInventoryService中PDA入库核心逻辑
This commit is contained in:
2025-10-14 19:36:07 +08:00
parent d9c9e13d15
commit 893bffa431
6 changed files with 276 additions and 13 deletions

View File

@@ -19,6 +19,10 @@
/// 零件号
/// </summary>
public string PartNumner { get; set; }
/// <summary>
/// 毛坯号
/// </summary>
public string BlankNumber { get; set; }
/// <summary>
/// 工单号

View File

@@ -25,23 +25,27 @@ namespace ZR.Model.MES.wms.Dto
public string BlankNum { get; set; }
/// <summary>
/// 单位
/// 单位
///</summary>
public string Unit { get; set; }
/// <summary>
/// 颜色
/// 颜色
///</summary>
public string Color { get; set; }
/// <summary>
/// 规格
/// 规格
///</summary>
public string Specification { get; set; }
/// <summary>
/// 描述
/// 描述
///</summary>
public string Description { get; set; }
/// <summary>
/// 版本号
/// 版本号
///</summary>
public string Version { get; set; }
@@ -81,4 +85,23 @@ namespace ZR.Model.MES.wms.Dto
public DateTime? UpdatedTime { get; set; }
}
}
/// <summary>
/// 毛坯库存入库
/// </summary>
public class BlankInventoryWarehousingDto
{
public List<ResultionPackageCodeDto> PackageList { get; set; } = new List<ResultionPackageCodeDto>();
// 1-返工件 对应数据库type=2 0-非返工件 对应数据库type=1
public int IsBack { get; set; } = 1;
public string CreatedBy { get; set; }
public DateTime? CreatedTime { get; set; }
public string UpdatedBy { get; set; }
public DateTime? UpdatedTime { get; set; }
}
}