删除无用
This commit is contained in:
		
							parent
							
								
									a4a2d689ff
								
							
						
					
					
						commit
						256576c29c
					
				
							
								
								
									
										92308
									
								
								APT.Data.Migrations/Migrations/20240126092214_wjn202401-2602.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										92308
									
								
								APT.Data.Migrations/Migrations/20240126092214_wjn202401-2602.Designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										143
									
								
								APT.Data.Migrations/Migrations/20240126092214_wjn202401-2602.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										143
									
								
								APT.Data.Migrations/Migrations/20240126092214_wjn202401-2602.cs
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,143 @@
 | 
				
			|||||||
 | 
					using System;
 | 
				
			||||||
 | 
					using Microsoft.EntityFrameworkCore.Migrations;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					namespace APT.Data.Migrations.Migrations
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    public partial class wjn2024012602 : Migration
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        protected override void Up(MigrationBuilder migrationBuilder)
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            migrationBuilder.DropTable(
 | 
				
			||||||
 | 
					                name: "T_OG_OGCONFIG");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            migrationBuilder.DropTable(
 | 
				
			||||||
 | 
					                name: "T_OG_PERSONNEL_TYPE_ENUM");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            migrationBuilder.DropTable(
 | 
				
			||||||
 | 
					                name: "T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM");
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        protected override void Down(MigrationBuilder migrationBuilder)
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            migrationBuilder.CreateTable(
 | 
				
			||||||
 | 
					                name: "T_OG_OGCONFIG",
 | 
				
			||||||
 | 
					                columns: table => new
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
 | 
				
			||||||
 | 
					                    CREATER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
 | 
				
			||||||
 | 
					                    CREATE_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
 | 
				
			||||||
 | 
					                    EMPLOYEE_OPINION_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
 | 
				
			||||||
 | 
					                    ENTITY_ORG_TPYE = table.Column<int>(type: "int", nullable: false),
 | 
				
			||||||
 | 
					                    EVENT_GET_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
 | 
				
			||||||
 | 
					                    EVENT_GET_TIME_1 = table.Column<DateTime>(type: "datetime2", nullable: true),
 | 
				
			||||||
 | 
					                    FLOW_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
 | 
				
			||||||
 | 
					                    FLOW_SEND_STATUS = table.Column<int>(type: "int", nullable: false),
 | 
				
			||||||
 | 
					                    FLOW_STATUS = table.Column<int>(type: "int", nullable: false),
 | 
				
			||||||
 | 
					                    FORM_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
 | 
				
			||||||
 | 
					                    IS_DELETED = table.Column<bool>(type: "bit", nullable: false),
 | 
				
			||||||
 | 
					                    MODIFIER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
 | 
				
			||||||
 | 
					                    MODIFY_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
 | 
				
			||||||
 | 
					                    ORG_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
 | 
				
			||||||
 | 
					                    REPORT_SUM_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
 | 
				
			||||||
 | 
					                    SAFE_PDT_PERSONAL_SIGNED_TRIGGER_TIME = table.Column<DateTime>(type: "datetime2", nullable: true)
 | 
				
			||||||
 | 
					                },
 | 
				
			||||||
 | 
					                constraints: table =>
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    table.PrimaryKey("PK_T_OG_OGCONFIG", x => x.ID);
 | 
				
			||||||
 | 
					                    table.ForeignKey(
 | 
				
			||||||
 | 
					                        name: "FK_T_OG_OGCONFIG_T_FM_ORGANIZATION_ORG_ID",
 | 
				
			||||||
 | 
					                        column: x => x.ORG_ID,
 | 
				
			||||||
 | 
					                        principalTable: "T_FM_ORGANIZATION",
 | 
				
			||||||
 | 
					                        principalColumn: "ID",
 | 
				
			||||||
 | 
					                        onDelete: ReferentialAction.Restrict);
 | 
				
			||||||
 | 
					                });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            migrationBuilder.CreateTable(
 | 
				
			||||||
 | 
					                name: "T_OG_PERSONNEL_TYPE_ENUM",
 | 
				
			||||||
 | 
					                columns: table => new
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
 | 
				
			||||||
 | 
					                    CREATER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
 | 
				
			||||||
 | 
					                    CREATE_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
 | 
				
			||||||
 | 
					                    ENTITY_ORG_TPYE = table.Column<int>(type: "int", nullable: false),
 | 
				
			||||||
 | 
					                    FLOW_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
 | 
				
			||||||
 | 
					                    FLOW_SEND_STATUS = table.Column<int>(type: "int", nullable: false),
 | 
				
			||||||
 | 
					                    FLOW_STATUS = table.Column<int>(type: "int", nullable: false),
 | 
				
			||||||
 | 
					                    FORM_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
 | 
				
			||||||
 | 
					                    IS_DELETED = table.Column<bool>(type: "bit", nullable: false),
 | 
				
			||||||
 | 
					                    MODIFIER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
 | 
				
			||||||
 | 
					                    MODIFY_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
 | 
				
			||||||
 | 
					                    NAME = table.Column<string>(type: "nvarchar(500)", maxLength: 500, nullable: true),
 | 
				
			||||||
 | 
					                    ORG_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false)
 | 
				
			||||||
 | 
					                },
 | 
				
			||||||
 | 
					                constraints: table =>
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    table.PrimaryKey("PK_T_OG_PERSONNEL_TYPE_ENUM", x => x.ID);
 | 
				
			||||||
 | 
					                    table.ForeignKey(
 | 
				
			||||||
 | 
					                        name: "FK_T_OG_PERSONNEL_TYPE_ENUM_T_FM_ORGANIZATION_ORG_ID",
 | 
				
			||||||
 | 
					                        column: x => x.ORG_ID,
 | 
				
			||||||
 | 
					                        principalTable: "T_FM_ORGANIZATION",
 | 
				
			||||||
 | 
					                        principalColumn: "ID",
 | 
				
			||||||
 | 
					                        onDelete: ReferentialAction.Restrict);
 | 
				
			||||||
 | 
					                });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            migrationBuilder.CreateTable(
 | 
				
			||||||
 | 
					                name: "T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM",
 | 
				
			||||||
 | 
					                columns: table => new
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
 | 
				
			||||||
 | 
					                    CREATER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
 | 
				
			||||||
 | 
					                    CREATE_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
 | 
				
			||||||
 | 
					                    ENTITY_ORG_TPYE = table.Column<int>(type: "int", nullable: false),
 | 
				
			||||||
 | 
					                    FLOW_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
 | 
				
			||||||
 | 
					                    FLOW_SEND_STATUS = table.Column<int>(type: "int", nullable: false),
 | 
				
			||||||
 | 
					                    FLOW_STATUS = table.Column<int>(type: "int", nullable: false),
 | 
				
			||||||
 | 
					                    FORM_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
 | 
				
			||||||
 | 
					                    IS_DELETED = table.Column<bool>(type: "bit", nullable: false),
 | 
				
			||||||
 | 
					                    MODIFIER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
 | 
				
			||||||
 | 
					                    MODIFY_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
 | 
				
			||||||
 | 
					                    NAME = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
 | 
				
			||||||
 | 
					                    ORG_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false)
 | 
				
			||||||
 | 
					                },
 | 
				
			||||||
 | 
					                constraints: table =>
 | 
				
			||||||
 | 
					                {
 | 
				
			||||||
 | 
					                    table.PrimaryKey("PK_T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM", x => x.ID);
 | 
				
			||||||
 | 
					                    table.ForeignKey(
 | 
				
			||||||
 | 
					                        name: "FK_T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM_T_FM_ORGANIZATION_ORG_ID",
 | 
				
			||||||
 | 
					                        column: x => x.ORG_ID,
 | 
				
			||||||
 | 
					                        principalTable: "T_FM_ORGANIZATION",
 | 
				
			||||||
 | 
					                        principalColumn: "ID",
 | 
				
			||||||
 | 
					                        onDelete: ReferentialAction.Restrict);
 | 
				
			||||||
 | 
					                });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            migrationBuilder.CreateIndex(
 | 
				
			||||||
 | 
					                name: "IX_T_OG_OGCONFIG_ORG_ID",
 | 
				
			||||||
 | 
					                table: "T_OG_OGCONFIG",
 | 
				
			||||||
 | 
					                column: "ORG_ID");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            migrationBuilder.CreateIndex(
 | 
				
			||||||
 | 
					                name: "IX_T_OG_PERSONNEL_TYPE_ENUM_NAME",
 | 
				
			||||||
 | 
					                table: "T_OG_PERSONNEL_TYPE_ENUM",
 | 
				
			||||||
 | 
					                column: "NAME",
 | 
				
			||||||
 | 
					                unique: true,
 | 
				
			||||||
 | 
					                filter: "[NAME] IS NOT NULL");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            migrationBuilder.CreateIndex(
 | 
				
			||||||
 | 
					                name: "IX_T_OG_PERSONNEL_TYPE_ENUM_ORG_ID",
 | 
				
			||||||
 | 
					                table: "T_OG_PERSONNEL_TYPE_ENUM",
 | 
				
			||||||
 | 
					                column: "ORG_ID");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            migrationBuilder.CreateIndex(
 | 
				
			||||||
 | 
					                name: "IX_T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM_NAME",
 | 
				
			||||||
 | 
					                table: "T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM",
 | 
				
			||||||
 | 
					                column: "NAME",
 | 
				
			||||||
 | 
					                unique: true,
 | 
				
			||||||
 | 
					                filter: "[NAME] IS NOT NULL");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            migrationBuilder.CreateIndex(
 | 
				
			||||||
 | 
					                name: "IX_T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM_ORG_ID",
 | 
				
			||||||
 | 
					                table: "T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM",
 | 
				
			||||||
 | 
					                column: "ORG_ID");
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -41543,123 +41543,6 @@ namespace APT.Data.Migrations.Migrations
 | 
				
			|||||||
                    b.ToTable("T_OG_EXTERNAL_CONTACT_DETAIL");
 | 
					                    b.ToTable("T_OG_EXTERNAL_CONTACT_DETAIL");
 | 
				
			||||||
                });
 | 
					                });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_OGCONFIG", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.Property<Guid>("ID")
 | 
					 | 
				
			||||||
                        .ValueGeneratedOnAdd()
 | 
					 | 
				
			||||||
                        .HasColumnType("uniqueidentifier");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<Guid?>("CREATER_ID")
 | 
					 | 
				
			||||||
                        .HasColumnType("uniqueidentifier");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("CREATE_TIME")
 | 
					 | 
				
			||||||
                        .HasColumnType("datetime2");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("EMPLOYEE_OPINION_TIME")
 | 
					 | 
				
			||||||
                        .HasColumnType("datetime2");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("ENTITY_ORG_TPYE")
 | 
					 | 
				
			||||||
                        .HasColumnType("int");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("EVENT_GET_TIME")
 | 
					 | 
				
			||||||
                        .HasColumnType("datetime2");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("EVENT_GET_TIME_1")
 | 
					 | 
				
			||||||
                        .HasColumnType("datetime2");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<Guid?>("FLOW_ID")
 | 
					 | 
				
			||||||
                        .HasColumnType("uniqueidentifier");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("FLOW_SEND_STATUS")
 | 
					 | 
				
			||||||
                        .HasColumnType("int");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("FLOW_STATUS")
 | 
					 | 
				
			||||||
                        .HasColumnType("int");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<Guid?>("FORM_ID")
 | 
					 | 
				
			||||||
                        .HasColumnType("uniqueidentifier");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("IS_DELETED")
 | 
					 | 
				
			||||||
                        .HasColumnType("bit");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<Guid?>("MODIFIER_ID")
 | 
					 | 
				
			||||||
                        .HasColumnType("uniqueidentifier");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("MODIFY_TIME")
 | 
					 | 
				
			||||||
                        .HasColumnType("datetime2");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<Guid?>("ORG_ID")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("uniqueidentifier");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("REPORT_SUM_TIME")
 | 
					 | 
				
			||||||
                        .HasColumnType("datetime2");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("SAFE_PDT_PERSONAL_SIGNED_TRIGGER_TIME")
 | 
					 | 
				
			||||||
                        .HasColumnType("datetime2");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasKey("ID");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasIndex("ORG_ID");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.ToTable("T_OG_OGCONFIG");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_PERSONNEL_TYPE_ENUM", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.Property<Guid>("ID")
 | 
					 | 
				
			||||||
                        .ValueGeneratedOnAdd()
 | 
					 | 
				
			||||||
                        .HasColumnType("uniqueidentifier");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<Guid?>("CREATER_ID")
 | 
					 | 
				
			||||||
                        .HasColumnType("uniqueidentifier");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("CREATE_TIME")
 | 
					 | 
				
			||||||
                        .HasColumnType("datetime2");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("ENTITY_ORG_TPYE")
 | 
					 | 
				
			||||||
                        .HasColumnType("int");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<Guid?>("FLOW_ID")
 | 
					 | 
				
			||||||
                        .HasColumnType("uniqueidentifier");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("FLOW_SEND_STATUS")
 | 
					 | 
				
			||||||
                        .HasColumnType("int");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("FLOW_STATUS")
 | 
					 | 
				
			||||||
                        .HasColumnType("int");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<Guid?>("FORM_ID")
 | 
					 | 
				
			||||||
                        .HasColumnType("uniqueidentifier");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("IS_DELETED")
 | 
					 | 
				
			||||||
                        .HasColumnType("bit");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<Guid?>("MODIFIER_ID")
 | 
					 | 
				
			||||||
                        .HasColumnType("uniqueidentifier");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("MODIFY_TIME")
 | 
					 | 
				
			||||||
                        .HasColumnType("datetime2");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("NAME")
 | 
					 | 
				
			||||||
                        .HasMaxLength(500)
 | 
					 | 
				
			||||||
                        .HasColumnType("nvarchar(500)");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<Guid?>("ORG_ID")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("uniqueidentifier");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasKey("ID");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasIndex("NAME")
 | 
					 | 
				
			||||||
                        .IsUnique()
 | 
					 | 
				
			||||||
                        .HasFilter("[NAME] IS NOT NULL");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasIndex("ORG_ID");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.ToTable("T_OG_PERSONNEL_TYPE_ENUM");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED", b =>
 | 
					            modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED", b =>
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
                    b.Property<Guid>("ID")
 | 
					                    b.Property<Guid>("ID")
 | 
				
			||||||
