From 998a32899de3d0398d77ca2696b435067c3d607c Mon Sep 17 00:00:00 2001 From: bairubing Date: Fri, 29 Nov 2024 09:48:07 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=98=AD=E6=96=B0=E5=A2=9E=E5=AE=9E?= =?UTF-8?q?=E4=BD=93=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Entity/ProcessesRequestItems.cs | 251 ++++++++++++++++++ .../ChangeNoticeEcn/ChangeNoticeEcnService.cs | 1 + 2 files changed, 252 insertions(+) create mode 100644 admin.net.pro/Admin.NET/Vistar.Application/Entity/ProcessesRequestItems.cs diff --git a/admin.net.pro/Admin.NET/Vistar.Application/Entity/ProcessesRequestItems.cs b/admin.net.pro/Admin.NET/Vistar.Application/Entity/ProcessesRequestItems.cs new file mode 100644 index 0000000..12234e8 --- /dev/null +++ b/admin.net.pro/Admin.NET/Vistar.Application/Entity/ProcessesRequestItems.cs @@ -0,0 +1,251 @@ +// Admin.NET 项目的版权、商标、专利和其他相关权利均受相应法律法规的保护。使用本项目应遵守相关法律法规和许可证的要求。 +// +// 本项目主要遵循 MIT 许可证和 Apache 许可证(版本 2.0)进行分发和使用。许可证位于源代码树根目录中的 LICENSE-MIT 和 LICENSE-APACHE 文件。 +// +// 不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任! + +using Admin.NET.Core; +using SqlSugar; +using System.ComponentModel.DataAnnotations; +namespace Vistar.Application.Entity; + +/// +/// +/// +[SugarTable("ProcessesRequestItems","")] +[Tenant("启威星 1.94.4.74")] +public class ProcessesRequestItems +{ + /// + /// + /// + [Required] + [SugarColumn(ColumnName = "RequestItemsId", IsIdentity = true, ColumnDescription = "", IsPrimaryKey = true)] + public long RequestItemsId { get; set; } + + /// + /// + /// + [Required] + [SugarColumn(ColumnName = "ObjectId", ColumnDescription = "")] + public long ObjectId { get; set; } + + /// + /// + /// + [Required] + [SugarColumn(ColumnName = "RecordGuid", ColumnDescription = "", Length = 50)] + public string RecordGuid { get; set; } + + /// + /// + /// + [Required] + [SugarColumn(ColumnName = "SubObjectGuid", ColumnDescription = "", Length = 50)] + public string SubObjectGuid { get; set; } + + /// + /// + /// + [SugarColumn(ColumnName = "ProcRecGuid", ColumnDescription = "", Length = 40)] + public string? ProcRecGuid { get; set; } + + /// + /// + /// + [SugarColumn(ColumnName = "ProcObjId", ColumnDescription = "")] + public long? ProcObjId { get; set; } + + /// + /// + /// + [SugarColumn(ColumnName = "NextRevision", ColumnDescription = "", Length = 255)] + public string? NextRevision { get; set; } + + /// + /// + /// + [SugarColumn(ColumnName = "OriginalVersion", ColumnDescription = "")] + public int? OriginalVersion { get; set; } + + /// + /// + /// + [SugarColumn(ColumnName = "ActualVersion", ColumnDescription = "")] + public int? ActualVersion { get; set; } + + /// + /// + /// + [SugarColumn(ColumnName = "OriginalStatus", ColumnDescription = "")] + public int? OriginalStatus { get; set; } + + /// + /// + /// + [SugarColumn(ColumnName = "OriginalCheckOutBy", ColumnDescription = "")] + public long? OriginalCheckOutBy { get; set; } + + /// + /// + /// + [SugarColumn(ColumnName = "StageId", ColumnDescription = "")] + public long? StageId { get; set; } + + /// + /// + /// + [SugarColumn(ColumnName = "UserId", ColumnDescription = "")] + public long? UserId { get; set; } + + /// + /// + /// + [SugarColumn(ColumnName = "DateAdded", ColumnDescription = "")] + public DateTime? DateAdded { get; set; } + + /// + /// + /// + [SugarColumn(ColumnName = "SelectedOriginator", ColumnDescription = "", Length = -1)] + public string? SelectedOriginator { get; set; } + + /// + /// + /// + [SugarColumn(ColumnName = "ProcessFinished", ColumnDescription = "")] + public bool? ProcessFinished { get; set; } + + /// + /// + /// + [SugarColumn(ColumnName = "Comments", ColumnDescription = "", Length = -1)] + public string? Comments { get; set; } + + /// + /// + /// + [SugarColumn(ColumnName = "EPDMDocumentId", ColumnDescription = "")] + public long? EPDMDocumentId { get; set; } + + /// + /// + /// + [SugarColumn(ColumnName = "ProcessItemType", ColumnDescription = "")] + public int? ProcessItemType { get; set; } + + /// + /// + /// + [SugarColumn(ColumnName = "SWPDMDocumentId", ColumnDescription = "")] + public long? SWPDMDocumentId { get; set; } + + /// + /// + /// + [SugarColumn(ColumnName = "SWPDMAllowCheckOut", ColumnDescription = "")] + public bool? SWPDMAllowCheckOut { get; set; } + + /// + /// + /// + [SugarColumn(ColumnName = "SWPDMCheckOutUserId", ColumnDescription = "")] + public long? SWPDMCheckOutUserId { get; set; } + + /// + /// + /// + [SugarColumn(ColumnName = "ChildProcessGuid", ColumnDescription = "", Length = 40)] + public string? ChildProcessGuid { get; set; } + + /// + /// + /// + [SugarColumn(ColumnName = "CurrentProcessGuid", ColumnDescription = "", Length = 40)] + public string? CurrentProcessGuid { get; set; } + + /// + /// + /// + [SugarColumn(ColumnName = "Action_BOM_Replace", ColumnDescription = "")] + public int? Action_BOM_Replace { get; set; } + + /// + /// + /// + [SugarColumn(ColumnName = "fld005669", ColumnDescription = "", Length = -1)] + public string? fld005669 { get; set; } + + /// + /// + /// + [SugarColumn(ColumnName = "fld005670", ColumnDescription = "", Length = -1)] + public string? fld005670 { get; set; } + + /// + /// + /// + [SugarColumn(ColumnName = "fld005672", ColumnDescription = "", Length = -1)] + public string? fld005672 { get; set; } + + /// + /// + /// + [SugarColumn(ColumnName = "fld005683", ColumnDescription = "", Length = -1)] + public string? fld005683 { get; set; } + + /// + /// + /// + [SugarColumn(ColumnName = "fld006222", ColumnDescription = "", Length = -1)] + public string? fld006222 { get; set; } + + /// + /// + /// + [SugarColumn(ColumnName = "fld006296", ColumnDescription = "", Length = -1)] + public string? fld006296 { get; set; } + + /// + /// + /// + [SugarColumn(ColumnName = "fld006351", ColumnDescription = "", Length = -1)] + public string? fld006351 { get; set; } + + /// + /// + /// + [SugarColumn(ColumnName = "fld006352", ColumnDescription = "", Length = -1)] + public string? fld006352 { get; set; } + + /// + /// + /// + [SugarColumn(ColumnName = "fld006462", ColumnDescription = "", Length = -1)] + public string? fld006462 { get; set; } + + /// + /// + /// + [SugarColumn(ColumnName = "fld006463", ColumnDescription = "", Length = -1)] + public string? fld006463 { get; set; } + + /// + /// + /// + [SugarColumn(ColumnName = "fld006573", ColumnDescription = "", Length = -1)] + public string? fld006573 { get; set; } + + /// + /// + /// + [SugarColumn(ColumnName = "fld006574", ColumnDescription = "", Length = -1)] + public string? fld006574 { get; set; } + + /// + /// + /// + [SugarColumn(ColumnName = "fld006575", ColumnDescription = "", Length = -1)] + public string? fld006575 { get; set; } + +} diff --git a/admin.net.pro/Admin.NET/Vistar.Application/Service/ChangeNoticeEcn/ChangeNoticeEcnService.cs b/admin.net.pro/Admin.NET/Vistar.Application/Service/ChangeNoticeEcn/ChangeNoticeEcnService.cs index 234208d..0b8741c 100644 --- a/admin.net.pro/Admin.NET/Vistar.Application/Service/ChangeNoticeEcn/ChangeNoticeEcnService.cs +++ b/admin.net.pro/Admin.NET/Vistar.Application/Service/ChangeNoticeEcn/ChangeNoticeEcnService.cs @@ -521,6 +521,7 @@ public class ChangeNoticeEcnService : IDynamicApiController, ITransient var addChildBomBom = await _configurationDataRep.AsInsertable(childBom).InsertColumns(x => new { x.ParentGuid, x.ChildGuid, x.ChildObjID, x.ConfigId, x.childVersion, x.ParentVersion, x.isDeleted, x.Quantity, x.Description, x.OrderIndex, x.PartNumber, x.BOMGuid, x.CreatedDate, x.ModifiedDate, x.EffectiveFrom, x.EffectiveTo, x.ChildSwFileType, x.ParentSwFileType, x.ParentObjectID, x.CreatedUserID, x.ModifiedUserID, x.ChildConfigID, x.fld006567, x.fld006581, x.fld006565, x.fld006564, x.fld006566 ,x.isAddedFromSW }).ExecuteReturnEntityAsync(); } } + //BOM对比-删除 foreach (var historyBomListItem in historyBomList) {