1
This commit is contained in:
parent
1fcc89763b
commit
f20aba0f7e
@ -37,6 +37,7 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="Controllers\DataWarehouse\" />
|
||||
<Folder Include="Controllers\MES\exception\" />
|
||||
<Folder Include="Properties\PublishProfiles\" />
|
||||
</ItemGroup>
|
||||
|
||||
@ -23,6 +23,22 @@
|
||||
"DbType": 1, //数据库类型 MySql = 0, SqlServer = 1, Oracle = 3,PgSql = 4
|
||||
"ConfigId": "1", //多租户唯一标识
|
||||
"IsAutoCloseConnection": true
|
||||
},
|
||||
{
|
||||
"Conn": "Data Source=139.224.232.211;User ID=root;Password=doantech123;Initial Catalog=shgx_dw_ods_production_data_trace;Port=3308",
|
||||
//"Conn": "Data Source=127.0.0.1;User ID=root;Password=123456;Initial Catalog=GXAssembly;Port=3306",
|
||||
//"Conn": "Data Source=192.168.0.58;User ID=u8-mes;Password=0.1230.123;Initial Catalog=UFDATA_230_2024",
|
||||
"DbType": 1, //数据库类型 MySql = 0, SqlServer = 1, Oracle = 3,PgSql = 4
|
||||
"ConfigId": "2", //多租户唯一标识
|
||||
"IsAutoCloseConnection": true
|
||||
},
|
||||
{
|
||||
"Conn": "Data Source=139.224.232.211;User ID=root;Password=doantech123;Initial Catalog=shgx_dw_dwd_production_data_trace;Port=3308",
|
||||
//"Conn": "Data Source=127.0.0.1;User ID=root;Password=123456;Initial Catalog=GXAssembly;Port=3306",
|
||||
//"Conn": "Data Source=192.168.0.58;User ID=u8-mes;Password=0.1230.123;Initial Catalog=UFDATA_230_2024",
|
||||
"DbType": 1, //数据库类型 MySql = 0, SqlServer = 1, Oracle = 3,PgSql = 4
|
||||
"ConfigId": "3", //多租户唯一标识
|
||||
"IsAutoCloseConnection": true
|
||||
}
|
||||
//...下面添加更多的数据库源
|
||||
],
|
||||
|
||||
67
DOAN.Model/DW_production_trace/DWD/U20/OdsU20Op10AcoseEol.cs
Normal file
67
DOAN.Model/DW_production_trace/DWD/U20/OdsU20Op10AcoseEol.cs
Normal file
@ -0,0 +1,67 @@
|
||||
using System;
|
||||
using SqlSugar;
|
||||
|
||||
namespace DOAN.Model.DW_production_trace.DWD.U20
|
||||
{
|
||||
[SugarTable("dwd_u20_op10_acose_eol")]
|
||||
[TenantAttribute("3")]
|
||||
public class DwdU20Op10AcoseEol
|
||||
{
|
||||
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "编号")]
|
||||
public int Id { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "supplier_code", Length = 10, ColumnDescription = "供应商代码")]
|
||||
public string SupplierCode { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "supplier_name", Length = 30, ColumnDescription = "供应商名称")]
|
||||
public string SupplierName { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "vehiclemodel", Length = 30, ColumnDescription = "车型")]
|
||||
public string VehicleModel { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "partnumber", Length = 40, ColumnDescription = "零件号")]
|
||||
public string PartNumber { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "partname", Length = 40, ColumnDescription = "零件名称")]
|
||||
public string PartName { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "configuration", Length = 100, ColumnDescription = "配置")]
|
||||
public string Configuration { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "workstation", Length = 20, ColumnDescription = "工位")]
|
||||
public string Workstation { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "paramter", Length = 20, ColumnDescription = "参数名")]
|
||||
public string Parameter { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "value", DecimalDigits = 2, ColumnDescription = "参数值")]
|
||||
public decimal? Value { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "low_value", DecimalDigits = 2, ColumnDescription = "下公差")]
|
||||
public decimal? LowValue { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "up_value", DecimalDigits = 2, ColumnDescription = "上公差")]
|
||||
public decimal? UpValue { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "measure_time", ColumnDescription = "写入时间")]
|
||||
public DateTime? MeasureTime { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "superintendent", Length = 10, ColumnDescription = "负责人")]
|
||||
public string Superintendent { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "isUpload", ColumnDescription = "上传状态")]
|
||||
public int? IsUpload { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "CREATED_BY", Length = 32, ColumnDescription = "创建人")]
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "CREATED_TIME", ColumnDescription = "创建时间")]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "UPDATED_BY", Length = 32, ColumnDescription = "更新人")]
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "UPDATED_TIME", ColumnDescription = "更新时间")]
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
}
|
||||
}
|
||||
68
DOAN.Model/DW_production_trace/DWD/U20/OdsU20Op10AcoseZd.cs
Normal file
68
DOAN.Model/DW_production_trace/DWD/U20/OdsU20Op10AcoseZd.cs
Normal file
@ -0,0 +1,68 @@
|
||||
|
||||
using System;
|
||||
using SqlSugar;
|
||||
|
||||
namespace DOAN.Model.DW_production_trace.DWD.U20
|
||||
{
|
||||
[SugarTable("dwd_u20_op10_acose_zd")]
|
||||
[TenantAttribute("3")]
|
||||
public class DwdU20Op10AcoseZd
|
||||
{
|
||||
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "编号")]
|
||||
public int Id { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "supplier_code", Length = 10, ColumnDescription = "供应商代码")]
|
||||
public string SupplierCode { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "supplier_name", Length = 30, ColumnDescription = "供应商名称")]
|
||||
public string SupplierName { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "vehiclemodel", Length = 30, ColumnDescription = "车型")]
|
||||
public string VehicleModel { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "partnumber", Length = 40, ColumnDescription = "零件号")]
|
||||
public string PartNumber { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "partname", Length = 40, ColumnDescription = "零件名称")]
|
||||
public string PartName { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "configuration", Length = 100, ColumnDescription = "配置")]
|
||||
public string Configuration { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "workstation", Length = 20, ColumnDescription = "工位")]
|
||||
public string Workstation { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "paramter", Length = 20, ColumnDescription = "参数名")]
|
||||
public string Parameter { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "value", DecimalDigits = 2, ColumnDescription = "参数值")]
|
||||
public decimal? Value { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "low_value", DecimalDigits = 2, ColumnDescription = "下公差")]
|
||||
public decimal? LowValue { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "up_value", DecimalDigits = 2, ColumnDescription = "上公差")]
|
||||
public decimal? UpValue { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "measure_time", ColumnDescription = "写入时间")]
|
||||
public DateTime? MeasureTime { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "superintendent", Length = 10, ColumnDescription = "负责人")]
|
||||
public string Superintendent { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "isUpload", ColumnDescription = "上传状态")]
|
||||
public int? IsUpload { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "CREATED_BY", Length = 32, ColumnDescription = "创建人")]
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "CREATED_TIME", ColumnDescription = "创建时间")]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "UPDATED_BY", Length = 32, ColumnDescription = "更新人")]
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "UPDATED_TIME", ColumnDescription = "更新时间")]
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
}
|
||||
}
|
||||
68
DOAN.Model/DW_production_trace/DWD/U20/OdsU20Op10EolVa7.cs
Normal file
68
DOAN.Model/DW_production_trace/DWD/U20/OdsU20Op10EolVa7.cs
Normal file
@ -0,0 +1,68 @@
|
||||
|
||||
using System;
|
||||
using SqlSugar;
|
||||
|
||||
namespace DOAN.Model.DW_production_trace.DWD.U20
|
||||
{
|
||||
[SugarTable("dwd_u20_op10_eol_va7")]
|
||||
[TenantAttribute("3")]
|
||||
public class DwdU20Op10EolVa7
|
||||
{
|
||||
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "编号")]
|
||||
public int Id { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "supplier_code", Length = 10, ColumnDescription = "供应商代码")]
|
||||
public string SupplierCode { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "supplier_name", Length = 30, ColumnDescription = "供应商名称")]
|
||||
public string SupplierName { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "vehiclemodel", Length = 30, ColumnDescription = "车型")]
|
||||
public string VehicleModel { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "partnumber", Length = 40, ColumnDescription = "零件号")]
|
||||
public string PartNumber { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "partname", Length = 40, ColumnDescription = "零件名称")]
|
||||
public string PartName { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "configuration", Length = 100, ColumnDescription = "配置")]
|
||||
public string Configuration { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "workstation", Length = 20, ColumnDescription = "工位")]
|
||||
public string Workstation { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "paramter", Length = 20, ColumnDescription = "参数名")]
|
||||
public string Parameter { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "value", DecimalDigits = 2, ColumnDescription = "参数值")]
|
||||
public decimal? Value { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "low_value", DecimalDigits = 2, ColumnDescription = "下公差")]
|
||||
public decimal? LowValue { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "up_value", DecimalDigits = 2, ColumnDescription = "上公差")]
|
||||
public decimal? UpValue { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "measure_time", ColumnDescription = "写入时间")]
|
||||
public DateTime? MeasureTime { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "superintendent", Length = 10, ColumnDescription = "负责人")]
|
||||
public string Superintendent { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "isUpload", ColumnDescription = "上传状态")]
|
||||
public int? IsUpload { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "CREATED_BY", Length = 32, ColumnDescription = "创建人")]
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "CREATED_TIME", ColumnDescription = "创建时间")]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "UPDATED_BY", Length = 32, ColumnDescription = "更新人")]
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "UPDATED_TIME", ColumnDescription = "更新时间")]
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
}
|
||||
}
|
||||
68
DOAN.Model/DW_production_trace/DWD/U20/OdsU20Op10Vw336Eol.cs
Normal file
68
DOAN.Model/DW_production_trace/DWD/U20/OdsU20Op10Vw336Eol.cs
Normal file
@ -0,0 +1,68 @@
|
||||
|
||||
using SqlSugar;
|
||||
using System;
|
||||
|
||||
namespace DOAN.Model.DW_production_trace.DWD.U20
|
||||
{
|
||||
[SugarTable("dwd_u20_op10_vw336_eol")]
|
||||
[TenantAttribute("3")]
|
||||
public class DwdU20Op10Vw336Eol
|
||||
{
|
||||
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "supplier_code", Length = 10)]
|
||||
public string SupplierCode { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "supplier_name", Length = 30)]
|
||||
public string SupplierName { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "vehiclemodel", Length = 30)]
|
||||
public string VehicleModel { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "partnumber", Length = 40)]
|
||||
public string PartNumber { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "partname", Length = 40)]
|
||||
public string PartName { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "configuration", Length = 100)]
|
||||
public string Configuration { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "workstation", Length = 20)]
|
||||
public string Workstation { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "paramter", Length = 20)]
|
||||
public string Paramter { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "value", DecimalDigits = 2)]
|
||||
public decimal? Value { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "low_value", DecimalDigits = 2)]
|
||||
public decimal? LowValue { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "up_value", DecimalDigits = 2)]
|
||||
public decimal? UpValue { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "measure_time")]
|
||||
public DateTime? MeasureTime { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "superintendent", Length = 10)]
|
||||
public string Superintendent { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "isUpload")]
|
||||
public int? IsUpload { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "CREATED_BY", Length = 32)]
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "CREATED_TIME")]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "UPDATED_BY", Length = 32)]
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "UPDATED_TIME")]
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
}
|
||||
}
|
||||
68
DOAN.Model/DW_production_trace/DWD/U20/OdsU20Op10Vw336Zd.cs
Normal file
68
DOAN.Model/DW_production_trace/DWD/U20/OdsU20Op10Vw336Zd.cs
Normal file
@ -0,0 +1,68 @@
|
||||
|
||||
using SqlSugar;
|
||||
using System;
|
||||
|
||||
namespace DOAN.Model.DW_production_trace.DWD.U20
|
||||
{
|
||||
[SugarTable("dwd_u20_op10_vw336_zd")]
|
||||
[TenantAttribute("3")]
|
||||
public class DwdU20Op10Vw336Zd
|
||||
{
|
||||
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "supplier_code", Length = 10)]
|
||||
public string SupplierCode { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "supplier_name", Length = 30)]
|
||||
public string SupplierName { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "vehiclemodel", Length = 30)]
|
||||
public string VehicleModel { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "partnumber", Length = 40)]
|
||||
public string PartNumber { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "partname", Length = 40)]
|
||||
public string PartName { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "configuration", Length = 100)]
|
||||
public string Configuration { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "workstation", Length = 20)]
|
||||
public string Workstation { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "paramter", Length = 20)]
|
||||
public string Paramter { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "value", DecimalDigits = 2)]
|
||||
public decimal? Value { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "low_value", DecimalDigits = 2)]
|
||||
public decimal? LowValue { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "up_value", DecimalDigits = 2)]
|
||||
public decimal? UpValue { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "measure_time")]
|
||||
public DateTime? MeasureTime { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "superintendent", Length = 10)]
|
||||
public string Superintendent { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "isUpload")]
|
||||
public int? IsUpload { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "CREATED_BY", Length = 32)]
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "CREATED_TIME")]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "UPDATED_BY", Length = 32)]
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "UPDATED_TIME")]
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,85 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DOAN.Model.DW_production_trace.DWD.U30
|
||||
{
|
||||
/// <summary>
|
||||
/// 数据仓库_事实明细层_U30_OP10_实验室数据
|
||||
/// </summary>
|
||||
[SugarTable("dwd_u30_op10_laboratorydata")]
|
||||
[TenantAttribute("3")]
|
||||
public class DwdU30Op10LaboratoryData
|
||||
{
|
||||
[SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "supplier")]
|
||||
public string Supplier { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "supplierName")]
|
||||
public string SupplierName { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "vehicleType")]
|
||||
public string VehicleType { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "partNumber")]
|
||||
public string PartNumber { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "partName")]
|
||||
public string PartName { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "variance")]
|
||||
public string Variance { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "station")]
|
||||
public string Station { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "parameter")]
|
||||
public string Parameter { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "value")]
|
||||
public double? Value { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "lower_limit")]
|
||||
public double? LowerLimit { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "upper_limit")]
|
||||
public double? UpperLimit { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "inTime")]
|
||||
public DateTime? InTime { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "BTV")]
|
||||
public string BTV { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "F_Id")]
|
||||
public string FId { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "F_CreatorTime")]
|
||||
public DateTime? FCreatorTime { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "F_CreatorUserId")]
|
||||
public string FCreatorUserId { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "F_LastModifyTime")]
|
||||
public DateTime? FLastModifyTime { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "F_LastModifyUserId")]
|
||||
public string FLastModifyUserId { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "F_DeleteTime")]
|
||||
public DateTime? FDeleteTime { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "F_DeleteUserId")]
|
||||
public string FDeleteUserId { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "F_DeleteMark")]
|
||||
public bool? FDeleteMark { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "new_station")]
|
||||
public string NewStation { get; set; }
|
||||
}
|
||||
}
|
||||
67
DOAN.Model/DW_production_trace/ODS/U20/OdsU20Op10AcoseEol.cs
Normal file
67
DOAN.Model/DW_production_trace/ODS/U20/OdsU20Op10AcoseEol.cs
Normal file
@ -0,0 +1,67 @@
|
||||
using System;
|
||||
using SqlSugar;
|
||||
|
||||
namespace DOAN.Model.DW_production_trace.ODS.U20
|
||||
{
|
||||
[SugarTable("ods_u20_op10_acose_eol")]
|
||||
[TenantAttribute("2")]
|
||||
public class OdsU20Op10AcoseEol
|
||||
{
|
||||
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "编号")]
|
||||
public int Id { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "supplier_code", Length = 10, ColumnDescription = "供应商代码")]
|
||||
public string SupplierCode { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "supplier_name", Length = 30, ColumnDescription = "供应商名称")]
|
||||
public string SupplierName { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "vehiclemodel", Length = 30, ColumnDescription = "车型")]
|
||||
public string VehicleModel { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "partnumber", Length = 40, ColumnDescription = "零件号")]
|
||||
public string PartNumber { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "partname", Length = 40, ColumnDescription = "零件名称")]
|
||||
public string PartName { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "configuration", Length = 100, ColumnDescription = "配置")]
|
||||
public string Configuration { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "workstation", Length = 20, ColumnDescription = "工位")]
|
||||
public string Workstation { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "paramter", Length = 20, ColumnDescription = "参数名")]
|
||||
public string Parameter { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "value", DecimalDigits = 2, ColumnDescription = "参数值")]
|
||||
public decimal? Value { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "low_value", DecimalDigits = 2, ColumnDescription = "下公差")]
|
||||
public decimal? LowValue { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "up_value", DecimalDigits = 2, ColumnDescription = "上公差")]
|
||||
public decimal? UpValue { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "measure_time", ColumnDescription = "写入时间")]
|
||||
public DateTime? MeasureTime { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "superintendent", Length = 10, ColumnDescription = "负责人")]
|
||||
public string Superintendent { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "isUpload", ColumnDescription = "上传状态")]
|
||||
public int? IsUpload { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "CREATED_BY", Length = 32, ColumnDescription = "创建人")]
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "CREATED_TIME", ColumnDescription = "创建时间")]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "UPDATED_BY", Length = 32, ColumnDescription = "更新人")]
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "UPDATED_TIME", ColumnDescription = "更新时间")]
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
}
|
||||
}
|
||||
68
DOAN.Model/DW_production_trace/ODS/U20/OdsU20Op10AcoseZd.cs
Normal file
68
DOAN.Model/DW_production_trace/ODS/U20/OdsU20Op10AcoseZd.cs
Normal file
@ -0,0 +1,68 @@
|
||||
|
||||
using System;
|
||||
using SqlSugar;
|
||||
|
||||
namespace DOAN.Model.DW_production_trace.ODS.U20
|
||||
{
|
||||
[SugarTable("ods_u20_op10_acose_zd")]
|
||||
[TenantAttribute("2")]
|
||||
public class OdsU20Op10AcoseZd
|
||||
{
|
||||
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "编号")]
|
||||
public int Id { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "supplier_code", Length = 10, ColumnDescription = "供应商代码")]
|
||||
public string SupplierCode { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "supplier_name", Length = 30, ColumnDescription = "供应商名称")]
|
||||
public string SupplierName { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "vehiclemodel", Length = 30, ColumnDescription = "车型")]
|
||||
public string VehicleModel { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "partnumber", Length = 40, ColumnDescription = "零件号")]
|
||||
public string PartNumber { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "partname", Length = 40, ColumnDescription = "零件名称")]
|
||||
public string PartName { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "configuration", Length = 100, ColumnDescription = "配置")]
|
||||
public string Configuration { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "workstation", Length = 20, ColumnDescription = "工位")]
|
||||
public string Workstation { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "paramter", Length = 20, ColumnDescription = "参数名")]
|
||||
public string Parameter { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "value", DecimalDigits = 2, ColumnDescription = "参数值")]
|
||||
public decimal? Value { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "low_value", DecimalDigits = 2, ColumnDescription = "下公差")]
|
||||
public decimal? LowValue { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "up_value", DecimalDigits = 2, ColumnDescription = "上公差")]
|
||||
public decimal? UpValue { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "measure_time", ColumnDescription = "写入时间")]
|
||||
public DateTime? MeasureTime { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "superintendent", Length = 10, ColumnDescription = "负责人")]
|
||||
public string Superintendent { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "isUpload", ColumnDescription = "上传状态")]
|
||||
public int? IsUpload { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "CREATED_BY", Length = 32, ColumnDescription = "创建人")]
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "CREATED_TIME", ColumnDescription = "创建时间")]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "UPDATED_BY", Length = 32, ColumnDescription = "更新人")]
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "UPDATED_TIME", ColumnDescription = "更新时间")]
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
}
|
||||
}
|
||||
68
DOAN.Model/DW_production_trace/ODS/U20/OdsU20Op10EolVa7.cs
Normal file
68
DOAN.Model/DW_production_trace/ODS/U20/OdsU20Op10EolVa7.cs
Normal file
@ -0,0 +1,68 @@
|
||||
|
||||
using System;
|
||||
using SqlSugar;
|
||||
|
||||
namespace DOAN.Model.DW_production_trace.ODS.U20
|
||||
{
|
||||
[SugarTable("ods_u20_op10_eol_va7")]
|
||||
[TenantAttribute("2")]
|
||||
public class OdsU20Op10EolVa7
|
||||
{
|
||||
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "编号")]
|
||||
public int Id { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "supplier_code", Length = 10, ColumnDescription = "供应商代码")]
|
||||
public string SupplierCode { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "supplier_name", Length = 30, ColumnDescription = "供应商名称")]
|
||||
public string SupplierName { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "vehiclemodel", Length = 30, ColumnDescription = "车型")]
|
||||
public string VehicleModel { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "partnumber", Length = 40, ColumnDescription = "零件号")]
|
||||
public string PartNumber { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "partname", Length = 40, ColumnDescription = "零件名称")]
|
||||
public string PartName { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "configuration", Length = 100, ColumnDescription = "配置")]
|
||||
public string Configuration { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "workstation", Length = 20, ColumnDescription = "工位")]
|
||||
public string Workstation { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "paramter", Length = 20, ColumnDescription = "参数名")]
|
||||
public string Parameter { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "value", DecimalDigits = 2, ColumnDescription = "参数值")]
|
||||
public decimal? Value { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "low_value", DecimalDigits = 2, ColumnDescription = "下公差")]
|
||||
public decimal? LowValue { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "up_value", DecimalDigits = 2, ColumnDescription = "上公差")]
|
||||
public decimal? UpValue { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "measure_time", ColumnDescription = "写入时间")]
|
||||
public DateTime? MeasureTime { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "superintendent", Length = 10, ColumnDescription = "负责人")]
|
||||
public string Superintendent { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "isUpload", ColumnDescription = "上传状态")]
|
||||
public int? IsUpload { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "CREATED_BY", Length = 32, ColumnDescription = "创建人")]
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "CREATED_TIME", ColumnDescription = "创建时间")]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "UPDATED_BY", Length = 32, ColumnDescription = "更新人")]
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "UPDATED_TIME", ColumnDescription = "更新时间")]
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
}
|
||||
}
|
||||
68
DOAN.Model/DW_production_trace/ODS/U20/OdsU20Op10Vw336Eol.cs
Normal file
68
DOAN.Model/DW_production_trace/ODS/U20/OdsU20Op10Vw336Eol.cs
Normal file
@ -0,0 +1,68 @@
|
||||
|
||||
using SqlSugar;
|
||||
using System;
|
||||
|
||||
namespace DOAN.Model.DW_production_trace.ODS.U20
|
||||
{
|
||||
[SugarTable("ods_u20_op10_vw336_eol")]
|
||||
[TenantAttribute("2")]
|
||||
public class OdsU20Op10Vw336Eol
|
||||
{
|
||||
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "supplier_code", Length = 10)]
|
||||
public string SupplierCode { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "supplier_name", Length = 30)]
|
||||
public string SupplierName { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "vehiclemodel", Length = 30)]
|
||||
public string VehicleModel { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "partnumber", Length = 40)]
|
||||
public string PartNumber { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "partname", Length = 40)]
|
||||
public string PartName { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "configuration", Length = 100)]
|
||||
public string Configuration { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "workstation", Length = 20)]
|
||||
public string Workstation { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "paramter", Length = 20)]
|
||||
public string Paramter { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "value", DecimalDigits = 2)]
|
||||
public decimal? Value { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "low_value", DecimalDigits = 2)]
|
||||
public decimal? LowValue { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "up_value", DecimalDigits = 2)]
|
||||
public decimal? UpValue { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "measure_time")]
|
||||
public DateTime? MeasureTime { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "superintendent", Length = 10)]
|
||||
public string Superintendent { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "isUpload")]
|
||||
public int? IsUpload { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "CREATED_BY", Length = 32)]
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "CREATED_TIME")]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "UPDATED_BY", Length = 32)]
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "UPDATED_TIME")]
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
}
|
||||
}
|
||||
68
DOAN.Model/DW_production_trace/ODS/U20/OdsU20Op10Vw336Zd.cs
Normal file
68
DOAN.Model/DW_production_trace/ODS/U20/OdsU20Op10Vw336Zd.cs
Normal file
@ -0,0 +1,68 @@
|
||||
|
||||
using SqlSugar;
|
||||
using System;
|
||||
|
||||
namespace DOAN.Model.DW_production_trace.ODS.U20
|
||||
{
|
||||
[SugarTable("ods_u20_op10_vw336_zd")]
|
||||
[TenantAttribute("2")]
|
||||
public class OdsU20Op10Vw336Zd
|
||||
{
|
||||
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "supplier_code", Length = 10)]
|
||||
public string SupplierCode { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "supplier_name", Length = 30)]
|
||||
public string SupplierName { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "vehiclemodel", Length = 30)]
|
||||
public string VehicleModel { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "partnumber", Length = 40)]
|
||||
public string PartNumber { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "partname", Length = 40)]
|
||||
public string PartName { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "configuration", Length = 100)]
|
||||
public string Configuration { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "workstation", Length = 20)]
|
||||
public string Workstation { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "paramter", Length = 20)]
|
||||
public string Paramter { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "value", DecimalDigits = 2)]
|
||||
public decimal? Value { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "low_value", DecimalDigits = 2)]
|
||||
public decimal? LowValue { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "up_value", DecimalDigits = 2)]
|
||||
public decimal? UpValue { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "measure_time")]
|
||||
public DateTime? MeasureTime { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "superintendent", Length = 10)]
|
||||
public string Superintendent { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "isUpload")]
|
||||
public int? IsUpload { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "CREATED_BY", Length = 32)]
|
||||
public string CreatedBy { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "CREATED_TIME")]
|
||||
public DateTime? CreatedTime { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "UPDATED_BY", Length = 32)]
|
||||
public string UpdatedBy { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "UPDATED_TIME")]
|
||||
public DateTime? UpdatedTime { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,199 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DOAN.Model.DW_production_trace.ODS.U30
|
||||
{
|
||||
|
||||
[SugarTable("ods_u30_op10_laboratorydata")]
|
||||
[TenantAttribute("2")]
|
||||
public class OdsU30Op10LaboratoryData
|
||||
{
|
||||
[SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true)]
|
||||
public string Id { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Factory")]
|
||||
public string Factory { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Line")]
|
||||
public string Line { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Station")]
|
||||
public string Station { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "ProductType")]
|
||||
public string ProductType { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Project", IsNullable = false)]
|
||||
public string Project { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "ProductNumber")]
|
||||
public string ProductNumber { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "PartNo")]
|
||||
public string PartNo { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Standard")]
|
||||
public string Standard { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Result")]
|
||||
public string Result { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Cycle")]
|
||||
public string Cycle { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "CreateHoures")]
|
||||
public int? CreateHoures { get; set; }
|
||||
|
||||
// Value fields 101-140
|
||||
[SugarColumn(ColumnName = "Value101")]
|
||||
public string Value101 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value102")]
|
||||
public string Value102 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value103")]
|
||||
public string Value103 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value104")]
|
||||
public string Value104 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value105")]
|
||||
public string Value105 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value106")]
|
||||
public string Value106 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value107")]
|
||||
public string Value107 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value108")]
|
||||
public string Value108 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value109")]
|
||||
public string Value109 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value110")]
|
||||
public string Value110 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value111")]
|
||||
public string Value111 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value112")]
|
||||
public string Value112 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value113")]
|
||||
public string Value113 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value114")]
|
||||
public string Value114 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value115")]
|
||||
public string Value115 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value116")]
|
||||
public string Value116 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value117")]
|
||||
public string Value117 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value118")]
|
||||
public string Value118 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value119")]
|
||||
public string Value119 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value120")]
|
||||
public string Value120 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value121")]
|
||||
public string Value121 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value122")]
|
||||
public string Value122 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value123")]
|
||||
public string Value123 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value124")]
|
||||
public string Value124 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value125")]
|
||||
public string Value125 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value126")]
|
||||
public string Value126 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value127")]
|
||||
public string Value127 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value128")]
|
||||
public string Value128 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value129")]
|
||||
public string Value129 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value130")]
|
||||
public string Value130 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value131")]
|
||||
public string Value131 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value132")]
|
||||
public string Value132 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value133")]
|
||||
public string Value133 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value134")]
|
||||
public string Value134 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value135")]
|
||||
public string Value135 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value136")]
|
||||
public string Value136 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value137")]
|
||||
public string Value137 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value138")]
|
||||
public string Value138 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value139")]
|
||||
public string Value139 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "Value140")]
|
||||
public string Value140 { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "CreateTime")]
|
||||
public DateTime? CreateTime { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "IsRemoved")]
|
||||
public bool? IsRemoved { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "F_CreatorTime")]
|
||||
public DateTime? CreatorTime { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "F_CreatorUserId")]
|
||||
public string CreatorUserId { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "F_LastModifyTime")]
|
||||
public DateTime? LastModifyTime { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "F_LastModifyUserId")]
|
||||
public string LastModifyUserId { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "F_DeleteTime")]
|
||||
public DateTime? DeleteTime { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "F_DeleteUserId")]
|
||||
public string DeleteUserId { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "F_DeleteMark")]
|
||||
public bool? DeleteMark { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@ -0,0 +1,91 @@
|
||||
using DOAN.Model.DW_production_trace.DWD.U30;
|
||||
using DOAN.Model.DW_production_trace.ODS.U30;
|
||||
using DOAN.Model.MES.base_;
|
||||
using DOAN.Service.MES.base_.IService;
|
||||
using Infrastructure.Attribute;
|
||||
using NPOI.SS.Formula.Functions;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DOAN.Service.DataWarehouse.U30
|
||||
{
|
||||
/// <summary>
|
||||
/// 数据仓库_事实明细层_U30_OP10
|
||||
/// </summary>
|
||||
[AppService(ServiceType = typeof(DW_DWD_U30_OP10_Service), ServiceLifetime = LifeTime.Transient)]
|
||||
public class DW_DWD_U30_OP10_Service : BaseService<DwdU30Op10LaboratoryData>
|
||||
{
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 实验室数据ETL
|
||||
/// </summary>
|
||||
public void U30_OP10_LabortoryData()
|
||||
{
|
||||
//TODO 加载 实验数据原始数据层
|
||||
var ODSchildDb = Context.AsTenant().GetConnectionWithAttr<OdsU30Op10LaboratoryData>();
|
||||
|
||||
// DateTime? OdsDateTime= ODSchildDb.Queryable<OdsU30Op10LaboratoryData>().OrderByDescending(it => it.CreateTime).Select(it => it.CreateTime).First();
|
||||
|
||||
var DWDchildDb = Context.AsTenant().GetConnectionWithAttr<DwdU30Op10LaboratoryData>();
|
||||
|
||||
|
||||
DateTime? DwdDateTime = DWDchildDb.Queryable<DwdU30Op10LaboratoryData>().OrderByDescending(it => it.FCreatorTime).Select(it => it.FCreatorTime).First();
|
||||
|
||||
List<OdsU30Op10LaboratoryData> odsU30Op10LaboratoryDatas= ODSchildDb.Queryable<OdsU30Op10LaboratoryData>().Where(it => it.CreateTime > DwdDateTime).Take(1000).ToList();
|
||||
|
||||
//TODO 转换 实验数据原始数据层到 事实明细层
|
||||
|
||||
if(odsU30Op10LaboratoryDatas!=null&&odsU30Op10LaboratoryDatas.Count > 0)
|
||||
{
|
||||
foreach (var item in odsU30Op10LaboratoryDatas)
|
||||
{
|
||||
|
||||
switch (item.Line)
|
||||
{
|
||||
|
||||
case "Audi A3":
|
||||
DwdU30Op10LaboratoryData dwdU30Op10LaboratoryData = new DwdU30Op10LaboratoryData();
|
||||
|
||||
dwdU30Op10LaboratoryData.Supplier = "5AD";
|
||||
dwdU30Op10LaboratoryData.SupplierName = item.Factory;
|
||||
dwdU30Op10LaboratoryData.VehicleType = "AudiA3Spb.|AudiA3Lim.";
|
||||
dwdU30Op10LaboratoryData.PartNumber = "8YG 858 499/50";
|
||||
dwdU30Op10LaboratoryData.PartName = "左/右后视镜总成";
|
||||
dwdU30Op10LaboratoryData.Variance = "";
|
||||
dwdU30Op10LaboratoryData.Station = "AudiA3" + "实验室" ;
|
||||
dwdU30Op10LaboratoryData.Parameter = "";
|
||||
dwdU30Op10LaboratoryData.Value = "";
|
||||
dwdU30Op10LaboratoryData.LowerLimit = "";
|
||||
dwdU30Op10LaboratoryData.UpperLimit = "";
|
||||
dwdU30Op10LaboratoryData.InTime = "";
|
||||
dwdU30Op10LaboratoryData.BTV = "";
|
||||
dwdU30Op10LaboratoryData.FId = "";
|
||||
dwdU30Op10LaboratoryData.FCreatorTime = "";
|
||||
dwdU30Op10LaboratoryData.FCreatorUserId = "";
|
||||
dwdU30Op10LaboratoryData.FLastModifyTime = "";
|
||||
dwdU30Op10LaboratoryData.FLastModifyUserId = "";
|
||||
dwdU30Op10LaboratoryData.FDeleteTime = "";
|
||||
dwdU30Op10LaboratoryData.FDeleteUserId = "";
|
||||
dwdU30Op10LaboratoryData.FDeleteMark = "";
|
||||
dwdU30Op10LaboratoryData.NewStation = "";
|
||||
|
||||
|
||||
break;
|
||||
case "GOLF A8": break;
|
||||
case "VW416": break;
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user