😭新增实体类

This commit is contained in:
bairubing 2024-11-29 09:48:07 +08:00
parent 96ecd8ac02
commit 998a32899d
2 changed files with 252 additions and 0 deletions

View File

@ -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;
/// <summary>
///
/// </summary>
[SugarTable("ProcessesRequestItems","")]
[Tenant("启威星 1.94.4.74")]
public class ProcessesRequestItems
{
/// <summary>
///
/// </summary>
[Required]
[SugarColumn(ColumnName = "RequestItemsId", IsIdentity = true, ColumnDescription = "", IsPrimaryKey = true)]
public long RequestItemsId { get; set; }
/// <summary>
///
/// </summary>
[Required]
[SugarColumn(ColumnName = "ObjectId", ColumnDescription = "")]
public long ObjectId { get; set; }
/// <summary>
///
/// </summary>
[Required]
[SugarColumn(ColumnName = "RecordGuid", ColumnDescription = "", Length = 50)]
public string RecordGuid { get; set; }
/// <summary>
///
/// </summary>
[Required]
[SugarColumn(ColumnName = "SubObjectGuid", ColumnDescription = "", Length = 50)]
public string SubObjectGuid { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "ProcRecGuid", ColumnDescription = "", Length = 40)]
public string? ProcRecGuid { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "ProcObjId", ColumnDescription = "")]
public long? ProcObjId { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "NextRevision", ColumnDescription = "", Length = 255)]
public string? NextRevision { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "OriginalVersion", ColumnDescription = "")]
public int? OriginalVersion { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "ActualVersion", ColumnDescription = "")]
public int? ActualVersion { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "OriginalStatus", ColumnDescription = "")]
public int? OriginalStatus { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "OriginalCheckOutBy", ColumnDescription = "")]
public long? OriginalCheckOutBy { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "StageId", ColumnDescription = "")]
public long? StageId { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "UserId", ColumnDescription = "")]
public long? UserId { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "DateAdded", ColumnDescription = "")]
public DateTime? DateAdded { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "SelectedOriginator", ColumnDescription = "", Length = -1)]
public string? SelectedOriginator { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "ProcessFinished", ColumnDescription = "")]
public bool? ProcessFinished { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "Comments", ColumnDescription = "", Length = -1)]
public string? Comments { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "EPDMDocumentId", ColumnDescription = "")]
public long? EPDMDocumentId { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "ProcessItemType", ColumnDescription = "")]
public int? ProcessItemType { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "SWPDMDocumentId", ColumnDescription = "")]
public long? SWPDMDocumentId { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "SWPDMAllowCheckOut", ColumnDescription = "")]
public bool? SWPDMAllowCheckOut { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "SWPDMCheckOutUserId", ColumnDescription = "")]
public long? SWPDMCheckOutUserId { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "ChildProcessGuid", ColumnDescription = "", Length = 40)]
public string? ChildProcessGuid { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "CurrentProcessGuid", ColumnDescription = "", Length = 40)]
public string? CurrentProcessGuid { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "Action_BOM_Replace", ColumnDescription = "")]
public int? Action_BOM_Replace { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "fld005669", ColumnDescription = "", Length = -1)]
public string? fld005669 { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "fld005670", ColumnDescription = "", Length = -1)]
public string? fld005670 { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "fld005672", ColumnDescription = "", Length = -1)]
public string? fld005672 { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "fld005683", ColumnDescription = "", Length = -1)]
public string? fld005683 { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "fld006222", ColumnDescription = "", Length = -1)]
public string? fld006222 { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "fld006296", ColumnDescription = "", Length = -1)]
public string? fld006296 { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "fld006351", ColumnDescription = "", Length = -1)]
public string? fld006351 { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "fld006352", ColumnDescription = "", Length = -1)]
public string? fld006352 { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "fld006462", ColumnDescription = "", Length = -1)]
public string? fld006462 { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "fld006463", ColumnDescription = "", Length = -1)]
public string? fld006463 { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "fld006573", ColumnDescription = "", Length = -1)]
public string? fld006573 { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "fld006574", ColumnDescription = "", Length = -1)]
public string? fld006574 { get; set; }
/// <summary>
///
/// </summary>
[SugarColumn(ColumnName = "fld006575", ColumnDescription = "", Length = -1)]
public string? fld006575 { get; set; }
}

View File

@ -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)
{