@ -42648,61 +42531,6 @@ namespace APT.Data.Migrations.Migrations
 | 
				
			|||||||
                    b.ToTable("T_OG_RELATED_USER_TYPE");
 | 
					                    b.ToTable("T_OG_RELATED_USER_TYPE");
 | 
				
			||||||
                });
 | 
					                });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.Property<Guid>("ID")
 | 
					 | 
				
			||||||
                        .ValueGeneratedOnAdd()
 | 
					 | 
				
			||||||
                        .HasColumnType("uniqueidentifier");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<Guid?>("CREATER_ID")
 | 
					 | 
				
			||||||
                        .HasColumnType("uniqueidentifier");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("CREATE_TIME")
 | 
					 | 
				
			||||||
                        .HasColumnType("datetime2");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("ENTITY_ORG_TPYE")
 | 
					 | 
				
			||||||
                        .HasColumnType("int");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<Guid?>("FLOW_ID")
 | 
					 | 
				
			||||||
                        .HasColumnType("uniqueidentifier");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("FLOW_SEND_STATUS")
 | 
					 | 
				
			||||||
                        .HasColumnType("int");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<int>("FLOW_STATUS")
 | 
					 | 
				
			||||||
                        .HasColumnType("int");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<Guid?>("FORM_ID")
 | 
					 | 
				
			||||||
                        .HasColumnType("uniqueidentifier");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<bool>("IS_DELETED")
 | 
					 | 
				
			||||||
                        .HasColumnType("bit");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<Guid?>("MODIFIER_ID")
 | 
					 | 
				
			||||||
                        .HasColumnType("uniqueidentifier");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<DateTime?>("MODIFY_TIME")
 | 
					 | 
				
			||||||
                        .HasColumnType("datetime2");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<string>("NAME")
 | 
					 | 
				
			||||||
                        .HasMaxLength(50)
 | 
					 | 
				
			||||||
                        .HasColumnType("nvarchar(50)");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Property<Guid?>("ORG_ID")
 | 
					 | 
				
			||||||
                        .IsRequired()
 | 
					 | 
				
			||||||
                        .HasColumnType("uniqueidentifier");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasKey("ID");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasIndex("NAME")
 | 
					 | 
				
			||||||
                        .IsUnique()
 | 
					 | 
				
			||||||
                        .HasFilter("[NAME] IS NOT NULL");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.HasIndex("ORG_ID");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.ToTable("T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_EXAM_NOTICE_OCC_HAZARD", b =>
 | 
					            modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_EXAM_NOTICE_OCC_HAZARD", b =>
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
                    b.Property<Guid>("ID")
 | 
					                    b.Property<Guid>("ID")
 | 
				
			||||||
@ -81131,28 +80959,6 @@ namespace APT.Data.Migrations.Migrations
 | 
				
			|||||||
                    b.Navigation("Nav_Org");
 | 
					                    b.Navigation("Nav_Org");
 | 
				
			||||||
                });
 | 
					                });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_OGCONFIG", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org")
 | 
					 | 
				
			||||||
                        .WithMany()
 | 
					 | 
				
			||||||
                        .HasForeignKey("ORG_ID")
 | 
					 | 
				
			||||||
                        .OnDelete(DeleteBehavior.Restrict)
 | 
					 | 
				
			||||||
                        .IsRequired();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Navigation("Nav_Org");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_PERSONNEL_TYPE_ENUM", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org")
 | 
					 | 
				
			||||||
                        .WithMany()
 | 
					 | 
				
			||||||
                        .HasForeignKey("ORG_ID")
 | 
					 | 
				
			||||||
                        .OnDelete(DeleteBehavior.Restrict)
 | 
					 | 
				
			||||||
                        .IsRequired();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Navigation("Nav_Org");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED", b =>
 | 
					            modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_RELATED", b =>
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
                    b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department")
 | 
					                    b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department")
 | 
				
			||||||
