feat(材料管理): 添加炉号字段并优化工单排序逻辑

在材料相关的DTO和服务中添加StoveCode字段以支持炉号记录
优化工单导入服务中的排序逻辑,处理空值情况
调整报表流程服务中的材料查询和更新逻辑
This commit is contained in:
2026-02-11 14:38:04 +08:00
parent 0885d26796
commit 9e096214c7
7 changed files with 41 additions and 20 deletions

View File

@@ -117,6 +117,7 @@ namespace DOAN.Model.BZFM.Dto
public string TransactionType { get; set; }
public string BatchNo { get; set; }
public string StoveCode { get; set; }
public string OrderNo { get; set; }
@@ -171,6 +172,10 @@ namespace DOAN.Model.BZFM.Dto
[SugarColumn(ColumnName = "batch_no")]
public string BatchNo { get; set; }
[ExcelColumn(Name = "炉号")]
[SugarColumn(ColumnName = "stove_code")]
public string StoveCode { get; set; }
[ExcelColumn(Name = "出库数量")]
[SugarColumn(ColumnName = "quantity")]
public decimal Quantity { get; set; }

View File

@@ -89,6 +89,12 @@ namespace DOAN.Model.BZFM
[SugarColumn(ColumnName = "batch_no")]
public string BatchNo { get; set; }
/// <summary>
/// 炉号
/// </summary>
[SugarColumn(ColumnName = "stove_code")]
public string StoveCode { get; set; }
/// <summary>
/// 关联订单号
/// </summary>

View File

@@ -36,6 +36,11 @@ namespace DOAN.Model.MES.product.Dto
/// </summary>
public string BatchNo { get; set; }
/// <summary>
/// 炉号
/// </summary>
public string StoveCode { get; set; }
/// <summary>
/// 数量
/// </summary>