diff --git a/admin.net.pro/Admin.NET/Vistar.Application/Entity/Obj116.cs b/admin.net.pro/Admin.NET/Vistar.Application/Entity/Obj116.cs
new file mode 100644
index 0000000..583dc5e
--- /dev/null
+++ b/admin.net.pro/Admin.NET/Vistar.Application/Entity/Obj116.cs
@@ -0,0 +1,471 @@
+// 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("OBJ116","")]
+[Tenant("启威星 1.94.4.74")]
+public class Obj116
+{
+ ///
+ ///
+ ///
+ [Required]
+ [SugarColumn(ColumnName = "idRecord", IsIdentity = true, ColumnDescription = "", IsPrimaryKey = true)]
+ public long idRecord { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "CheckedStatus", ColumnDescription = "")]
+ public bool? CheckedStatus { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "VersionIndex", ColumnDescription = "")]
+ public int? VersionIndex { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "IsLatestVersion", ColumnDescription = "")]
+ public bool? IsLatestVersion { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "CreatedDate", ColumnDescription = "")]
+ public DateTime? CreatedDate { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "VersionCreatedDate", ColumnDescription = "")]
+ public DateTime? VersionCreatedDate { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "dateModified", ColumnDescription = "")]
+ public DateTime? dateModified { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "UserCreatedId", ColumnDescription = "")]
+ public long? UserCreatedId { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "VersionUserCreatedId", ColumnDescription = "")]
+ public long? VersionUserCreatedId { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "UserModifiedId", ColumnDescription = "")]
+ public long? UserModifiedId { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "RecordGuid", ColumnDescription = "", Length = 40)]
+ public string? RecordGuid { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "isVisibilityNormal", ColumnDescription = "")]
+ public bool? isVisibilityNormal { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "deleted", ColumnDescription = "")]
+ public bool? deleted { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "SubObjectGuid", ColumnDescription = "", Length = 40)]
+ public string? SubObjectGuid { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "PreviousStatus", ColumnDescription = "")]
+ public bool? PreviousStatus { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "revision", ColumnDescription = "", Length = 10)]
+ public string? revision { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "Record_image160_160", ColumnDescription = "")]
+ public byte[]? Record_image160_160 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "Record_Image320_240", ColumnDescription = "")]
+ public byte[]? Record_Image320_240 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "Record_ImageMax", ColumnDescription = "")]
+ public byte[]? Record_ImageMax { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "_System_objNBS", ColumnDescription = "", Length = 100)]
+ public string? _System_objNBS { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "_System_ObjDescription", ColumnDescription = "", Length = 200)]
+ public string? _System_ObjDescription { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "_System_Effectivity_Begin", ColumnDescription = "")]
+ public DateTime? _System_Effectivity_Begin { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "_System_Effectivity_End", ColumnDescription = "")]
+ public DateTime? _System_Effectivity_End { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "CheckedOutPc", ColumnDescription = "", Length = 255)]
+ public string? CheckedOutPc { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "StageId", ColumnDescription = "")]
+ public long? StageId { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "ProjectManager", ColumnDescription = "")]
+ public long? ProjectManager { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "ProjectManager_Rec", ColumnDescription = "")]
+ public long? ProjectManager_Rec { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "EnableNotifications", ColumnDescription = "")]
+ public bool? EnableNotifications { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "GroupObjId", ColumnDescription = "")]
+ public long? GroupObjId { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "_CheckOutInProgress", ColumnDescription = "")]
+ public bool? _CheckOutInProgress { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "_System_CurrentStage", ColumnDescription = "", Length = 250)]
+ public string? _System_CurrentStage { get; set; }
+
+ ///
+ ///
+ ///
+ [Required]
+ [SugarColumn(ColumnName = "_System_ObjNbsAuto", ColumnDescription = "", Length = 50)]
+ public string _System_ObjNbsAuto { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "isReleasedVersion", ColumnDescription = "")]
+ public bool? isReleasedVersion { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "_System_WebLink", ColumnDescription = "", Length = 500)]
+ public string? _System_WebLink { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "_System_ObjParentProcess", ColumnDescription = "")]
+ public long? _System_ObjParentProcess { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "_System_ObjParentProcess_Rec", ColumnDescription = "", Length = 40)]
+ public string? _System_ObjParentProcess_Rec { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld004628", ColumnDescription = "")]
+ public long? fld004628 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld004628_Rec", ColumnDescription = "", Length = 40)]
+ public string? fld004628_Rec { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld004634", ColumnDescription = "", Length = -1)]
+ public string? fld004634 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld004635", ColumnDescription = "")]
+ public long? fld004635 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld004635_Rec", ColumnDescription = "", Length = 40)]
+ public string? fld004635_Rec { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld004636", ColumnDescription = "")]
+ public long? fld004636 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld004636_Rec", ColumnDescription = "", Length = 40)]
+ public string? fld004636_Rec { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld004888", ColumnDescription = "")]
+ public long? fld004888 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld004888_Rec", ColumnDescription = "", Length = 40)]
+ public string? fld004888_Rec { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld004889", ColumnDescription = "")]
+ public long? fld004889 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld004889_Rec", ColumnDescription = "", Length = 40)]
+ public string? fld004889_Rec { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld004890", ColumnDescription = "")]
+ public DateTime? fld004890 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld004891", ColumnDescription = "", Length = -1)]
+ public string? fld004891 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld004892", ColumnDescription = "")]
+ public long? fld004892 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld004892_Rec", ColumnDescription = "", Length = 40)]
+ public string? fld004892_Rec { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld004893", ColumnDescription = "")]
+ public DateTime? fld004893 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld004894", ColumnDescription = "", Length = -1)]
+ public string? fld004894 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld004896", ColumnDescription = "")]
+ public long? fld004896 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld004896_Rec", ColumnDescription = "", Length = 40)]
+ public string? fld004896_Rec { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld004897", ColumnDescription = "")]
+ public DateTime? fld004897 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld004898", ColumnDescription = "", Length = -1)]
+ public string? fld004898 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld004899", ColumnDescription = "", Length = -1)]
+ public string? fld004899 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005049", ColumnDescription = "", Length = -1)]
+ public string? fld005049 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005050", ColumnDescription = "", Length = -1)]
+ public string? fld005050 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005051", ColumnDescription = "", Length = -1)]
+ public string? fld005051 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005052", ColumnDescription = "")]
+ public long? fld005052 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005052_Rec", ColumnDescription = "", Length = 40)]
+ public string? fld005052_Rec { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005053", ColumnDescription = "", Length = -1)]
+ public string? fld005053 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005054", ColumnDescription = "")]
+ public long? fld005054 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005054_Rec", ColumnDescription = "", Length = 40)]
+ public string? fld005054_Rec { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005055", ColumnDescription = "")]
+ public DateTime? fld005055 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005056", ColumnDescription = "", Length = -1)]
+ public string? fld005056 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005057", ColumnDescription = "", Length = -1)]
+ public string? fld005057 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005688", ColumnDescription = "", Length = -1)]
+ public string? fld005688 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005689", ColumnDescription = "", Length = -1)]
+ public string? fld005689 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005707", ColumnDescription = "", Length = -1)]
+ public string? fld005707 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005745", ColumnDescription = "", Length = -1)]
+ public string? fld005745 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005746", ColumnDescription = "", Length = -1)]
+ public string? fld005746 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005752", ColumnDescription = "", Length = -1)]
+ public string? fld005752 { get; set; }
+
+}
diff --git a/admin.net.pro/Admin.NET/Vistar.Application/Entity/Obj140.cs b/admin.net.pro/Admin.NET/Vistar.Application/Entity/Obj140.cs
new file mode 100644
index 0000000..291cce2
--- /dev/null
+++ b/admin.net.pro/Admin.NET/Vistar.Application/Entity/Obj140.cs
@@ -0,0 +1,483 @@
+// 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("OBJ140","")]
+[Tenant("启威星 1.94.4.74")]
+public class Obj140
+{
+ ///
+ ///
+ ///
+ [Required]
+ [SugarColumn(ColumnName = "idRecord", IsIdentity = true, ColumnDescription = "", IsPrimaryKey = true)]
+ public long idRecord { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "CheckedStatus", ColumnDescription = "")]
+ public bool? CheckedStatus { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "VersionIndex", ColumnDescription = "")]
+ public int? VersionIndex { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "IsLatestVersion", ColumnDescription = "")]
+ public bool? IsLatestVersion { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "CreatedDate", ColumnDescription = "")]
+ public DateTime? CreatedDate { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "VersionCreatedDate", ColumnDescription = "")]
+ public DateTime? VersionCreatedDate { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "dateModified", ColumnDescription = "")]
+ public DateTime? dateModified { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "UserCreatedId", ColumnDescription = "")]
+ public long? UserCreatedId { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "VersionUserCreatedId", ColumnDescription = "")]
+ public long? VersionUserCreatedId { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "UserModifiedId", ColumnDescription = "")]
+ public long? UserModifiedId { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "RecordGuid", ColumnDescription = "", Length = 40)]
+ public string? RecordGuid { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "isVisibilityNormal", ColumnDescription = "")]
+ public bool? isVisibilityNormal { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "deleted", ColumnDescription = "")]
+ public bool? deleted { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "SubObjectGuid", ColumnDescription = "", Length = 40)]
+ public string? SubObjectGuid { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "PreviousStatus", ColumnDescription = "")]
+ public bool? PreviousStatus { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "revision", ColumnDescription = "", Length = 10)]
+ public string? revision { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "Record_image160_160", ColumnDescription = "")]
+ public byte[]? Record_image160_160 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "Record_Image320_240", ColumnDescription = "")]
+ public byte[]? Record_Image320_240 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "Record_ImageMax", ColumnDescription = "")]
+ public byte[]? Record_ImageMax { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "_System_objNBS", ColumnDescription = "", Length = 50)]
+ public string? _System_objNBS { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "_System_ObjDescription", ColumnDescription = "", Length = 200)]
+ public string? _System_ObjDescription { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "_System_Effectivity_Begin", ColumnDescription = "")]
+ public DateTime? _System_Effectivity_Begin { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "_System_Effectivity_End", ColumnDescription = "")]
+ public DateTime? _System_Effectivity_End { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "CheckedOutPc", ColumnDescription = "", Length = 255)]
+ public string? CheckedOutPc { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "StageId", ColumnDescription = "")]
+ public long? StageId { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "ProjectManager", ColumnDescription = "")]
+ public long? ProjectManager { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "ProjectManager_Rec", ColumnDescription = "")]
+ public long? ProjectManager_Rec { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "EnableNotifications", ColumnDescription = "")]
+ public bool? EnableNotifications { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "GroupObjId", ColumnDescription = "")]
+ public long? GroupObjId { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "_CheckOutInProgress", ColumnDescription = "")]
+ public bool? _CheckOutInProgress { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "_System_CurrentStage", ColumnDescription = "", Length = 250)]
+ public string? _System_CurrentStage { get; set; }
+
+ ///
+ ///
+ ///
+ [Required]
+ [SugarColumn(ColumnName = "_System_ObjNbsAuto", ColumnDescription = "", Length = 50)]
+ public string _System_ObjNbsAuto { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "_System_WebLink", ColumnDescription = "", Length = 500)]
+ public string? _System_WebLink { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "isReleasedVersion", ColumnDescription = "")]
+ public bool? isReleasedVersion { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005831", ColumnDescription = "", Length = -1)]
+ public string? fld005831 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005832", ColumnDescription = "", Length = -1)]
+ public string? fld005832 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005833", ColumnDescription = "", Length = -1)]
+ public string? fld005833 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005836", ColumnDescription = "", Length = -1)]
+ public string? fld005836 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005838", ColumnDescription = "", Length = -1)]
+ public string? fld005838 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005841", ColumnDescription = "", Length = -1)]
+ public string? fld005841 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005842", ColumnDescription = "", Length = -1)]
+ public string? fld005842 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005843", ColumnDescription = "", Length = -1)]
+ public string? fld005843 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005844", ColumnDescription = "", Length = -1)]
+ public string? fld005844 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005845", ColumnDescription = "", Length = -1)]
+ public string? fld005845 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005846", ColumnDescription = "", Length = -1)]
+ public string? fld005846 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005847", ColumnDescription = "", Length = -1)]
+ public string? fld005847 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005849", ColumnDescription = "")]
+ public DateTime? fld005849 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005850", ColumnDescription = "", Length = -1)]
+ public string? fld005850 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005852", ColumnDescription = "")]
+ public DateTime? fld005852 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005853", ColumnDescription = "", Length = -1)]
+ public string? fld005853 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005854", ColumnDescription = "", Length = -1)]
+ public string? fld005854 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005855", ColumnDescription = "", Length = -1)]
+ public string? fld005855 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005856", ColumnDescription = "", Length = -1)]
+ public string? fld005856 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005858", ColumnDescription = "")]
+ public DateTime? fld005858 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005860", ColumnDescription = "")]
+ public DateTime? fld005860 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005861", ColumnDescription = "", Length = -1)]
+ public string? fld005861 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005862", ColumnDescription = "", Length = -1)]
+ public string? fld005862 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005834", ColumnDescription = "")]
+ public long? fld005834 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005834_Rec", ColumnDescription = "", Length = -1)]
+ public string? fld005834_Rec { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005835", ColumnDescription = "")]
+ public long? fld005835 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005835_Rec", ColumnDescription = "", Length = -1)]
+ public string? fld005835_Rec { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005837", ColumnDescription = "")]
+ public long? fld005837 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005837_Rec", ColumnDescription = "", Length = -1)]
+ public string? fld005837_Rec { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005839", ColumnDescription = "")]
+ public long? fld005839 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005839_Rec", ColumnDescription = "", Length = -1)]
+ public string? fld005839_Rec { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005840", ColumnDescription = "")]
+ public long? fld005840 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005840_Rec", ColumnDescription = "", Length = -1)]
+ public string? fld005840_Rec { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005848", ColumnDescription = "")]
+ public long? fld005848 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005848_Rec", ColumnDescription = "", Length = -1)]
+ public string? fld005848_Rec { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005851", ColumnDescription = "")]
+ public long? fld005851 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005851_Rec", ColumnDescription = "", Length = -1)]
+ public string? fld005851_Rec { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005857", ColumnDescription = "")]
+ public long? fld005857 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005857_Rec", ColumnDescription = "", Length = -1)]
+ public string? fld005857_Rec { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005859", ColumnDescription = "")]
+ public long? fld005859 { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "fld005859_Rec", ColumnDescription = "", Length = -1)]
+ public string? fld005859_Rec { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "_System_ObjParentProcess", ColumnDescription = "")]
+ public long? _System_ObjParentProcess { get; set; }
+
+ ///
+ ///
+ ///
+ [SugarColumn(ColumnName = "_System_ObjParentProcess_Rec", ColumnDescription = "", Length = 40)]
+ public string? _System_ObjParentProcess_Rec { get; set; }
+
+}
diff --git a/admin.net.pro/Admin.NET/Vistar.Application/Service/OaOpenInterface/Dto/OaCreateProcessInput.cs b/admin.net.pro/Admin.NET/Vistar.Application/Service/OaOpenInterface/Dto/OaCreateProcessInput.cs
new file mode 100644
index 0000000..9d2165b
--- /dev/null
+++ b/admin.net.pro/Admin.NET/Vistar.Application/Service/OaOpenInterface/Dto/OaCreateProcessInput.cs
@@ -0,0 +1,125 @@
+// Admin.NET 项目的版权、商标、专利和其他相关权利均受相应法律法规的保护。使用本项目应遵守相关法律法规和许可证的要求。
+//
+// 本项目主要遵循 MIT 许可证和 Apache 许可证(版本 2.0)进行分发和使用。许可证位于源代码树根目录中的 LICENSE-MIT 和 LICENSE-APACHE 文件。
+//
+// 不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Vistar.Application.Service.OaOpenInterface.Dto;
+public class OaCreateProcessInput
+{
+ ///
+ /// 对象id
+ ///
+ public int object_id { get; set; }
+
+ ///
+ /// 字段组
+ ///
+ public string field_group { get; set; }
+
+ ///
+ /// 问题编号
+ ///
+ public string _System_objNBS { get; set; }
+
+ ///
+ /// 问题描述
+ ///
+ public string _System_objDescription { get; set; }
+
+ ///
+ /// 提出部门
+ ///
+ public string fld005831 { get; set; }
+
+ ///
+ /// 问题分类
+ ///
+ public string fld005832 { get; set; }
+
+ ///
+ /// 问题因素
+ ///
+ public string fld005833 { get; set; }
+
+ ///
+ /// 责任人员
+ ///
+ public string fld005836 { get; set; }
+
+ ///
+ /// 问题处理人员
+ ///
+ public string fld005838 { get; set; }
+
+ ///
+ /// 是否需要创建ECR流程
+ ///
+ public string fld005841 { get; set; }
+
+ ///
+ /// 紧急程度
+ ///
+ public string fld005842 { get; set; }
+
+ ///
+ /// 解决方案建议
+ ///
+ public string fld005843 { get; set; }
+
+ ///
+ /// 备注
+ ///
+ public string fld005846 { get; set; }
+
+ ///
+ /// 创建人员
+ ///
+ public string fld005847 { get; set; }
+
+ ///
+ /// 创建日期
+ ///
+ public DateTime fld005849 { get; set; }
+
+ ///
+ /// 评审人员
+ ///
+ public string fld005850 { get; set; }
+
+ ///
+ /// 评审日期
+ ///
+ public DateTime fld005852 { get; set; }
+
+ ///
+ /// 评审结论
+ ///
+ public string fld005853 { get; set; }
+
+ ///
+ /// 评审结论说明
+ ///
+ public string fld005854 { get; set; }
+
+ ///
+ /// 系统来源
+ ///
+ public string fld005855 { get; set; }
+
+ ///
+ /// 变更等级
+ ///
+ public string fld005844 { get; set; }
+
+ ///
+ /// 变更等级说明
+ ///
+ public string fld005845 { get; set; }
+}
diff --git a/admin.net.pro/Admin.NET/Vistar.Application/Service/OaOpenInterface/OaOpenInterfaceService.cs b/admin.net.pro/Admin.NET/Vistar.Application/Service/OaOpenInterface/OaOpenInterfaceService.cs
index c0170cc..3a7ae2d 100644
--- a/admin.net.pro/Admin.NET/Vistar.Application/Service/OaOpenInterface/OaOpenInterfaceService.cs
+++ b/admin.net.pro/Admin.NET/Vistar.Application/Service/OaOpenInterface/OaOpenInterfaceService.cs
@@ -30,17 +30,20 @@ namespace Vistar.Application.Service.OaOpenInterface;
public class OaOpenInterfaceService : IDynamicApiController, ITransient
{
public SqlSugarRepository _obj109Rep;
+ public SqlSugarRepository _obj140Rep;
public SolidWorksManageService.SolidWorksManageService _solidWorksManageService;
public SqlSugarRepository _objectFieldsGroupsRep;
public SqlSugarRepository _fieldGroupDefaultRep;
public OaOpenInterfaceService(
SqlSugarRepository obj109Rep,
+ SqlSugarRepository obj140Rep,
SolidWorksManageService.SolidWorksManageService solidWorksManageService,
SqlSugarRepository objectFieldsGroupsRep,
SqlSugarRepository fieldGroupDefaultRep)
{
_obj109Rep = obj109Rep;
+ _obj140Rep = obj140Rep;
_solidWorksManageService = solidWorksManageService;
_objectFieldsGroupsRep = objectFieldsGroupsRep;
_fieldGroupDefaultRep = fieldGroupDefaultRep;
@@ -118,12 +121,13 @@ public class OaOpenInterfaceService : IDynamicApiController, ITransient
fields = fieldList
};
response = await _solidWorksManageService.CreateProject(data);
- var projectData = await _obj109Rep.AsQueryable().Where(x=>x._System_objNBS==input._System_objNBS).FirstAsync();
+ var projectData = await _obj109Rep.AsQueryable().Where(x => x._System_objNBS == input._System_objNBS).FirstAsync();
- var CheckData = new CheckDataInput() {
- object_id=input.object_id,
- record_guid=projectData.RecordGuid,
- bom_level=1
+ var CheckData = new CheckDataInput()
+ {
+ object_id = input.object_id,
+ record_guid = projectData.RecordGuid,
+ bom_level = 1
};
await _solidWorksManageService.CheckOut(CheckData);
await _solidWorksManageService.CheckIn(CheckData);
@@ -150,4 +154,113 @@ public class OaOpenInterfaceService : IDynamicApiController, ITransient
return response;
}
+ ///
+ /// OA创建流程
+ ///
+ ///
+ ///
+ [Authorize(AuthenticationSchemes = JwtBearerDefaults.AuthenticationScheme + "," + SignatureAuthenticationDefaults.AuthenticationScheme)]
+ [ApiDescriptionSettings(Name = "OaCreateProcess"), HttpPost]
+ [DisplayName("OA创建流程")]
+ public async Task OaCreateProcess(OaCreateProcessInput input)
+ {
+ var response = new ManageResponse();
+
+ if (
+ string.IsNullOrWhiteSpace(input._System_objNBS) ||
+ string.IsNullOrWhiteSpace(input._System_objDescription) ||
+ string.IsNullOrWhiteSpace(input.fld005831) ||
+ string.IsNullOrWhiteSpace(input.fld005832) ||
+ string.IsNullOrWhiteSpace(input.fld005833) ||
+ string.IsNullOrWhiteSpace(input.fld005836) ||
+ string.IsNullOrWhiteSpace(input.fld005842) ||
+ string.IsNullOrWhiteSpace(input.fld005847) ||
+ string.IsNullOrWhiteSpace(input.fld005849.ToString("yyyy-MM-dd HH:mm:ss")) ||
+ string.IsNullOrWhiteSpace(input.fld005850) ||
+ string.IsNullOrWhiteSpace(input.fld005852.ToString("yyyy-MM-dd HH:mm:ss")) ||
+ string.IsNullOrWhiteSpace(input.fld005853) ||
+ string.IsNullOrWhiteSpace(input.fld005854)
+
+
+ )
+ {
+ response.Success = true;
+ response.Message = "请输入必填字段";
+ return response;
+ }
+
+ //判断是否存在项目记录
+ var clientExists = await _obj140Rep.AsQueryable().AnyAsync(x => x._System_objNBS == input._System_objNBS && x.deleted == false);
+
+ if (clientExists == false)
+ {
+ var fieldList = new List();
+
+ fieldList.Add(new Field { key = "_System_objNBS", value = input._System_objNBS });
+ fieldList.Add(new Field { key = "_System_objDescription", value = input._System_objDescription });
+ fieldList.Add(new Field { key = "fld005831", value = input.fld005831 });
+ fieldList.Add(new Field { key = "fld005832", value = input.fld005832 });
+ fieldList.Add(new Field { key = "fld005833", value = input.fld005833 });
+ fieldList.Add(new Field { key = "fld005836", value = input.fld005836 });
+ fieldList.Add(new Field { key = "fld005842", value = input.fld005842 });
+ fieldList.Add(new Field { key = "fld005847", value = input.fld005847 });
+ fieldList.Add(new Field { key = "fld005849", value = input.fld005849.ToString("yyyy-MM-dd HH:mm:ss") });
+ fieldList.Add(new Field { key = "fld005850", value = input.fld005850 });
+ fieldList.Add(new Field { key = "fld005852", value = input.fld005852.ToString("yyyy-MM-dd HH:mm:ss") });
+ fieldList.Add(new Field { key = "fld005853", value = input.fld005853 });
+ fieldList.Add(new Field { key = "fld005854", value = input.fld005854 });
+ fieldList.Add(new Field { key = "fld005855", value = "OA" });
+
+ if (!string.IsNullOrWhiteSpace(input.fld005838))
+ {
+ fieldList.Add(new Field { key = "fld005838", value = input.fld005838 });
+ }
+ if (!string.IsNullOrWhiteSpace(input.fld005841))
+ {
+ fieldList.Add(new Field { key = "fld005841", value = input.fld005841 });
+ }
+ if (!string.IsNullOrWhiteSpace(input.fld005843))
+ {
+ fieldList.Add(new Field { key = "fld005843", value = input.fld005843 });
+ }
+ if (!string.IsNullOrWhiteSpace(input.fld005846))
+ {
+ fieldList.Add(new Field { key = "fld005846", value = input.fld005846 });
+ }
+ if (!string.IsNullOrWhiteSpace(input.fld005844))
+ {
+ fieldList.Add(new Field { key = "fld005844", value = input.fld005844 });
+ }
+ if (!string.IsNullOrWhiteSpace(input.fld005845))
+ {
+ fieldList.Add(new Field { key = "fld005845", value = input.fld005845 });
+ }
+ var fieldGroup = await _objectFieldsGroupsRep.AsQueryable().Where(x => x.GroupName == input.field_group && x.ObjectId==140).FirstAsync();
+
+ var data = new CreateProjectInput
+ {
+ object_id = input.object_id,
+ field_group_id = fieldGroup.GroupObjId,
+ fields = fieldList
+ };
+ response = await _solidWorksManageService.CreateProcess(data);
+ var projectData = await _obj140Rep.AsQueryable().Where(x => x._System_objNBS == input._System_objNBS && x.deleted == false).FirstAsync();
+
+ var CheckData = new CheckDataInput()
+ {
+ object_id = input.object_id,
+ record_guid = projectData.RecordGuid,
+ bom_level = 1
+ };
+
+ await _solidWorksManageService.CheckIn(CheckData);
+ }
+ else {
+ response.Success = true;
+ response.Message = "编码已存在";
+ }
+
+ return response;
+ }
+
}