@ -81503,17 +81309,6 @@ namespace APT.Data.Migrations.Migrations
 | 
				
			|||||||
                    b.Navigation("Nav_Org");
 | 
					                    b.Navigation("Nav_Org");
 | 
				
			||||||
                });
 | 
					                });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            modelBuilder.Entity("APT.MS.Domain.Entities.OG.T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM", b =>
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org")
 | 
					 | 
				
			||||||
                        .WithMany()
 | 
					 | 
				
			||||||
                        .HasForeignKey("ORG_ID")
 | 
					 | 
				
			||||||
                        .OnDelete(DeleteBehavior.Restrict)
 | 
					 | 
				
			||||||
                        .IsRequired();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                    b.Navigation("Nav_Org");
 | 
					 | 
				
			||||||
                });
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_EXAM_NOTICE_OCC_HAZARD", b =>
 | 
					            modelBuilder.Entity("APT.MS.Domain.Entities.OH.T_OH_EXAM_NOTICE_OCC_HAZARD", b =>
 | 
				
			||||||
                {
 | 
					                {
 | 
				
			||||||
                    b.HasOne("APT.MS.Domain.Entities.HM.T_HM_IDENTIFYING", "Nav_Hazard")
 | 
					                    b.HasOne("APT.MS.Domain.Entities.HM.T_HM_IDENTIFYING", "Nav_Hazard")
 | 
				
			||||||
 | 
				
			|||||||
@ -5212,15 +5212,6 @@ builder.HasOne(t => t.Nav_User).WithMany().HasForeignKey(t => t.USER_ID).OnDelet
 | 
				
			|||||||
builder.Property(t => t.NAME).HasMaxLength(50);
 | 
					builder.Property(t => t.NAME).HasMaxLength(50);
 | 
				
			||||||
builder.HasOne(t => t.Nav_User).WithMany().HasForeignKey(t => t.USER_ID).OnDelete(DeleteBehavior.Restrict);
 | 
					builder.HasOne(t => t.Nav_User).WithMany().HasForeignKey(t => t.USER_ID).OnDelete(DeleteBehavior.Restrict);
 | 
				
			||||||
		} 
 | 
							} 
 | 
				
			||||||
     }
 | 
					 | 
				
			||||||
	 #endregion
 | 
					 | 
				
			||||||
					#region  Ogconfig
 | 
					 | 
				
			||||||
     public partial class OGOgconfigMap :APTEntityBaseMap<T_OG_OGCONFIG>
 | 
					 | 
				
			||||||
     {   
 | 
					 | 
				
			||||||
        public override void Configure(EntityTypeBuilder<T_OG_OGCONFIG> builder)
 | 
					 | 
				
			||||||
		{
 | 
					 | 
				
			||||||
			base.Configure(builder);
 | 
					 | 
				
			||||||
					} 
 | 
					 | 
				
			||||||
     }
 | 
					     }
 | 
				
			||||||
	 #endregion
 | 
						 #endregion
 | 
				
			||||||
					#region  Related
 | 
										#region  Related
 | 
				
			||||||
