停机时长维修时长字段字符串改数字类型
This commit is contained in:
@@ -22,7 +22,7 @@ namespace Tnb.EquipMgr.Entities.Dto
|
||||
/// <summary>
|
||||
/// 维修耗时
|
||||
/// </summary>
|
||||
public string? repair_take_time { get; set; }
|
||||
public int? repair_take_time { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否停机
|
||||
@@ -32,7 +32,7 @@ namespace Tnb.EquipMgr.Entities.Dto
|
||||
/// <summary>
|
||||
/// 停机时长
|
||||
/// </summary>
|
||||
public string? halt_take_time { get; set; }
|
||||
public int? halt_take_time { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 维修描述
|
||||
|
||||
@@ -122,7 +122,7 @@ public partial class EqpRepairApply : BaseEntity<string>
|
||||
/// <summary>
|
||||
/// 维修耗时
|
||||
/// </summary>
|
||||
public string? repair_take_time { get; set; }
|
||||
public int? repair_take_time { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否停机
|
||||
@@ -132,7 +132,7 @@ public partial class EqpRepairApply : BaseEntity<string>
|
||||
/// <summary>
|
||||
/// 停机时长
|
||||
/// </summary>
|
||||
public string? halt_take_time { get; set; }
|
||||
public int? halt_take_time { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 维修描述
|
||||
|
||||
@@ -25,6 +25,11 @@ namespace Tnb.ProductionMgr.Entities.Dto
|
||||
/// </summary>
|
||||
public int is_check { get; set; }
|
||||
|
||||
public string? station_id { get; set; }
|
||||
public string? workline_id { get; set; }
|
||||
public string? workshop_id { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 子表明细
|
||||
/// </summary>
|
||||
|
||||
@@ -39,6 +39,22 @@ public partial class PrdInstockH : BaseEntity<string>
|
||||
/// </summary>
|
||||
public string location_code { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 工位id
|
||||
/// </summary>
|
||||
public string? station_id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 产线id
|
||||
/// </summary>
|
||||
public string? workline_id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 车间id
|
||||
/// </summary>
|
||||
public string? workshop_id { get; set; }
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 检验(0-未检 1-已检)
|
||||
|
||||
@@ -62,6 +62,9 @@ namespace Tnb.ProductionMgr
|
||||
location_code = input.location_code,
|
||||
carry_code = input.carry_code,
|
||||
is_check = input.is_check,
|
||||
station_id = input.station_id,
|
||||
workline_id = input.workline_id,
|
||||
workshop_id = input.workshop_id,
|
||||
org_id = _userManager.GetUserInfo().Result.organizeId,
|
||||
warehouse_id = location?.wh_id,
|
||||
status = 0,
|
||||
|
||||
Reference in New Issue
Block a user