质检任务
This commit is contained in:
@@ -71,10 +71,10 @@ namespace Tnb.QcMgr.Entities.Dto
|
||||
}
|
||||
public class Data {
|
||||
public string extype { get; set; }
|
||||
public string excontent { get; set; }
|
||||
public Excontent excontent { get; set; }
|
||||
public string check { get; set; }
|
||||
public string[] errorcause { get; set; }
|
||||
public string errorlevel { get; set; }
|
||||
public string[] errorlevel { get; set; }
|
||||
public string remark { get; set; }
|
||||
public string attachment { get; set; }
|
||||
public string customer { get; set; }
|
||||
|
||||
@@ -75,10 +75,10 @@ namespace Tnb.QcMgr.Entities
|
||||
public class PlanItemData
|
||||
{
|
||||
public string extype { get; set; }
|
||||
public string excontent { get; set; }
|
||||
public Excontent excontent { get; set; }
|
||||
public string check { get; set; }
|
||||
public string[] errorcause { get; set; }
|
||||
public string errorlevel { get; set; }
|
||||
public string[] errorlevel { get; set; }
|
||||
public string remark { get; set; }
|
||||
public string attachment { get; set; }
|
||||
public string customer { get; set; }
|
||||
|
||||
115
QcMgr/Tnb.QcMgr.Entities/Dto/CheckTask.cs
Normal file
115
QcMgr/Tnb.QcMgr.Entities/Dto/CheckTask.cs
Normal file
@@ -0,0 +1,115 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Tnb.QcMgr.Entities.Dto
|
||||
{
|
||||
public class CheckTaskOut
|
||||
{
|
||||
public string mainid { get; set; }
|
||||
public string workid { get; set; }
|
||||
public string workname { get; set; }
|
||||
public string wareid { get; set; }
|
||||
public List<CheckExecTypeOut> checktypes { get; set; }
|
||||
}
|
||||
public class CheckExecTypeOut
|
||||
{
|
||||
public string checktypeid { get; set; }
|
||||
public string checktypename { get; set; }
|
||||
public List<ExecItemOut> items { get; set; }
|
||||
}
|
||||
public class ExecItemOut
|
||||
{
|
||||
public string itemid { get; set; }
|
||||
public string code { get; set; }
|
||||
public string name { get; set; }
|
||||
public string itemdid { get; set; }
|
||||
public ExecItemShow setShow { get; set; }
|
||||
public ExecItemData setData { get; set; }
|
||||
|
||||
}
|
||||
public class ExecItemShow
|
||||
{
|
||||
public bool extype { get; set; }
|
||||
public bool excontent { get; set; }
|
||||
public bool check { get; set; }
|
||||
public bool errorcause { get; set; }
|
||||
public bool errorlevel { get; set; }
|
||||
public bool remark { get; set; }
|
||||
public bool attachment { get; set; }
|
||||
public bool customer { get; set; }
|
||||
public bool isexec { get; set; }
|
||||
}
|
||||
public class ExecItemData
|
||||
{
|
||||
public string extype { get; set; }
|
||||
public Excontent excontent { get; set; }
|
||||
public string check { get; set; }
|
||||
public List<Error> errorcause { get; set; }
|
||||
public List<Error> errorlevel { get; set; }
|
||||
public string remark { get; set; }
|
||||
public string attachment { get; set; }
|
||||
public string customer { get; set; }
|
||||
public IsexecE isexec { get; set; }
|
||||
}
|
||||
public class Excontent
|
||||
{
|
||||
public string excontentType { get; set; }
|
||||
public string excontentNum { get; set; }
|
||||
public string amongMaxNum { get; set; }
|
||||
public string amongMinNum { get; set; }
|
||||
public string amongMinUnit { get; set; }
|
||||
public string gapValue { get; set; }
|
||||
public string greaterThanValue { get; set; }
|
||||
public string lessThanValue { get; set; }
|
||||
public string excontentText { get; set; }
|
||||
public List<ExcontentOption> excontentOptions { get; set; }
|
||||
}
|
||||
public class ExcontentOption
|
||||
{
|
||||
public string value { get; set; }
|
||||
}
|
||||
public class Error
|
||||
{
|
||||
public string id { get; set; }
|
||||
public string name { get; set; }
|
||||
}
|
||||
public class IsexecE
|
||||
{
|
||||
public bool remark { get; set; }
|
||||
public bool attachment { get; set; }
|
||||
}
|
||||
|
||||
public class CheckTaskInput
|
||||
{
|
||||
public string mainid { get; set; }
|
||||
public string checknum { get; set; }
|
||||
public string status { get; set; }
|
||||
public string result { get; set; }
|
||||
|
||||
public List<CheckExexTypeInput> checktypes { get; set; }
|
||||
}
|
||||
public class CheckExexTypeInput
|
||||
{
|
||||
public string id { get; set; }
|
||||
public List<ExecItemInput> items { get; set; }
|
||||
}
|
||||
public class ExecItemInput
|
||||
{
|
||||
public string itemdid { get; set; }
|
||||
|
||||
public string itemid { get; set; }
|
||||
public string extype { get; set; }
|
||||
public string excontent { get; set; }
|
||||
public string check { get; set; }
|
||||
public string errorcause { get; set; }
|
||||
public string errorlevel { get; set; }
|
||||
public string remark { get; set; }
|
||||
public string attachment { get; set; }
|
||||
public string isexec { get; set; }
|
||||
public string customer { get; set; }
|
||||
public string result { get; set; }
|
||||
}
|
||||
}
|
||||
108
QcMgr/Tnb.QcMgr.Entities/Entity/QcCheckExecD.cs
Normal file
108
QcMgr/Tnb.QcMgr.Entities/Entity/QcCheckExecD.cs
Normal file
@@ -0,0 +1,108 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using JNPF.Common.Contracts;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.QcMgr.Entities
|
||||
{/// <summary>
|
||||
/// 质检执行子表
|
||||
/// </summary>
|
||||
[SugarTable("qc_check_exec_d")]
|
||||
public partial class QcCheckExecD : BaseEntity<string>
|
||||
{
|
||||
public QcCheckExecD()
|
||||
{
|
||||
id = SnowflakeIdHelper.NextId();
|
||||
}
|
||||
/// <summary>
|
||||
/// 质检执行主表编号
|
||||
/// </summary>
|
||||
public string? mainid { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 执行项格式
|
||||
/// </summary>
|
||||
public string? extype { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 执行项内容
|
||||
/// </summary>
|
||||
public string? excontent { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 抽检类型
|
||||
/// </summary>
|
||||
public string? check { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 不良原因
|
||||
/// </summary>
|
||||
public string? errorcause { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 不良等级
|
||||
/// </summary>
|
||||
public string? errorlevel { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public string? remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 附件
|
||||
/// </summary>
|
||||
public string? attachment { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 执行时操作
|
||||
/// </summary>
|
||||
public string? isexec { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 客户
|
||||
/// </summary>
|
||||
public string? custom { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 质检项分类编号
|
||||
/// </summary>
|
||||
public string? typeid { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 质检项编号
|
||||
/// </summary>
|
||||
public string? itemid { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建用户
|
||||
/// </summary>
|
||||
public string? create_id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
public DateTime? create_time { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改用户
|
||||
/// </summary>
|
||||
public string? modify_id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改时间
|
||||
/// </summary>
|
||||
public DateTime? modify_time { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 结论
|
||||
/// </summary>
|
||||
public string? result { get; set; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
102
QcMgr/Tnb.QcMgr.Entities/Entity/QcCheckExecH.cs
Normal file
102
QcMgr/Tnb.QcMgr.Entities/Entity/QcCheckExecH.cs
Normal file
@@ -0,0 +1,102 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using JNPF.Common.Contracts;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.QcMgr.Entities
|
||||
{
|
||||
/// <summary>
|
||||
/// 质检执行主表
|
||||
/// </summary>
|
||||
[SugarTable("qc_check_exec_h")]
|
||||
public partial class QcCheckExecH : BaseEntity<string>
|
||||
{
|
||||
public QcCheckExecH()
|
||||
{
|
||||
id = SnowflakeIdHelper.NextId();
|
||||
}
|
||||
/// <summary>
|
||||
/// 物料编号
|
||||
/// </summary>
|
||||
public string? materialid { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 质检类型
|
||||
/// </summary>
|
||||
public string? checktype { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工序编号
|
||||
/// </summary>
|
||||
public string? processid { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工位编号
|
||||
/// </summary>
|
||||
public string? workid { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 仓库库位编号
|
||||
/// </summary>
|
||||
public string? wareid { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 抽样数
|
||||
/// </summary>
|
||||
public string? checknum { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
public string? status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 结论
|
||||
/// </summary>
|
||||
public string? result { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 任务生成时间
|
||||
/// </summary>
|
||||
public string? tasktime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 质检人
|
||||
/// </summary>
|
||||
public string? execuser { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 执行时间
|
||||
/// </summary>
|
||||
public string? exectime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 扩展
|
||||
/// </summary>
|
||||
public string? extras { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建用户
|
||||
/// </summary>
|
||||
public string? create_id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
public DateTime? create_time { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改用户
|
||||
/// </summary>
|
||||
public string? modify_id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改时间
|
||||
/// </summary>
|
||||
public DateTime? modify_time { get; set; }
|
||||
}
|
||||
}
|
||||
69
QcMgr/Tnb.QcMgr.Entities/Entity/QcErrorCause.cs
Normal file
69
QcMgr/Tnb.QcMgr.Entities/Entity/QcErrorCause.cs
Normal file
@@ -0,0 +1,69 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using JNPF.Common.Contracts;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.QcMgr.Entities
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 不良原因字典
|
||||
/// </summary>
|
||||
[SugarTable("qc_error_cause")]
|
||||
public partial class QcErrorCause : BaseEntity<string>
|
||||
{
|
||||
public QcErrorCause()
|
||||
{
|
||||
id = SnowflakeIdHelper.NextId();
|
||||
}
|
||||
/// <summary>
|
||||
/// 编号
|
||||
/// </summary>
|
||||
public string? code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
public string? name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
public string? status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public string? remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建用户
|
||||
/// </summary>
|
||||
public string? create_id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
public DateTime? create_time { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改用户
|
||||
/// </summary>
|
||||
public string? modify_id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改时间
|
||||
/// </summary>
|
||||
public DateTime? modify_time { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 扩展
|
||||
/// </summary>
|
||||
public string? extras { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
67
QcMgr/Tnb.QcMgr.Entities/Entity/QcErrorLevel.cs
Normal file
67
QcMgr/Tnb.QcMgr.Entities/Entity/QcErrorLevel.cs
Normal file
@@ -0,0 +1,67 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using JNPF.Common.Contracts;
|
||||
using JNPF.Common.Security;
|
||||
using SqlSugar;
|
||||
|
||||
namespace Tnb.QcMgr.Entities.Entity
|
||||
{
|
||||
/// <summary>
|
||||
/// 不良等级
|
||||
/// </summary>
|
||||
[SugarTable("qc_error_level")]
|
||||
public partial class QcErrorLevel : BaseEntity<string>
|
||||
{
|
||||
public QcErrorLevel()
|
||||
{
|
||||
id = SnowflakeIdHelper.NextId();
|
||||
}
|
||||
/// <summary>
|
||||
/// 编号
|
||||
/// </summary>
|
||||
public string? code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
public string? name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
public string? status { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
public string? remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建用户
|
||||
/// </summary>
|
||||
public string? create_id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
public DateTime? create_time { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改用户
|
||||
/// </summary>
|
||||
public string? modify_id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 修改时间
|
||||
/// </summary>
|
||||
public DateTime? modify_time { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 扩展
|
||||
/// </summary>
|
||||
public string? extras { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user