@ -5398,17 +5389,6 @@ builder.Property(t => t.NAME).HasMaxLength(500);
 | 
				
			|||||||
		{
 | 
							{
 | 
				
			||||||
			base.Configure(builder);
 | 
								base.Configure(builder);
 | 
				
			||||||
			builder.HasIndex("NAME").IsUnique();
 | 
								builder.HasIndex("NAME").IsUnique();
 | 
				
			||||||
builder.Property(t => t.NAME).HasMaxLength(500);
 | 
					 | 
				
			||||||
		} 
 | 
					 | 
				
			||||||
     }
 | 
					 | 
				
			||||||
	 #endregion
 | 
					 | 
				
			||||||
					#region  PersonnelTypeEnum
 | 
					 | 
				
			||||||
     public partial class OGPersonnelTypeEnumMap :APTEntityBaseMap<T_OG_PERSONNEL_TYPE_ENUM>
 | 
					 | 
				
			||||||
     {   
 | 
					 | 
				
			||||||
        public override void Configure(EntityTypeBuilder<T_OG_PERSONNEL_TYPE_ENUM> builder)
 | 
					 | 
				
			||||||
		{
 | 
					 | 
				
			||||||
			base.Configure(builder);
 | 
					 | 
				
			||||||
			builder.HasIndex("NAME").IsUnique();
 | 
					 | 
				
			||||||
builder.Property(t => t.NAME).HasMaxLength(500);
 | 
					builder.Property(t => t.NAME).HasMaxLength(500);
 | 
				
			||||||
		} 
 | 
							} 
 | 
				
			||||||
     }
 | 
					     }
 | 
				
			||||||
