diff --git a/QcMgr/Tnb.QcMgr.Entities/Entity/QcCheckPlanWork.cs b/QcMgr/Tnb.QcMgr.Entities/Entity/QcCheckPlanWork.cs index 4493fa0f..c38b862a 100644 --- a/QcMgr/Tnb.QcMgr.Entities/Entity/QcCheckPlanWork.cs +++ b/QcMgr/Tnb.QcMgr.Entities/Entity/QcCheckPlanWork.cs @@ -7,7 +7,7 @@ using JNPF.Common.Contracts; using JNPF.Common.Security; using SqlSugar; -namespace Tnb.QcMgr.Entities.Entity +namespace Tnb.QcMgr.Entities { /// /// 质检方案工位关联表 diff --git a/QcMgr/Tnb.QcMgr.Entities/Entity/QcErrorLevel.cs b/QcMgr/Tnb.QcMgr.Entities/Entity/QcErrorLevel.cs index e3978c78..eec0e3a7 100644 --- a/QcMgr/Tnb.QcMgr.Entities/Entity/QcErrorLevel.cs +++ b/QcMgr/Tnb.QcMgr.Entities/Entity/QcErrorLevel.cs @@ -7,7 +7,7 @@ using JNPF.Common.Contracts; using JNPF.Common.Security; using SqlSugar; -namespace Tnb.QcMgr.Entities.Entity +namespace Tnb.QcMgr.Entities { /// /// 不良等级 diff --git a/QcMgr/Tnb.QcMgr.Entities/Entity/QcSpcD.cs b/QcMgr/Tnb.QcMgr.Entities/Entity/QcSpcD.cs new file mode 100644 index 00000000..ec893256 --- /dev/null +++ b/QcMgr/Tnb.QcMgr.Entities/Entity/QcSpcD.cs @@ -0,0 +1,64 @@ +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 +{ + /// + /// spc子表 + /// + [SugarTable("qc_spc_d")] + public partial class QcSpcD : BaseEntity + { + public QcSpcD() + { + id = SnowflakeIdHelper.NextId(); + } + /// + /// 主表id + /// + public string? mainid { get; set; } + + /// + /// 检验时间 + /// + public string? checktime { get; set; } + + /// + /// 批次 + /// + public string? batch { get; set; } + + /// + /// 数据 + /// + public string? data { get; set; } + + /// + /// 检查数量 + /// + public int? checknum { get; set; } + + /// + /// 不良品数量 + /// + public int? defectivenum { get; set; } + + /// + /// 创建用户 + /// + public string? create_id { get; set; } + + /// + /// 创建时间 + /// + public DateTime? create_time { get; set; } + + } + +} diff --git a/QcMgr/Tnb.QcMgr.Entities/Entity/QcSpcData.cs b/QcMgr/Tnb.QcMgr.Entities/Entity/QcSpcData.cs new file mode 100644 index 00000000..62284173 --- /dev/null +++ b/QcMgr/Tnb.QcMgr.Entities/Entity/QcSpcData.cs @@ -0,0 +1,45 @@ +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 +{ + + /// + /// spc控制图系数 + /// + [SugarTable("qc_spc_data")] + public partial class QcSpcData : BaseEntity + { + public QcSpcData() + { + id = SnowflakeIdHelper.NextId(); + } + /// + /// 控制图类型 + /// + public string? spctype { get; set; } + + /// + /// 子组容量 + /// + public string? subcapacity { get; set; } + + /// + /// 控制图键 + /// + public string? spckey { get; set; } + + /// + /// 控制图值 + /// + public decimal? spcdata { get; set; } + + } + +} diff --git a/QcMgr/Tnb.QcMgr.Entities/Entity/QcSpcH.cs b/QcMgr/Tnb.QcMgr.Entities/Entity/QcSpcH.cs new file mode 100644 index 00000000..f0e96a3d --- /dev/null +++ b/QcMgr/Tnb.QcMgr.Entities/Entity/QcSpcH.cs @@ -0,0 +1,160 @@ +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 +{ + + /// + /// spc主表 + /// + [SugarTable("qc_spc_h")] + public partial class QcSpcH : BaseEntity + { + public QcSpcH() + { + id = SnowflakeIdHelper.NextId(); + } + /// + /// 编号 + /// + public string? code { get; set; } + + /// + /// 检测项目 + /// + public string? checkproject { get; set; } + + /// + /// 检测类别 + /// + public string? checktype { get; set; } + + /// + /// 图类 + /// + public string? graphtype { get; set; } + + /// + /// 样本容量 + /// + public int? samplesize { get; set; } + + /// + /// 小数位数 + /// + public int? decimalplace { get; set; } + + /// + /// 产品名称 + /// + public string? productname { get; set; } + + /// + /// 任务单编号 + /// + public string? taskcode { get; set; } + + /// + /// 批次 + /// + public string? batch { get; set; } + + /// + /// 产线 + /// + public string? productline { get; set; } + + /// + /// 班次 + /// + public string? work { get; set; } + + /// + /// 设备 + /// + public string? device { get; set; } + + /// + /// 工序 + /// + public string? process { get; set; } + + /// + /// 供应商 + /// + public string? supplier { get; set; } + + /// + /// 客户 + /// + public string? custom { get; set; } + + /// + /// 规格上限 + /// + public decimal? uplimit { get; set; } + + /// + /// 目标值 + /// + public decimal? target { get; set; } + + /// + /// 规格下限 + /// + public decimal? lowerlimit { get; set; } + + /// + /// 子组容量 + /// + public int? subcapacity { get; set; } + + /// + /// 判异规则 + /// + public string? rule { get; set; } + + /// + /// 创建用户 + /// + public string? create_id { get; set; } + + /// + /// 创建时间 + /// + public DateTime? create_time { get; set; } + + /// + /// 修改用户 + /// + public string? modify_id { get; set; } + + /// + /// 修改时间 + /// + public DateTime? modify_time { get; set; } + + /// + /// 所属组织 + /// + public string? org_id { get; set; } + + /// + /// 流程任务Id + /// + public string? f_flowtaskid { get; set; } + + /// + /// 流程引擎Id + /// + public string? f_flowid { get; set; } + + } + +}