去除warn
This commit is contained in:
@@ -2,7 +2,7 @@ namespace Tnb.ProductionMgr.Entities.Dto
|
||||
{
|
||||
public class MaterialReceiptInput
|
||||
{
|
||||
public string id { get; set; }
|
||||
public string? id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 签收单号
|
||||
@@ -59,6 +59,6 @@ namespace Tnb.ProductionMgr.Entities.Dto
|
||||
/// </summary>
|
||||
public string? mbom_process_id { get; set; }
|
||||
|
||||
public List<Dictionary<string,string>> details { get; set; }
|
||||
public List<Dictionary<string,string>>? details { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -95,7 +95,7 @@ namespace Tnb.ProductionMgr
|
||||
{
|
||||
mo_task_id = input.data["mo_task_id"]?.ToString(),
|
||||
mo_task_code = input.data["mo_task_code"]?.ToString(),
|
||||
reported_qty = (int)item["reported_qty"],
|
||||
reported_qty = item["reported_qty"]!=null ? (int)item["reported_qty"] : 0,
|
||||
create_id = item["create_id"]?.ToString(),
|
||||
create_time = DateTime.Now,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user