@ -5442,17 +5422,6 @@ builder.Property(t => t.NAME).HasMaxLength(50);
 | 
				
			|||||||
		{
 | 
							{
 | 
				
			||||||
			base.Configure(builder);
 | 
								base.Configure(builder);
 | 
				
			||||||
			builder.Property(t => t.NAME).HasMaxLength(50);
 | 
								builder.Property(t => t.NAME).HasMaxLength(50);
 | 
				
			||||||
builder.HasIndex("NAME").IsUnique();
 | 
					 | 
				
			||||||
		} 
 | 
					 | 
				
			||||||
     }
 | 
					 | 
				
			||||||
	 #endregion
 | 
					 | 
				
			||||||
					#region  StandardizationReviewResultEnum
 | 
					 | 
				
			||||||
     public partial class OGStandardizationReviewResultEnumMap :APTEntityBaseMap<T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM>
 | 
					 | 
				
			||||||
     {   
 | 
					 | 
				
			||||||
        public override void Configure(EntityTypeBuilder<T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM> builder)
 | 
					 | 
				
			||||||
		{
 | 
					 | 
				
			||||||
			base.Configure(builder);
 | 
					 | 
				
			||||||
			builder.Property(t => t.NAME).HasMaxLength(50);
 | 
					 | 
				
			||||||
builder.HasIndex("NAME").IsUnique();
 | 
					builder.HasIndex("NAME").IsUnique();
 | 
				
			||||||
		} 
 | 
							} 
 | 
				
			||||||
     }
 | 
					     }
 | 
				
			||||||
 | 
				
			|||||||
@ -1,36 +0,0 @@
 | 
				
			|||||||
using APT.Infrastructure.Core;
 | 
					 | 
				
			||||||
using APT.MS.Domain.Entities.OG;
 | 
					 | 
				
			||||||
using APT.Utility;
 | 
					 | 
				
			||||||
using Microsoft.AspNetCore.Mvc;
 | 
					 | 
				
			||||||
using System;
 | 
					 | 
				
			||||||
using System.Collections.Generic;
 | 
					 | 
				
			||||||
