| | |
| | | public string? FLOSSPERCENT { get; set; } |
| | | public string? FMnemonicCode { get; set; } |
| | | public string? FExpPeriod { get; set; } |
| | | public string? FProductionCapacity { get; set; } |
| | | public string? FDrawingNumber { get; set; } |
| | | public string? FPackagingQuantity { get; set; } |
| | | |
| | | } |
| | |
| | | using SqlSugar; |
| | | using SqlSugar; |
| | | |
| | | namespace MES.Service.Modes; |
| | | |
| | |
| | | ///</summary> |
| | | [SugarColumn(ColumnName = "storeunit")] |
| | | public string? Storeunit { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ERP物料ID |
| | | ///</summary> |
| | | [SugarColumn(ColumnName = "e_item_id")] |
| | | public long? EItemId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ERP料号 |
| | |
| | | [SugarColumn(ColumnName = "DATA_TYPE")] |
| | | public string? DataType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 产能 |
| | | ///</summary> |
| | | [SugarColumn(ColumnName = "production_capacity")] |
| | | public decimal? ProductionCapacity { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 图号 |
| | | ///</summary> |
| | | [SugarColumn(ColumnName = "drawing_number")] |
| | | public string? DrawingNumber { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 包装数量 |
| | | ///</summary> |
| | | [SugarColumn(ColumnName = "packaging_quantity")] |
| | | public decimal? PackagingQuantity { get; set; } |
| | | |
| | | |
| | | [SugarColumn(IsIgnore = true)] public string? Type { get; set; } |
| | | } |
| | |
| | | using Masuit.Tools; |
| | | using Masuit.Tools; |
| | | using MES.Service.DB; |
| | | using MES.Service.Dto.webApi; |
| | | using MES.Service.Modes; |
| | |
| | | LossPercent = item.FLOSSPERCENT, |
| | | MnemonicCode = item.FMnemonicCode, |
| | | ExpPeriod = item.FExpPeriod, |
| | | ProductionCapacity = string.IsNullOrEmpty(item.FProductionCapacity) ? null : decimal.Parse(item.FProductionCapacity), |
| | | DrawingNumber = item.FDrawingNumber, |
| | | PackagingQuantity = string.IsNullOrEmpty(item.FPackagingQuantity) ? null : decimal.Parse(item.FPackagingQuantity), |
| | | LastupdateDate = DateTime.Now, |
| | | CreateDate = DateTime.Now, |
| | | Company = "1000", |