调整生产管理代吗

This commit is contained in:
DEVICE8\12494
2023-04-25 08:59:35 +08:00
parent 83350bf3c1
commit 6a2a7c119f
9 changed files with 145 additions and 33 deletions

View File

@@ -0,0 +1,32 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tnb.ProductionMgr.Entitys.
{
public class DictionaryConstants
{
/// <summary>
/// 生产任务状态TypeId
/// </summary>
public const string PrdTaskStatusTypeId = "25572555259157";
}
/// <summary>
/// 工单状态
/// </summary>
public class MoStatus
{
/// <summary>
/// 已排产
/// </summary>
public const string AlreadyId = "25019252113685";
/// <summary>
/// 待排产
/// </summary>
public const string WaitProductId = "25019244276501";
}
}

View File

@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tnb.ProductionMgr.Entitys.Entity;
namespace Tnb.ProductionMgr.Entitys.Dto.PrdManage
{
/// <summary>
/// 生产任务重新排序输出参数
/// </summary>
public class PrdTaskSortOutput : PrdTask
{
/// <summary>
/// 序号
/// </summary>
public int no { get; set; }
}
}

View File

@@ -171,14 +171,14 @@ namespace Tnb.ProductionMgr.Entitys.Dto.WorkOrder
/// Default:
/// Nullable:True
/// </summary>
public int? mold_cavity_num { get; set; }
public int? mold_cavity_qty { get; set; }
/// <summary>
/// Desc:计划生产数量
/// Default:
/// Nullable:True
/// </summary>
public int? plan_num { get; set; }
public int? plan_qty { get; set; }
/// <summary>
/// Desc:吨位
@@ -189,7 +189,7 @@ namespace Tnb.ProductionMgr.Entitys.Dto.WorkOrder
/// <summary>
/// 已排产数量
/// </summary>
public int scheduled_num { get; set; }
public int scheduled_qty { get; set; }
/// <summary>
/// 设备型号
/// </summary>

View File

@@ -36,7 +36,7 @@ namespace Tnb.ProductionMgr.Entitys.Entity
/// Default:
/// Nullable:True
/// </summary>
public int? maintain_num { get; set; }
public int? maintain_qty { get; set; }
/// <summary>
/// Desc:日定额
@@ -64,7 +64,7 @@ namespace Tnb.ProductionMgr.Entitys.Entity
/// Default:
/// Nullable:True
/// </summary>
public int? cavity_num { get; set; }
public int? cavity_qty { get; set; }
/// <summary>
/// Desc:模具寿命

View File

@@ -68,7 +68,7 @@ namespace Tnb.ProductionMgr.Entitys.Entity
/// Default:
/// Nullable:True
/// </summary>
public decimal? input_qty { get; set; }
public int input_qty { get; set; }
/// <summary>
/// Desc:已完工数量

View File

@@ -99,21 +99,21 @@ namespace Tnb.ProductionMgr.Entitys.Entity
/// Default:
/// Nullable:True
/// </summary>
public int? mold_cavity_num { get; set; }
public int? mold_cavity_qty { get; set; }
/// <summary>
/// Desc:计划生产数量
/// Default:
/// Nullable:True
/// </summary>
public int? plan_num { get; set; }
public int? plan_qty { get; set; }
/// <summary>
/// Desc:完成数量
/// Default:
/// Nullable:True
/// </summary>
public int? comple_num { get; set; }
public int? comple_qty { get; set; }
/// <summary>
/// Desc:吨位
@@ -127,7 +127,7 @@ namespace Tnb.ProductionMgr.Entitys.Entity
/// Default:
/// Nullable:True
/// </summary>
public int? scheduled_num { get; set; }
public int scheduled_qty { get; set; }
/// <summary>
/// Desc:工单Id
@@ -135,14 +135,24 @@ namespace Tnb.ProductionMgr.Entitys.Entity
/// Nullable:True
/// </summary>
public string mo_id { get; set; }
/// <summary>
/// 工单数(生产任务数)
/// </summary>
public int mo_qty{ get; set; }
/// <summary>
/// Desc:模具Id
/// Default:NULL::character varying
/// Nullable:True
/// </summary>
public string mold_id { get; set; }
/// <summary>
/// 模具编号
/// </summary>
public string mold_code { get; set; }
/// <summary>
/// 模具名称
/// </summary>
public string mold_name { get; set; }
/// <summary>
/// Desc:设备Id
/// Default:NULL::character varying
@@ -172,6 +182,10 @@ namespace Tnb.ProductionMgr.Entitys.Entity
/// </summary>
public string item_code { get; set; }
/// <summary>
/// 产品名称
/// </summary>
public string item_name { get; set; }
/// <summary>
/// 产品规格型号
/// </summary>
public string item_standard { get; set; }
@@ -214,6 +228,10 @@ namespace Tnb.ProductionMgr.Entitys.Entity
/// 生产任务ID
/// </summary>
public string prd_task_id { get; set; }
/// <summary>
/// 同组标识
/// </summary>
public string group_flag { get; set; }
}
}