using System.Linq;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
namespace APT.SC.WebApi.Controllers.Api.OG
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
    [Route("api/OG/OGConfig")]
 | 
					 | 
				
			||||||
    public class OGConfigController : AuthorizeApiController<T_OG_OGCONFIG>
 | 
					 | 
				
			||||||
    {
 | 
					 | 
				
			||||||
        /// <summary>
 | 
					 | 
				
			||||||
        /// 保存
 | 
					 | 
				
			||||||
        /// </summary>
 | 
					 | 
				
			||||||
        /// <param name="id"></param>
 | 
					 | 
				
			||||||
        /// <returns></returns>
 | 
					 | 
				
			||||||
        [HttpPost, Route("FullUpdate")]
 | 
					 | 
				
			||||||
        public JsonActionResult<bool> FullUpdate([FromBody]T_OG_OGCONFIG entity)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            return SafeExecute<bool>(() =>
 | 
					 | 
				
			||||||
            {
 | 
					 | 
				
			||||||
                BaseFilter baseFilter = new BaseFilter(entity.ORG_ID);
 | 
					 | 
				
			||||||
                var config = GetEntities<T_OG_OGCONFIG>(t => t.ID != entity.ID, baseFilter).ToList();
 | 
					 | 
				
			||||||
                if (config != null && config.Count > 0)
 | 
					 | 
				
			||||||
                {
 | 
					 | 
				
			||||||
                    throw new Exception("已存在一条数据,请勿重复新增!");
 | 
					 | 
				
			||||||
                }
 | 
					 | 
				
			||||||
                UpdateEntity(entity);
 | 
					 | 
				
			||||||
                return true;
 | 
					 | 
				
			||||||
            });
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
@ -16630,111 +16630,6 @@ using APT.MS.Domain.Entities.TL;
 | 
				
			|||||||
            return WitEntity(null, filter);
 | 
					            return WitEntity(null, filter);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
     }
 | 
					 | 
				
			||||||
	 #endregion
 | 
					 | 
				
			||||||
					#region  Ogconfig-组织保障模块基础配置
 | 
					 | 
				
			||||||
	 /// <summary>
 | 
					 | 
				
			||||||
    ///  组织保障模块基础配置
 | 
					 | 
				
			||||||
    /// </summary>
 | 
					 | 
				
			||||||
	 [Route("api/OG/Ogconfig")]
 | 
					 | 
				
			||||||
     public partial class OgconfigController : AuthorizeApiController<T_OG_OGCONFIG>
 | 
					 | 
				
			||||||
     {   
 | 
					 | 
				
			||||||
         /// <summary>
 | 
					 | 
				
			||||||
        /// 查询所有数据
 | 
					 | 
				
			||||||
        /// </summary>
 | 
					 | 
				
			||||||
        /// <param name="filter">过滤实体</param>
 | 
					 | 
				
			||||||
        /// <returns></returns>
 | 
					 | 
				
			||||||
        [HttpPost, Route("Entities")]
 | 
					 | 
				
			||||||
        public JsonActionResult<IEnumerable<T_OG_OGCONFIG>> Entities([FromBody]KeywordFilter filter)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            return WitEntities(null, filter);
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
         /// <summary>
 | 
					 | 
				
			||||||
        /// 排序查询所有数据
 | 
					 | 
				
			||||||
        /// </summary>
 | 
					 | 
				
			||||||
        /// <param name="filter">过滤实体</param>
 | 
					 | 
				
			||||||
        /// <returns></returns>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        [HttpPost, Route("OrderEntities")]
 | 
					 | 
				
			||||||
        public JsonActionResult<IEnumerable<T_OG_OGCONFIG>> OrderEntities([FromBody]KeywordFilter filter)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            return WitOrderEntities(null, filter);
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
         /// <summary>
 | 
					 | 
				
			||||||
        /// 分页查询数据
 | 
					 | 
				
			||||||
        /// </summary>
 | 
					 | 
				
			||||||
        /// <param name="pageFilter">分页过滤实体</param>
 | 
					 | 
				
			||||||
        /// <returns></returns>
 | 
					 | 
				
			||||||
        [HttpPost, Route("Paged")]
 | 
					 | 
				
			||||||
        public PagedActionResult<T_OG_OGCONFIG> Paged([FromBody]KeywordPageFilter pageFilter)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            return WitPaged(null, pageFilter);
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
        /// <summary>
 | 
					 | 
				
			||||||
        /// 排序分页查询数据
 | 
					 | 
				
			||||||
        /// </summary>
 | 
					 | 
				
			||||||
        /// <param name="pageFilter">分页过滤实体</param>
 | 
					 | 
				
			||||||
        /// <returns></returns>
 | 
					 | 
				
			||||||
        [HttpPost, Route("OrderPaged")]
 | 
					 | 
				
			||||||
        public PagedActionResult<T_OG_OGCONFIG> OrderPaged([FromBody]KeywordPageFilter pageFilter)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            return WitOrderPaged(null, pageFilter);
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
        /// <summary>
 | 
					 | 
				
			||||||
        /// 根据主键删除数据
 | 
					 | 
				
			||||||
        /// </summary>
 | 
					 | 
				
			||||||
        /// <param name="id">主键ID</param>
 | 
					 | 
				
			||||||
        /// <returns></returns>
 | 
					 | 
				
			||||||
        [HttpGet, Route("Delete")]
 | 
					 | 
				
			||||||
        public JsonActionResult<bool> Delete(string id)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            return WitRealDelete(id);
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        /// <summary>
 | 
					 | 
				
			||||||
        /// 更新或新增数据
 | 
					 | 
				
			||||||
        /// </summary>
 | 
					 | 
				
			||||||
        /// <param name="entity">对象实体</param>
 | 
					 | 
				
			||||||
        /// <returns></returns>
 | 
					 | 
				
			||||||
        [HttpPost, Route("Update")]
 | 
					 | 
				
			||||||
        public JsonActionResult<bool> Update([FromBody]T_OG_OGCONFIG entity)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            return WitUpdate(entity);
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        /// <summary>
 | 
					 | 
				
			||||||
        /// 批量更新
 | 
					 | 
				
			||||||
        /// </summary>
 | 
					 | 
				
			||||||
        /// <param name="entity">对象实体</param>
 | 
					 | 
				
			||||||
        /// <returns></returns>
 | 
					 | 
				
			||||||
        [HttpPost, Route("BatchUpdate")]
 | 
					 | 
				
			||||||
        public JsonActionResult<bool> BatchUpdate([FromBody] BatchUpdateModel<T_OG_OGCONFIG> entity)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
              return WitBantchUpdate(entity?.Data);
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        /// <summary>
 | 
					 | 
				
			||||||
        /// 批量删除数据
 | 
					 | 
				
			||||||
        /// </summary>
 | 
					 | 
				
			||||||
        /// <param name="ids">id字符串(id用逗号分隔)</param>
 | 
					 | 
				
			||||||
        /// <returns></returns>
 | 
					 | 
				
			||||||
        [HttpGet, Route("BatchDelete")]
 | 
					 | 
				
			||||||
        public JsonActionResult<bool> BatchDelete(string ids)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            return WitRealBatchDelete(ids);
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        /// <summary>
 | 
					 | 
				
			||||||
        /// 获得单条实体数据
 | 
					 | 
				
			||||||
        /// </summary>
 | 
					 | 
				
			||||||
        /// <param name="filter">过滤实体</param>
 | 
					 | 
				
			||||||
        /// <returns></returns>
 | 
					 | 
				
			||||||
        [HttpPost, Route("Get")]
 | 
					 | 
				
			||||||
        public JsonActionResult<T_OG_OGCONFIG> Get([FromBody] KeywordFilter filter)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            return WitEntity(null, filter);
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
        
 | 
					 | 
				
			||||||
     }
 | 
					     }
 | 
				
			||||||
	 #endregion
 | 
						 #endregion
 | 
				
			||||||
					#region  Related-相关方基本信息表
 | 
										#region  Related-相关方基本信息表
 | 
				
			||||||
@ -18310,111 +18205,6 @@ using APT.MS.Domain.Entities.TL;
 | 
				
			|||||||
            return WitEntity(null, filter);
 | 
					            return WitEntity(null, filter);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
     }
 | 
					 | 
				
			||||||
	 #endregion
 | 
					 | 
				
			||||||
					#region  PersonnelTypeEnum-任命人员类型
 | 
					 | 
				
			||||||
	 /// <summary>
 | 
					 | 
				
			||||||
    ///  任命人员类型
 | 
					 | 
				
			||||||
    /// </summary>
 | 
					 | 
				
			||||||
	 [Route("api/OG/PersonnelTypeEnum")]
 | 
					 | 
				
			||||||
     public partial class PersonnelTypeEnumController : AuthorizeApiController<T_OG_PERSONNEL_TYPE_ENUM>
 | 
					 | 
				
			||||||
     {   
 | 
					 | 
				
			||||||
         /// <summary>
 | 
					 | 
				
			||||||
        /// 查询所有数据
 | 
					 | 
				
			||||||
        /// </summary>
 | 
					 | 
				
			||||||
        /// <param name="filter">过滤实体</param>
 | 
					 | 
				
			||||||
        /// <returns></returns>
 | 
					 | 
				
			||||||
        [HttpPost, Route("Entities")]
 | 
					 | 
				
			||||||
        public JsonActionResult<IEnumerable<T_OG_PERSONNEL_TYPE_ENUM>> Entities([FromBody]KeywordFilter filter)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            return WitEntities(null, filter);
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
         /// <summary>
 | 
					 | 
				
			||||||
        /// 排序查询所有数据
 | 
					 | 
				
			||||||
        /// </summary>
 | 
					 | 
				
			||||||
        /// <param name="filter">过滤实体</param>
 | 
					 | 
				
			||||||
        /// <returns></returns>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        [HttpPost, Route("OrderEntities")]
 | 
					 | 
				
			||||||
        public JsonActionResult<IEnumerable<T_OG_PERSONNEL_TYPE_ENUM>> OrderEntities([FromBody]KeywordFilter filter)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            return WitOrderEntities(null, filter);
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
         /// <summary>
 | 
					 | 
				
			||||||
        /// 分页查询数据
 | 
					 | 
				
			||||||
        /// </summary>
 | 
					 | 
				
			||||||
        /// <param name="pageFilter">分页过滤实体</param>
 | 
					 | 
				
			||||||
        /// <returns></returns>
 | 
					 | 
				
			||||||
        [HttpPost, Route("Paged")]
 | 
					 | 
				
			||||||
        public PagedActionResult<T_OG_PERSONNEL_TYPE_ENUM> Paged([FromBody]KeywordPageFilter pageFilter)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            return WitPaged(null, pageFilter);
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
        /// <summary>
 | 
					 | 
				
			||||||
        /// 排序分页查询数据
 | 
					 | 
				
			||||||
        /// </summary>
 | 
					 | 
				
			||||||
        /// <param name="pageFilter">分页过滤实体</param>
 | 
					 | 
				
			||||||
        /// <returns></returns>
 | 
					 | 
				
			||||||
        [HttpPost, Route("OrderPaged")]
 | 
					 | 
				
			||||||
        public PagedActionResult<T_OG_PERSONNEL_TYPE_ENUM> OrderPaged([FromBody]KeywordPageFilter pageFilter)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            return WitOrderPaged(null, pageFilter);
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
        /// <summary>
 | 
					 | 
				
			||||||
        /// 根据主键删除数据
 | 
					 | 
				
			||||||
        /// </summary>
 | 
					 | 
				
			||||||
        /// <param name="id">主键ID</param>
 | 
					 | 
				
			||||||
        /// <returns></returns>
 | 
					 | 
				
			||||||
        [HttpGet, Route("Delete")]
 | 
					 | 
				
			||||||
        public JsonActionResult<bool> Delete(string id)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            return WitRealDelete(id);
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        /// <summary>
 | 
					 | 
				
			||||||
        /// 更新或新增数据
 | 
					 | 
				
			||||||
        /// </summary>
 | 
					 | 
				
			||||||
        /// <param name="entity">对象实体</param>
 | 
					 | 
				
			||||||
        /// <returns></returns>
 | 
					 | 
				
			||||||
        [HttpPost, Route("Update")]
 | 
					 | 
				
			||||||
        public JsonActionResult<bool> Update([FromBody]T_OG_PERSONNEL_TYPE_ENUM entity)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            return WitUpdate(entity);
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        /// <summary>
 | 
					 | 
				
			||||||
        /// 批量更新
 | 
					 | 
				
			||||||
        /// </summary>
 | 
					 | 
				
			||||||
        /// <param name="entity">对象实体</param>
 | 
					 | 
				
			||||||
        /// <returns></returns>
 | 
					 | 
				
			||||||
        [HttpPost, Route("BatchUpdate")]
 | 
					 | 
				
			||||||
        public JsonActionResult<bool> BatchUpdate([FromBody] BatchUpdateModel<T_OG_PERSONNEL_TYPE_ENUM> entity)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
              return WitBantchUpdate(entity?.Data);
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        /// <summary>
 | 
					 | 
				
			||||||
        /// 批量删除数据
 | 
					 | 
				
			||||||
        /// </summary>
 | 
					 | 
				
			||||||
        /// <param name="ids">id字符串(id用逗号分隔)</param>
 | 
					 | 
				
			||||||
        /// <returns></returns>
 | 
					 | 
				
			||||||
        [HttpGet, Route("BatchDelete")]
 | 
					 | 
				
			||||||
        public JsonActionResult<bool> BatchDelete(string ids)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            return WitRealBatchDelete(ids);
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        /// <summary>
 | 
					 | 
				
			||||||
        /// 获得单条实体数据
 | 
					 | 
				
			||||||
        /// </summary>
 | 
					 | 
				
			||||||
        /// <param name="filter">过滤实体</param>
 | 
					 | 
				
			||||||
        /// <returns></returns>
 | 
					 | 
				
			||||||
        [HttpPost, Route("Get")]
 | 
					 | 
				
			||||||
        public JsonActionResult<T_OG_PERSONNEL_TYPE_ENUM> Get([FromBody] KeywordFilter filter)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            return WitEntity(null, filter);
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
        
 | 
					 | 
				
			||||||
     }
 | 
					     }
 | 
				
			||||||
	 #endregion
 | 
						 #endregion
 | 
				
			||||||
					#region  RelatedEstimateItem-评估项目表
 | 
										#region  RelatedEstimateItem-评估项目表
 | 
				
			||||||
@ -18730,111 +18520,6 @@ using APT.MS.Domain.Entities.TL;
 | 
				
			|||||||
            return WitEntity(null, filter);
 | 
					            return WitEntity(null, filter);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
     }
 | 
					 | 
				
			||||||
	 #endregion
 | 
					 | 
				
			||||||
					#region  StandardizationReviewResultEnum-评审结论
 | 
					 | 
				
			||||||
	 /// <summary>
 | 
					 | 
				
			||||||
    ///  评审结论
 | 
					 | 
				
			||||||
    /// </summary>
 | 
					 | 
				
			||||||
	 [Route("api/OG/StandardizationReviewResultEnum")]
 | 
					 | 
				
			||||||
     public partial class StandardizationReviewResultEnumController : AuthorizeApiController<T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM>
 | 
					 | 
				
			||||||
     {   
 | 
					 | 
				
			||||||
         /// <summary>
 | 
					 | 
				
			||||||
        /// 查询所有数据
 | 
					 | 
				
			||||||
        /// </summary>
 | 
					 | 
				
			||||||
        /// <param name="filter">过滤实体</param>
 | 
					 | 
				
			||||||
        /// <returns></returns>
 | 
					 | 
				
			||||||
        [HttpPost, Route("Entities")]
 | 
					 | 
				
			||||||
        public JsonActionResult<IEnumerable<T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM>> Entities([FromBody]KeywordFilter filter)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            return WitEntities(null, filter);
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
         /// <summary>
 | 
					 | 
				
			||||||
        /// 排序查询所有数据
 | 
					 | 
				
			||||||
        /// </summary>
 | 
					 | 
				
			||||||
        /// <param name="filter">过滤实体</param>
 | 
					 | 
				
			||||||
        /// <returns></returns>
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        [HttpPost, Route("OrderEntities")]
 | 
					 | 
				
			||||||
        public JsonActionResult<IEnumerable<T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM>> OrderEntities([FromBody]KeywordFilter filter)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            return WitOrderEntities(null, filter);
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
         /// <summary>
 | 
					 | 
				
			||||||
        /// 分页查询数据
 | 
					 | 
				
			||||||
        /// </summary>
 | 
					 | 
				
			||||||
        /// <param name="pageFilter">分页过滤实体</param>
 | 
					 | 
				
			||||||
        /// <returns></returns>
 | 
					 | 
				
			||||||
        [HttpPost, Route("Paged")]
 | 
					 | 
				
			||||||
        public PagedActionResult<T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM> Paged([FromBody]KeywordPageFilter pageFilter)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            return WitPaged(null, pageFilter);
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
        /// <summary>
 | 
					 | 
				
			||||||
        /// 排序分页查询数据
 | 
					 | 
				
			||||||
        /// </summary>
 | 
					 | 
				
			||||||
        /// <param name="pageFilter">分页过滤实体</param>
 | 
					 | 
				
			||||||
        /// <returns></returns>
 | 
					 | 
				
			||||||
        [HttpPost, Route("OrderPaged")]
 | 
					 | 
				
			||||||
        public PagedActionResult<T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM> OrderPaged([FromBody]KeywordPageFilter pageFilter)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            return WitOrderPaged(null, pageFilter);
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
        /// <summary>
 | 
					 | 
				
			||||||
        /// 根据主键删除数据
 | 
					 | 
				
			||||||
        /// </summary>
 | 
					 | 
				
			||||||
        /// <param name="id">主键ID</param>
 | 
					 | 
				
			||||||
        /// <returns></returns>
 | 
					 | 
				
			||||||
        [HttpGet, Route("Delete")]
 | 
					 | 
				
			||||||
        public JsonActionResult<bool> Delete(string id)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            return WitRealDelete(id);
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        /// <summary>
 | 
					 | 
				
			||||||
        /// 更新或新增数据
 | 
					 | 
				
			||||||
        /// </summary>
 | 
					 | 
				
			||||||
        /// <param name="entity">对象实体</param>
 | 
					 | 
				
			||||||
        /// <returns></returns>
 | 
					 | 
				
			||||||
        [HttpPost, Route("Update")]
 | 
					 | 
				
			||||||
        public JsonActionResult<bool> Update([FromBody]T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM entity)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            return WitUpdate(entity);
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        /// <summary>
 | 
					 | 
				
			||||||
        /// 批量更新
 | 
					 | 
				
			||||||
        /// </summary>
 | 
					 | 
				
			||||||
        /// <param name="entity">对象实体</param>
 | 
					 | 
				
			||||||
        /// <returns></returns>
 | 
					 | 
				
			||||||
        [HttpPost, Route("BatchUpdate")]
 | 
					 | 
				
			||||||
        public JsonActionResult<bool> BatchUpdate([FromBody] BatchUpdateModel<T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM> entity)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
              return WitBantchUpdate(entity?.Data);
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        /// <summary>
 | 
					 | 
				
			||||||
        /// 批量删除数据
 | 
					 | 
				
			||||||
        /// </summary>
 | 
					 | 
				
			||||||
        /// <param name="ids">id字符串(id用逗号分隔)</param>
 | 
					 | 
				
			||||||
        /// <returns></returns>
 | 
					 | 
				
			||||||
        [HttpGet, Route("BatchDelete")]
 | 
					 | 
				
			||||||
        public JsonActionResult<bool> BatchDelete(string ids)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            return WitRealBatchDelete(ids);
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        /// <summary>
 | 
					 | 
				
			||||||
        /// 获得单条实体数据
 | 
					 | 
				
			||||||
        /// </summary>
 | 
					 | 
				
			||||||
        /// <param name="filter">过滤实体</param>
 | 
					 | 
				
			||||||
        /// <returns></returns>
 | 
					 | 
				
			||||||
        [HttpPost, Route("Get")]
 | 
					 | 
				
			||||||
        public JsonActionResult<T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM> Get([FromBody] KeywordFilter filter)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            return WitEntity(null, filter);
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
        
 | 
					 | 
				
			||||||
     }
 | 
					     }
 | 
				
			||||||
	 #endregion
 | 
						 #endregion
 | 
				
			||||||
					#region  ExamNoticeOccHazard-体检通知人员职业危害中间表
 | 
										#region  ExamNoticeOccHazard-体检通知人员职业危害中间表
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user