Compare commits
No commits in common. "950a42c77036a838fdf8638e60a5da11cdeefae4" and "5cb67e4623129478ef98fe05a36eb65edf9c036b" have entirely different histories.
950a42c770
...
5cb67e4623
135422
APT.Data.Migrations/Migrations/20251111094647_hmr2025111101.Designer.cs
generated
Normal file
135422
APT.Data.Migrations/Migrations/20251111094647_hmr2025111101.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
302
APT.Data.Migrations/Migrations/20251111094647_hmr2025111101.cs
Normal file
302
APT.Data.Migrations/Migrations/20251111094647_hmr2025111101.cs
Normal file
@ -0,0 +1,302 @@
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace APT.Data.Migrations.Migrations
|
||||
{
|
||||
public partial class hmr2025111101 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_T_FO_LEADER_WELL_RECORD_DETAIL_T_FM_USER_AFTER_USER_ID",
|
||||
table: "T_FO_LEADER_WELL_RECORD_DETAIL");
|
||||
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_T_FO_LEADER_WELL_RECORD_DETAIL_T_FM_USER_PRE_USER_ID",
|
||||
table: "T_FO_LEADER_WELL_RECORD_DETAIL");
|
||||
|
||||
migrationBuilder.DropIndex(
|
||||
name: "IX_T_FO_LEADER_WELL_RECORD_DETAIL_AFTER_USER_ID",
|
||||
table: "T_FO_LEADER_WELL_RECORD_DETAIL");
|
||||
|
||||
migrationBuilder.DropIndex(
|
||||
name: "IX_T_FO_LEADER_WELL_RECORD_DETAIL_PRE_USER_ID",
|
||||
table: "T_FO_LEADER_WELL_RECORD_DETAIL");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "AFTER_USER_DEAL_STATUS",
|
||||
table: "T_FO_LEADER_WELL_RECORD_DETAIL");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "AFTER_USER_ID",
|
||||
table: "T_FO_LEADER_WELL_RECORD_DETAIL");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "PRE_USER_DEAL_STATUS",
|
||||
table: "T_FO_LEADER_WELL_RECORD_DETAIL");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "PRE_USER_ID",
|
||||
table: "T_FO_LEADER_WELL_RECORD_DETAIL");
|
||||
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "AREA_ID",
|
||||
table: "T_SK_CHECK_SET_CONTENTS",
|
||||
type: "uniqueidentifier",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "ENTERPRISE_LIBRARY_DETAIL_ID",
|
||||
table: "T_SK_CHECK_SET_CONTENTS",
|
||||
type: "uniqueidentifier",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "ENTERPRISE_LIBRARY_ID",
|
||||
table: "T_SK_CHECK_SET_CONTENTS",
|
||||
type: "uniqueidentifier",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "MEASURES_NAME",
|
||||
table: "T_SK_CHECK_SET_CONTENTS",
|
||||
type: "nvarchar(300)",
|
||||
maxLength: 300,
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "RISK_NAME",
|
||||
table: "T_SK_CHECK_SET_CONTENTS",
|
||||
type: "nvarchar(50)",
|
||||
maxLength: 50,
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "POST_NAME",
|
||||
table: "T_SK_CHECK_SET",
|
||||
type: "nvarchar(50)",
|
||||
maxLength: 50,
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_FO_LEADER_WELL_RECORD_DETAIL_AFTERUSER",
|
||||
columns: table => new
|
||||
{
|
||||
ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
LEADER_WELL_RECORD_DETAIL_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
AFTER_USER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
AFTER_USER_DEAL_STATUS = table.Column<int>(type: "int", nullable: true),
|
||||
IS_DELETED = table.Column<bool>(type: "bit", nullable: false),
|
||||
ORG_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
ENTITY_ORG_TPYE = table.Column<int>(type: "int", nullable: false),
|
||||
FORM_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
FLOW_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_SEND_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
CREATE_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
MODIFY_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
CREATER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
MODIFIER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_T_FO_LEADER_WELL_RECORD_DETAIL_AFTERUSER", x => x.ID);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_FO_LEADER_WELL_RECORD_DETAIL_AFTERUSER_T_FM_ORGANIZATION_ORG_ID",
|
||||
column: x => x.ORG_ID,
|
||||
principalTable: "T_FM_ORGANIZATION",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_FO_LEADER_WELL_RECORD_DETAIL_AFTERUSER_T_FM_USER_AFTER_USER_ID",
|
||||
column: x => x.AFTER_USER_ID,
|
||||
principalTable: "T_FM_USER",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_FO_LEADER_WELL_RECORD_DETAIL_AFTERUSER_T_FO_LEADER_WELL_RECORD_DETAIL_LEADER_WELL_RECORD_DETAIL_ID",
|
||||
column: x => x.LEADER_WELL_RECORD_DETAIL_ID,
|
||||
principalTable: "T_FO_LEADER_WELL_RECORD_DETAIL",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_FO_LEADER_WELL_RECORD_DETAIL_PREUSER",
|
||||
columns: table => new
|
||||
{
|
||||
ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
LEADER_WELL_RECORD_DETAIL_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
PRE_USER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
PRE_USER_DEAL_STATUS = table.Column<int>(type: "int", nullable: true),
|
||||
IS_DELETED = table.Column<bool>(type: "bit", nullable: false),
|
||||
ORG_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
ENTITY_ORG_TPYE = table.Column<int>(type: "int", nullable: false),
|
||||
FORM_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
FLOW_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_SEND_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
CREATE_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
MODIFY_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
CREATER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
MODIFIER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_T_FO_LEADER_WELL_RECORD_DETAIL_PREUSER", x => x.ID);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_FO_LEADER_WELL_RECORD_DETAIL_PREUSER_T_FM_ORGANIZATION_ORG_ID",
|
||||
column: x => x.ORG_ID,
|
||||
principalTable: "T_FM_ORGANIZATION",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_FO_LEADER_WELL_RECORD_DETAIL_PREUSER_T_FM_USER_PRE_USER_ID",
|
||||
column: x => x.PRE_USER_ID,
|
||||
principalTable: "T_FM_USER",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_FO_LEADER_WELL_RECORD_DETAIL_PREUSER_T_FO_LEADER_WELL_RECORD_DETAIL_LEADER_WELL_RECORD_DETAIL_ID",
|
||||
column: x => x.LEADER_WELL_RECORD_DETAIL_ID,
|
||||
principalTable: "T_FO_LEADER_WELL_RECORD_DETAIL",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_SK_CHECK_SET_CONTENTS_AREA_ID",
|
||||
table: "T_SK_CHECK_SET_CONTENTS",
|
||||
column: "AREA_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_FO_LEADER_WELL_RECORD_DETAIL_AFTERUSER_AFTER_USER_ID",
|
||||
table: "T_FO_LEADER_WELL_RECORD_DETAIL_AFTERUSER",
|
||||
column: "AFTER_USER_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_FO_LEADER_WELL_RECORD_DETAIL_AFTERUSER_LEADER_WELL_RECORD_DETAIL_ID",
|
||||
table: "T_FO_LEADER_WELL_RECORD_DETAIL_AFTERUSER",
|
||||
column: "LEADER_WELL_RECORD_DETAIL_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_FO_LEADER_WELL_RECORD_DETAIL_AFTERUSER_ORG_ID",
|
||||
table: "T_FO_LEADER_WELL_RECORD_DETAIL_AFTERUSER",
|
||||
column: "ORG_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_FO_LEADER_WELL_RECORD_DETAIL_PREUSER_LEADER_WELL_RECORD_DETAIL_ID",
|
||||
table: "T_FO_LEADER_WELL_RECORD_DETAIL_PREUSER",
|
||||
column: "LEADER_WELL_RECORD_DETAIL_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_FO_LEADER_WELL_RECORD_DETAIL_PREUSER_ORG_ID",
|
||||
table: "T_FO_LEADER_WELL_RECORD_DETAIL_PREUSER",
|
||||
column: "ORG_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_FO_LEADER_WELL_RECORD_DETAIL_PREUSER_PRE_USER_ID",
|
||||
table: "T_FO_LEADER_WELL_RECORD_DETAIL_PREUSER",
|
||||
column: "PRE_USER_ID");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_T_SK_CHECK_SET_CONTENTS_T_SK_RISK_AREA_AREA_ID",
|
||||
table: "T_SK_CHECK_SET_CONTENTS",
|
||||
column: "AREA_ID",
|
||||
principalTable: "T_SK_RISK_AREA",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_T_SK_CHECK_SET_CONTENTS_T_SK_RISK_AREA_AREA_ID",
|
||||
table: "T_SK_CHECK_SET_CONTENTS");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_FO_LEADER_WELL_RECORD_DETAIL_AFTERUSER");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_FO_LEADER_WELL_RECORD_DETAIL_PREUSER");
|
||||
|
||||
migrationBuilder.DropIndex(
|
||||
name: "IX_T_SK_CHECK_SET_CONTENTS_AREA_ID",
|
||||
table: "T_SK_CHECK_SET_CONTENTS");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "AREA_ID",
|
||||
table: "T_SK_CHECK_SET_CONTENTS");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "ENTERPRISE_LIBRARY_DETAIL_ID",
|
||||
table: "T_SK_CHECK_SET_CONTENTS");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "ENTERPRISE_LIBRARY_ID",
|
||||
table: "T_SK_CHECK_SET_CONTENTS");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "MEASURES_NAME",
|
||||
table: "T_SK_CHECK_SET_CONTENTS");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "RISK_NAME",
|
||||
table: "T_SK_CHECK_SET_CONTENTS");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "POST_NAME",
|
||||
table: "T_SK_CHECK_SET");
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "AFTER_USER_DEAL_STATUS",
|
||||
table: "T_FO_LEADER_WELL_RECORD_DETAIL",
|
||||
type: "int",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "AFTER_USER_ID",
|
||||
table: "T_FO_LEADER_WELL_RECORD_DETAIL",
|
||||
type: "uniqueidentifier",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "PRE_USER_DEAL_STATUS",
|
||||
table: "T_FO_LEADER_WELL_RECORD_DETAIL",
|
||||
type: "int",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "PRE_USER_ID",
|
||||
table: "T_FO_LEADER_WELL_RECORD_DETAIL",
|
||||
type: "uniqueidentifier",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_FO_LEADER_WELL_RECORD_DETAIL_AFTER_USER_ID",
|
||||
table: "T_FO_LEADER_WELL_RECORD_DETAIL",
|
||||
column: "AFTER_USER_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_FO_LEADER_WELL_RECORD_DETAIL_PRE_USER_ID",
|
||||
table: "T_FO_LEADER_WELL_RECORD_DETAIL",
|
||||
column: "PRE_USER_ID");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_T_FO_LEADER_WELL_RECORD_DETAIL_T_FM_USER_AFTER_USER_ID",
|
||||
table: "T_FO_LEADER_WELL_RECORD_DETAIL",
|
||||
column: "AFTER_USER_ID",
|
||||
principalTable: "T_FM_USER",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_T_FO_LEADER_WELL_RECORD_DETAIL_T_FM_USER_PRE_USER_ID",
|
||||
table: "T_FO_LEADER_WELL_RECORD_DETAIL",
|
||||
column: "PRE_USER_ID",
|
||||
principalTable: "T_FM_USER",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
}
|
||||
}
|
||||
}
|
||||
135479
APT.Data.Migrations/Migrations/20251113064111_hmr2025111301.Designer.cs
generated
Normal file
135479
APT.Data.Migrations/Migrations/20251113064111_hmr2025111301.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
191
APT.Data.Migrations/Migrations/20251113064111_hmr2025111301.cs
Normal file
191
APT.Data.Migrations/Migrations/20251113064111_hmr2025111301.cs
Normal file
@ -0,0 +1,191 @@
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace APT.Data.Migrations.Migrations
|
||||
{
|
||||
public partial class hmr2025111301 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "ENTERPRISE_LIBRARY_ID",
|
||||
table: "T_SK_RISK_IDENTIFY_RESULT_SUMMARY_DETAIL",
|
||||
type: "uniqueidentifier",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "ENTERPRISE_LIBRARY_ID",
|
||||
table: "T_SK_RISK_IDENTIFY_RESULT_DETAIL",
|
||||
type: "uniqueidentifier",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "ENTERPRISE_LIBRARY_ID",
|
||||
table: "T_SK_RISK_IDENTIFY_DETAIL",
|
||||
type: "uniqueidentifier",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "ENABLE_STATUS",
|
||||
table: "T_SK_RISK_EVALUATION_SUMMARY_DETAIL",
|
||||
type: "int",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "ENTERPRISE_LIBRARY_ID",
|
||||
table: "T_SK_RISK_EVALUATION_SUMMARY_DETAIL",
|
||||
type: "uniqueidentifier",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "ENABLE_STATUS",
|
||||
table: "T_SK_RISK_EVALUATION_DETAIL",
|
||||
type: "int",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "ENTERPRISE_LIBRARY_ID",
|
||||
table: "T_SK_RISK_EVALUATION_DETAIL",
|
||||
type: "uniqueidentifier",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "ENABLE_STATUS",
|
||||
table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL",
|
||||
type: "int",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "ENTERPRISE_LIBRARY_ID",
|
||||
table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL",
|
||||
type: "uniqueidentifier",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "FIRE_STATUS",
|
||||
table: "T_FO_FIRE_JOB_WB",
|
||||
type: "int",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "FIRE_STATUS",
|
||||
table: "T_FO_FIRE_JOB",
|
||||
type: "int",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "PRODUCTION_UNIT_ID",
|
||||
table: "T_FM_USER_PRODUCTION_UNIT",
|
||||
type: "uniqueidentifier",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "DEPART_UNIT_ID",
|
||||
table: "T_FM_DEPARTMENT_PRODUCTION_UNIT",
|
||||
type: "uniqueidentifier",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_FM_USER_PRODUCTION_UNIT_PRODUCTION_UNIT_ID",
|
||||
table: "T_FM_USER_PRODUCTION_UNIT",
|
||||
column: "PRODUCTION_UNIT_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_FM_DEPARTMENT_PRODUCTION_UNIT_DEPART_UNIT_ID",
|
||||
table: "T_FM_DEPARTMENT_PRODUCTION_UNIT",
|
||||
column: "DEPART_UNIT_ID");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_T_FM_DEPARTMENT_PRODUCTION_UNIT_T_FM_USER_PRODUCTION_UNIT_SET_DEPART_UNIT_ID",
|
||||
table: "T_FM_DEPARTMENT_PRODUCTION_UNIT",
|
||||
column: "DEPART_UNIT_ID",
|
||||
principalTable: "T_FM_USER_PRODUCTION_UNIT_SET",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_T_FM_USER_PRODUCTION_UNIT_T_FM_USER_PRODUCTION_UNIT_SET_PRODUCTION_UNIT_ID",
|
||||
table: "T_FM_USER_PRODUCTION_UNIT",
|
||||
column: "PRODUCTION_UNIT_ID",
|
||||
principalTable: "T_FM_USER_PRODUCTION_UNIT_SET",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_T_FM_DEPARTMENT_PRODUCTION_UNIT_T_FM_USER_PRODUCTION_UNIT_SET_DEPART_UNIT_ID",
|
||||
table: "T_FM_DEPARTMENT_PRODUCTION_UNIT");
|
||||
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_T_FM_USER_PRODUCTION_UNIT_T_FM_USER_PRODUCTION_UNIT_SET_PRODUCTION_UNIT_ID",
|
||||
table: "T_FM_USER_PRODUCTION_UNIT");
|
||||
|
||||
migrationBuilder.DropIndex(
|
||||
name: "IX_T_FM_USER_PRODUCTION_UNIT_PRODUCTION_UNIT_ID",
|
||||
table: "T_FM_USER_PRODUCTION_UNIT");
|
||||
|
||||
migrationBuilder.DropIndex(
|
||||
name: "IX_T_FM_DEPARTMENT_PRODUCTION_UNIT_DEPART_UNIT_ID",
|
||||
table: "T_FM_DEPARTMENT_PRODUCTION_UNIT");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "ENTERPRISE_LIBRARY_ID",
|
||||
table: "T_SK_RISK_IDENTIFY_RESULT_SUMMARY_DETAIL");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "ENTERPRISE_LIBRARY_ID",
|
||||
table: "T_SK_RISK_IDENTIFY_RESULT_DETAIL");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "ENTERPRISE_LIBRARY_ID",
|
||||
table: "T_SK_RISK_IDENTIFY_DETAIL");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "ENABLE_STATUS",
|
||||
table: "T_SK_RISK_EVALUATION_SUMMARY_DETAIL");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "ENTERPRISE_LIBRARY_ID",
|
||||
table: "T_SK_RISK_EVALUATION_SUMMARY_DETAIL");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "ENABLE_STATUS",
|
||||
table: "T_SK_RISK_EVALUATION_DETAIL");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "ENTERPRISE_LIBRARY_ID",
|
||||
table: "T_SK_RISK_EVALUATION_DETAIL");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "ENABLE_STATUS",
|
||||
table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "ENTERPRISE_LIBRARY_ID",
|
||||
table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "FIRE_STATUS",
|
||||
table: "T_FO_FIRE_JOB_WB");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "FIRE_STATUS",
|
||||
table: "T_FO_FIRE_JOB");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "PRODUCTION_UNIT_ID",
|
||||
table: "T_FM_USER_PRODUCTION_UNIT");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "DEPART_UNIT_ID",
|
||||
table: "T_FM_DEPARTMENT_PRODUCTION_UNIT");
|
||||
}
|
||||
}
|
||||
}
|
||||
135485
APT.Data.Migrations/Migrations/20251113072500_hmr2025111302.Designer.cs
generated
Normal file
135485
APT.Data.Migrations/Migrations/20251113072500_hmr2025111302.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,82 @@
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace APT.Data.Migrations.Migrations
|
||||
{
|
||||
public partial class hmr2025111302 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_T_FO_FIRE_JOB_USER_T_FO_USER_TYPE_USER_TYPE_ID",
|
||||
table: "T_FO_FIRE_JOB_USER");
|
||||
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_T_FO_FIRE_JOB_WB_USER_T_FO_USER_TYPE_USER_TYPE_ID",
|
||||
table: "T_FO_FIRE_JOB_WB_USER");
|
||||
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "USER_TYPE_ID",
|
||||
table: "T_FM_USER",
|
||||
type: "uniqueidentifier",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "USER_TYPE_NAME",
|
||||
table: "T_FM_USER",
|
||||
type: "nvarchar(max)",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_T_FO_FIRE_JOB_USER_T_OG_RELATED_USER_TYPE_USER_TYPE_ID",
|
||||
table: "T_FO_FIRE_JOB_USER",
|
||||
column: "USER_TYPE_ID",
|
||||
principalTable: "T_OG_RELATED_USER_TYPE",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_T_FO_FIRE_JOB_WB_USER_T_OG_RELATED_USER_TYPE_USER_TYPE_ID",
|
||||
table: "T_FO_FIRE_JOB_WB_USER",
|
||||
column: "USER_TYPE_ID",
|
||||
principalTable: "T_OG_RELATED_USER_TYPE",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_T_FO_FIRE_JOB_USER_T_OG_RELATED_USER_TYPE_USER_TYPE_ID",
|
||||
table: "T_FO_FIRE_JOB_USER");
|
||||
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_T_FO_FIRE_JOB_WB_USER_T_OG_RELATED_USER_TYPE_USER_TYPE_ID",
|
||||
table: "T_FO_FIRE_JOB_WB_USER");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "USER_TYPE_ID",
|
||||
table: "T_FM_USER");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "USER_TYPE_NAME",
|
||||
table: "T_FM_USER");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_T_FO_FIRE_JOB_USER_T_FO_USER_TYPE_USER_TYPE_ID",
|
||||
table: "T_FO_FIRE_JOB_USER",
|
||||
column: "USER_TYPE_ID",
|
||||
principalTable: "T_FO_USER_TYPE",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_T_FO_FIRE_JOB_WB_USER_T_FO_USER_TYPE_USER_TYPE_ID",
|
||||
table: "T_FO_FIRE_JOB_WB_USER",
|
||||
column: "USER_TYPE_ID",
|
||||
principalTable: "T_FO_USER_TYPE",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
}
|
||||
}
|
||||
}
|
||||
135486
APT.Data.Migrations/Migrations/20251113073022_hmr2025111303.Designer.cs
generated
Normal file
135486
APT.Data.Migrations/Migrations/20251113073022_hmr2025111303.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,33 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace APT.Data.Migrations.Migrations
|
||||
{
|
||||
public partial class hmr2025111303 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "USER_TYPE_NAME",
|
||||
table: "T_FM_USER",
|
||||
type: "nvarchar(50)",
|
||||
maxLength: 50,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldType: "nvarchar(max)",
|
||||
oldNullable: true);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "USER_TYPE_NAME",
|
||||
table: "T_FM_USER",
|
||||
type: "nvarchar(max)",
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldType: "nvarchar(50)",
|
||||
oldMaxLength: 50,
|
||||
oldNullable: true);
|
||||
}
|
||||
}
|
||||
}
|
||||
135538
APT.Data.Migrations/Migrations/20251116050010_hmr2025111601.Designer.cs
generated
Normal file
135538
APT.Data.Migrations/Migrations/20251116050010_hmr2025111601.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
156
APT.Data.Migrations/Migrations/20251116050010_hmr2025111601.cs
Normal file
156
APT.Data.Migrations/Migrations/20251116050010_hmr2025111601.cs
Normal file
@ -0,0 +1,156 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace APT.Data.Migrations.Migrations
|
||||
{
|
||||
public partial class hmr2025111601 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "IDENTIFY_DEPART",
|
||||
table: "T_SK_RISK_EVALUATION_SUMMARY_DETAIL",
|
||||
type: "nvarchar(500)",
|
||||
maxLength: 500,
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "IDENTIFY_POST",
|
||||
table: "T_SK_RISK_EVALUATION_SUMMARY_DETAIL",
|
||||
type: "nvarchar(500)",
|
||||
maxLength: 500,
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "IDENTIFY_TYPE",
|
||||
table: "T_SK_RISK_EVALUATION_SUMMARY_DETAIL",
|
||||
type: "nvarchar(500)",
|
||||
maxLength: 500,
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "IDENTIFY_DEPART",
|
||||
table: "T_SK_RISK_EVALUATION_DETAIL",
|
||||
type: "nvarchar(500)",
|
||||
maxLength: 500,
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "IDENTIFY_POST",
|
||||
table: "T_SK_RISK_EVALUATION_DETAIL",
|
||||
type: "nvarchar(500)",
|
||||
maxLength: 500,
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "IDENTIFY_TYPE",
|
||||
table: "T_SK_RISK_EVALUATION_DETAIL",
|
||||
type: "nvarchar(500)",
|
||||
maxLength: 500,
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "DEPARTMENT_TYPE",
|
||||
table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL",
|
||||
type: "nvarchar(500)",
|
||||
maxLength: 500,
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "IDENTIFY_DEPART",
|
||||
table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL",
|
||||
type: "nvarchar(500)",
|
||||
maxLength: 500,
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "IDENTIFY_DEPARTMENT",
|
||||
table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL",
|
||||
type: "nvarchar(500)",
|
||||
maxLength: 500,
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "IDENTIFY_POST",
|
||||
table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL",
|
||||
type: "nvarchar(500)",
|
||||
maxLength: 500,
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "IDENTIFY_TYPE",
|
||||
table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL",
|
||||
type: "nvarchar(500)",
|
||||
maxLength: 500,
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "IDENTIFY_USER",
|
||||
table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL",
|
||||
type: "nvarchar(500)",
|
||||
maxLength: 500,
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "MEASURE",
|
||||
table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL",
|
||||
type: "nvarchar(500)",
|
||||
maxLength: 500,
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "IDENTIFY_DEPART",
|
||||
table: "T_SK_RISK_EVALUATION_SUMMARY_DETAIL");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "IDENTIFY_POST",
|
||||
table: "T_SK_RISK_EVALUATION_SUMMARY_DETAIL");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "IDENTIFY_TYPE",
|
||||
table: "T_SK_RISK_EVALUATION_SUMMARY_DETAIL");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "IDENTIFY_DEPART",
|
||||
table: "T_SK_RISK_EVALUATION_DETAIL");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "IDENTIFY_POST",
|
||||
table: "T_SK_RISK_EVALUATION_DETAIL");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "IDENTIFY_TYPE",
|
||||
table: "T_SK_RISK_EVALUATION_DETAIL");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "DEPARTMENT_TYPE",
|
||||
table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "IDENTIFY_DEPART",
|
||||
table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "IDENTIFY_DEPARTMENT",
|
||||
table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "IDENTIFY_POST",
|
||||
table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "IDENTIFY_TYPE",
|
||||
table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "IDENTIFY_USER",
|
||||
table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "MEASURE",
|
||||
table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL");
|
||||
}
|
||||
}
|
||||
}
|
||||
135623
APT.Data.Migrations/Migrations/20251116061801_hmr2025111602.Designer.cs
generated
Normal file
135623
APT.Data.Migrations/Migrations/20251116061801_hmr2025111602.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,74 @@
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace APT.Data.Migrations.Migrations
|
||||
{
|
||||
public partial class hmr2025111602 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_SK_IDENTIFY_EVALUATION_PLAN_EVALUATION",
|
||||
columns: table => new
|
||||
{
|
||||
ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
IDENTIFY_EVALUATION_PLAN_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
EVALUATION_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
IS_DELETED = table.Column<bool>(type: "bit", nullable: false),
|
||||
ORG_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
ENTITY_ORG_TPYE = table.Column<int>(type: "int", nullable: false),
|
||||
FORM_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
FLOW_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_SEND_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
CREATE_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
MODIFY_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
CREATER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
MODIFIER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_T_SK_IDENTIFY_EVALUATION_PLAN_EVALUATION", x => x.ID);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_SK_IDENTIFY_EVALUATION_PLAN_EVALUATION_T_FM_ORGANIZATION_ORG_ID",
|
||||
column: x => x.ORG_ID,
|
||||
principalTable: "T_FM_ORGANIZATION",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_SK_IDENTIFY_EVALUATION_PLAN_EVALUATION_T_SK_EVALUATION_EVALUATION_ID",
|
||||
column: x => x.EVALUATION_ID,
|
||||
principalTable: "T_SK_EVALUATION",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_SK_IDENTIFY_EVALUATION_PLAN_EVALUATION_T_SK_IDENTIFY_EVALUATION_PLAN_IDENTIFY_EVALUATION_PLAN_ID",
|
||||
column: x => x.IDENTIFY_EVALUATION_PLAN_ID,
|
||||
principalTable: "T_SK_IDENTIFY_EVALUATION_PLAN",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_SK_IDENTIFY_EVALUATION_PLAN_EVALUATION_EVALUATION_ID",
|
||||
table: "T_SK_IDENTIFY_EVALUATION_PLAN_EVALUATION",
|
||||
column: "EVALUATION_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_SK_IDENTIFY_EVALUATION_PLAN_EVALUATION_IDENTIFY_EVALUATION_PLAN_ID",
|
||||
table: "T_SK_IDENTIFY_EVALUATION_PLAN_EVALUATION",
|
||||
column: "IDENTIFY_EVALUATION_PLAN_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_SK_IDENTIFY_EVALUATION_PLAN_EVALUATION_ORG_ID",
|
||||
table: "T_SK_IDENTIFY_EVALUATION_PLAN_EVALUATION",
|
||||
column: "ORG_ID");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_SK_IDENTIFY_EVALUATION_PLAN_EVALUATION");
|
||||
}
|
||||
}
|
||||
}
|
||||
135803
APT.Data.Migrations/Migrations/20251118024154_hmr2025111801.Designer.cs
generated
Normal file
135803
APT.Data.Migrations/Migrations/20251118024154_hmr2025111801.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
147
APT.Data.Migrations/Migrations/20251118024154_hmr2025111801.cs
Normal file
147
APT.Data.Migrations/Migrations/20251118024154_hmr2025111801.cs
Normal file
@ -0,0 +1,147 @@
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace APT.Data.Migrations.Migrations
|
||||
{
|
||||
public partial class hmr2025111801 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "PLACE",
|
||||
table: "T_FO_LEADER_WELL_RECORD",
|
||||
type: "nvarchar(50)",
|
||||
maxLength: 50,
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_FO_LEADER_WELL_RECORD_AFTERUSER",
|
||||
columns: table => new
|
||||
{
|
||||
ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
LEADER_WELL_RECORD_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
AFTER_USER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
AFTER_USER_DEAL_STATUS = table.Column<int>(type: "int", nullable: true),
|
||||
IS_DELETED = table.Column<bool>(type: "bit", nullable: false),
|
||||
ORG_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
ENTITY_ORG_TPYE = table.Column<int>(type: "int", nullable: false),
|
||||
FORM_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
FLOW_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_SEND_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
CREATE_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
MODIFY_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
CREATER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
MODIFIER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_T_FO_LEADER_WELL_RECORD_AFTERUSER", x => x.ID);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_FO_LEADER_WELL_RECORD_AFTERUSER_T_FM_ORGANIZATION_ORG_ID",
|
||||
column: x => x.ORG_ID,
|
||||
principalTable: "T_FM_ORGANIZATION",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_FO_LEADER_WELL_RECORD_AFTERUSER_T_FM_USER_AFTER_USER_ID",
|
||||
column: x => x.AFTER_USER_ID,
|
||||
principalTable: "T_FM_USER",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_FO_LEADER_WELL_RECORD_AFTERUSER_T_FO_LEADER_WELL_RECORD_LEADER_WELL_RECORD_ID",
|
||||
column: x => x.LEADER_WELL_RECORD_ID,
|
||||
principalTable: "T_FO_LEADER_WELL_RECORD",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_FO_LEADER_WELL_RECORD_PREUSER",
|
||||
columns: table => new
|
||||
{
|
||||
ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
LEADER_WELL_RECORD_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
PRE_USER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
PRE_USER_DEAL_STATUS = table.Column<int>(type: "int", nullable: true),
|
||||
IS_DELETED = table.Column<bool>(type: "bit", nullable: false),
|
||||
ORG_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
ENTITY_ORG_TPYE = table.Column<int>(type: "int", nullable: false),
|
||||
FORM_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
FLOW_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_SEND_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
CREATE_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
MODIFY_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
CREATER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
MODIFIER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_T_FO_LEADER_WELL_RECORD_PREUSER", x => x.ID);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_FO_LEADER_WELL_RECORD_PREUSER_T_FM_ORGANIZATION_ORG_ID",
|
||||
column: x => x.ORG_ID,
|
||||
principalTable: "T_FM_ORGANIZATION",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_FO_LEADER_WELL_RECORD_PREUSER_T_FM_USER_PRE_USER_ID",
|
||||
column: x => x.PRE_USER_ID,
|
||||
principalTable: "T_FM_USER",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_FO_LEADER_WELL_RECORD_PREUSER_T_FO_LEADER_WELL_RECORD_LEADER_WELL_RECORD_ID",
|
||||
column: x => x.LEADER_WELL_RECORD_ID,
|
||||
principalTable: "T_FO_LEADER_WELL_RECORD",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_FO_LEADER_WELL_RECORD_AFTERUSER_AFTER_USER_ID",
|
||||
table: "T_FO_LEADER_WELL_RECORD_AFTERUSER",
|
||||
column: "AFTER_USER_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_FO_LEADER_WELL_RECORD_AFTERUSER_LEADER_WELL_RECORD_ID",
|
||||
table: "T_FO_LEADER_WELL_RECORD_AFTERUSER",
|
||||
column: "LEADER_WELL_RECORD_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_FO_LEADER_WELL_RECORD_AFTERUSER_ORG_ID",
|
||||
table: "T_FO_LEADER_WELL_RECORD_AFTERUSER",
|
||||
column: "ORG_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_FO_LEADER_WELL_RECORD_PREUSER_LEADER_WELL_RECORD_ID",
|
||||
table: "T_FO_LEADER_WELL_RECORD_PREUSER",
|
||||
column: "LEADER_WELL_RECORD_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_FO_LEADER_WELL_RECORD_PREUSER_ORG_ID",
|
||||
table: "T_FO_LEADER_WELL_RECORD_PREUSER",
|
||||
column: "ORG_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_FO_LEADER_WELL_RECORD_PREUSER_PRE_USER_ID",
|
||||
table: "T_FO_LEADER_WELL_RECORD_PREUSER",
|
||||
column: "PRE_USER_ID");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_FO_LEADER_WELL_RECORD_AFTERUSER");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_FO_LEADER_WELL_RECORD_PREUSER");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "PLACE",
|
||||
table: "T_FO_LEADER_WELL_RECORD");
|
||||
}
|
||||
}
|
||||
}
|
||||
135973
APT.Data.Migrations/Migrations/20251118164910_hmr2025111901.Designer.cs
generated
Normal file
135973
APT.Data.Migrations/Migrations/20251118164910_hmr2025111901.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
134
APT.Data.Migrations/Migrations/20251118164910_hmr2025111901.cs
Normal file
134
APT.Data.Migrations/Migrations/20251118164910_hmr2025111901.cs
Normal file
@ -0,0 +1,134 @@
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace APT.Data.Migrations.Migrations
|
||||
{
|
||||
public partial class hmr2025111901 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_SK_CHECK_SET_USER",
|
||||
columns: table => new
|
||||
{
|
||||
ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
CHECK_SET_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
USER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
IS_DELETED = table.Column<bool>(type: "bit", nullable: false),
|
||||
ORG_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
ENTITY_ORG_TPYE = table.Column<int>(type: "int", nullable: false),
|
||||
FORM_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
FLOW_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_SEND_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
CREATE_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
MODIFY_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
CREATER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
MODIFIER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_T_SK_CHECK_SET_USER", x => x.ID);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_SK_CHECK_SET_USER_T_FM_ORGANIZATION_ORG_ID",
|
||||
column: x => x.ORG_ID,
|
||||
principalTable: "T_FM_ORGANIZATION",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_SK_CHECK_SET_USER_T_FM_USER_USER_ID",
|
||||
column: x => x.USER_ID,
|
||||
principalTable: "T_FM_USER",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_SK_CHECK_SET_USER_T_SK_CHECK_SET_CHECK_SET_ID",
|
||||
column: x => x.CHECK_SET_ID,
|
||||
principalTable: "T_SK_CHECK_SET",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT_USER",
|
||||
columns: table => new
|
||||
{
|
||||
ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
ENTERPRISE_LIBRARY_DETAIL_CONTENT_DEPART_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
USER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
IS_DELETED = table.Column<bool>(type: "bit", nullable: false),
|
||||
ORG_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
ENTITY_ORG_TPYE = table.Column<int>(type: "int", nullable: false),
|
||||
FORM_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
FLOW_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_SEND_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
CREATE_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
MODIFY_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
CREATER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
MODIFIER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT_USER", x => x.ID);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT_USER_T_FM_ORGANIZATION_ORG_ID",
|
||||
column: x => x.ORG_ID,
|
||||
principalTable: "T_FM_ORGANIZATION",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT_USER_T_FM_USER_USER_ID",
|
||||
column: x => x.USER_ID,
|
||||
principalTable: "T_FM_USER",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT_USER_T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT_DEPART_ENTERPRISE_LIBRARY_DETAIL_CONTENT_~",
|
||||
column: x => x.ENTERPRISE_LIBRARY_DETAIL_CONTENT_DEPART_ID,
|
||||
principalTable: "T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT_DEPART",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_SK_CHECK_SET_USER_CHECK_SET_ID",
|
||||
table: "T_SK_CHECK_SET_USER",
|
||||
column: "CHECK_SET_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_SK_CHECK_SET_USER_ORG_ID",
|
||||
table: "T_SK_CHECK_SET_USER",
|
||||
column: "ORG_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_SK_CHECK_SET_USER_USER_ID",
|
||||
table: "T_SK_CHECK_SET_USER",
|
||||
column: "USER_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT_USER_ENTERPRISE_LIBRARY_DETAIL_CONTENT_DEPART_ID",
|
||||
table: "T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT_USER",
|
||||
column: "ENTERPRISE_LIBRARY_DETAIL_CONTENT_DEPART_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT_USER_ORG_ID",
|
||||
table: "T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT_USER",
|
||||
column: "ORG_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT_USER_USER_ID",
|
||||
table: "T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT_USER",
|
||||
column: "USER_ID");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_SK_CHECK_SET_USER");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT_USER");
|
||||
}
|
||||
}
|
||||
}
|
||||
135964
APT.Data.Migrations/Migrations/20251120131903_wyw2025112001.Designer.cs
generated
Normal file
135964
APT.Data.Migrations/Migrations/20251120131903_wyw2025112001.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,56 @@
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace APT.Data.Migrations.Migrations
|
||||
{
|
||||
public partial class wyw2025112001 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_T_SE_TRAIN_NOTIFY_T_SE_TRAIN_CHECK_TYPE_ENUM_CHECK_TYPE_ID",
|
||||
table: "T_SE_TRAIN_NOTIFY");
|
||||
|
||||
migrationBuilder.DropIndex(
|
||||
name: "IX_T_SE_TRAIN_NOTIFY_CHECK_TYPE_ID",
|
||||
table: "T_SE_TRAIN_NOTIFY");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "CHECK_TYPE_ID",
|
||||
table: "T_SE_TRAIN_NOTIFY");
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "CHECKTYPE",
|
||||
table: "T_SE_TRAIN_NOTIFY",
|
||||
type: "int",
|
||||
nullable: false,
|
||||
defaultValue: 56);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "CHECKTYPE",
|
||||
table: "T_SE_TRAIN_NOTIFY");
|
||||
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "CHECK_TYPE_ID",
|
||||
table: "T_SE_TRAIN_NOTIFY",
|
||||
type: "uniqueidentifier",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_SE_TRAIN_NOTIFY_CHECK_TYPE_ID",
|
||||
table: "T_SE_TRAIN_NOTIFY",
|
||||
column: "CHECK_TYPE_ID");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_T_SE_TRAIN_NOTIFY_T_SE_TRAIN_CHECK_TYPE_ENUM_CHECK_TYPE_ID",
|
||||
table: "T_SE_TRAIN_NOTIFY",
|
||||
column: "CHECK_TYPE_ID",
|
||||
principalTable: "T_SE_TRAIN_CHECK_TYPE_ENUM",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
}
|
||||
}
|
||||
}
|
||||
135979
APT.Data.Migrations/Migrations/20251120163211_hmr2025112101.Designer.cs
generated
Normal file
135979
APT.Data.Migrations/Migrations/20251120163211_hmr2025112101.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,35 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace APT.Data.Migrations.Migrations
|
||||
{
|
||||
public partial class hmr2025112101 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<bool>(
|
||||
name: "IS_RUN",
|
||||
table: "T_FO_FIRE_JOB_WB",
|
||||
type: "bit",
|
||||
nullable: false,
|
||||
defaultValue: false);
|
||||
|
||||
migrationBuilder.AddColumn<bool>(
|
||||
name: "IS_RUN",
|
||||
table: "T_FO_FIRE_JOB",
|
||||
type: "bit",
|
||||
nullable: false,
|
||||
defaultValue: false);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "IS_RUN",
|
||||
table: "T_FO_FIRE_JOB_WB");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "IS_RUN",
|
||||
table: "T_FO_FIRE_JOB");
|
||||
}
|
||||
}
|
||||
}
|
||||
135985
APT.Data.Migrations/Migrations/20251121051916_hmr2025112102.Designer.cs
generated
Normal file
135985
APT.Data.Migrations/Migrations/20251121051916_hmr2025112102.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,33 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace APT.Data.Migrations.Migrations
|
||||
{
|
||||
public partial class hmr2025112102 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "NUM",
|
||||
table: "T_FO_FIRE_JOB_WB_DETAIL",
|
||||
type: "int",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "NUM",
|
||||
table: "T_FO_FIRE_JOB_DETAIL",
|
||||
type: "int",
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "NUM",
|
||||
table: "T_FO_FIRE_JOB_WB_DETAIL");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "NUM",
|
||||
table: "T_FO_FIRE_JOB_DETAIL");
|
||||
}
|
||||
}
|
||||
}
|
||||
135976
APT.Data.Migrations/Migrations/20251121092338_wyw2025112101.Designer.cs
generated
Normal file
135976
APT.Data.Migrations/Migrations/20251121092338_wyw2025112101.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,33 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace APT.Data.Migrations.Migrations
|
||||
{
|
||||
public partial class wyw2025112101 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "EXAMINATION_RESULTS",
|
||||
table: "T_SE_TRAIN_RECORD_USER",
|
||||
type: "int",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "SCORE",
|
||||
table: "T_SE_TRAIN_RECORD_USER",
|
||||
type: "int",
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "EXAMINATION_RESULTS",
|
||||
table: "T_SE_TRAIN_RECORD_USER");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "SCORE",
|
||||
table: "T_SE_TRAIN_RECORD_USER");
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,31 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace APT.Data.Migrations.Migrations
|
||||
{
|
||||
public partial class wyw2025112102 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<int>(
|
||||
name: "EVALUATION_RESULT",
|
||||
table: "T_SE_TRAINING_EFFECT_EVALUATION_SURVEY_RESULTS",
|
||||
type: "int",
|
||||
nullable: true,
|
||||
oldClrType: typeof(int),
|
||||
oldType: "int");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<int>(
|
||||
name: "EVALUATION_RESULT",
|
||||
table: "T_SE_TRAINING_EFFECT_EVALUATION_SURVEY_RESULTS",
|
||||
type: "int",
|
||||
nullable: false,
|
||||
defaultValue: 0,
|
||||
oldClrType: typeof(int),
|
||||
oldType: "int",
|
||||
oldNullable: true);
|
||||
}
|
||||
}
|
||||
}
|
||||
136422
APT.Data.Migrations/Migrations/20251121111658_hmr2025112103.Designer.cs
generated
Normal file
136422
APT.Data.Migrations/Migrations/20251121111658_hmr2025112103.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
336
APT.Data.Migrations/Migrations/20251121111658_hmr2025112103.cs
Normal file
336
APT.Data.Migrations/Migrations/20251121111658_hmr2025112103.cs
Normal file
@ -0,0 +1,336 @@
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace APT.Data.Migrations.Migrations
|
||||
{
|
||||
public partial class hmr2025112103 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "SAFE_USER_NAME",
|
||||
table: "T_OG_RELATED",
|
||||
type: "nvarchar(50)",
|
||||
maxLength: 50,
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "SAFE_USER_PHONE",
|
||||
table: "T_OG_RELATED",
|
||||
type: "int",
|
||||
maxLength: 11,
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_FO_FIRE_JOB_WB_FIRE_USER",
|
||||
columns: table => new
|
||||
{
|
||||
ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
FIRE_JOB_WB_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
IMG_FILE_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
IS_DELETED = table.Column<bool>(type: "bit", nullable: false),
|
||||
ORG_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
ENTITY_ORG_TPYE = table.Column<int>(type: "int", nullable: false),
|
||||
FORM_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
FLOW_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_SEND_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
CREATE_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
MODIFY_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
CREATER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
MODIFIER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_T_FO_FIRE_JOB_WB_FIRE_USER", x => x.ID);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_FO_FIRE_JOB_WB_FIRE_USER_T_FM_ORGANIZATION_ORG_ID",
|
||||
column: x => x.ORG_ID,
|
||||
principalTable: "T_FM_ORGANIZATION",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_FO_FIRE_JOB_WB_FIRE_USER_T_FO_FIRE_JOB_WB_FIRE_JOB_WB_ID",
|
||||
column: x => x.FIRE_JOB_WB_ID,
|
||||
principalTable: "T_FO_FIRE_JOB_WB",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_FO_FIRE_JOB_WB_FIRE_USER_T_PF_IMG_FILE_IMG_FILE_ID",
|
||||
column: x => x.IMG_FILE_ID,
|
||||
principalTable: "T_PF_IMG_FILE",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_FO_FIRE_JOB_WB_SAFE_USER",
|
||||
columns: table => new
|
||||
{
|
||||
ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
FIRE_JOB_WB_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
IMG_FILE_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
IS_DELETED = table.Column<bool>(type: "bit", nullable: false),
|
||||
ORG_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
ENTITY_ORG_TPYE = table.Column<int>(type: "int", nullable: false),
|
||||
FORM_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
FLOW_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_SEND_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
CREATE_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
MODIFY_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
CREATER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
MODIFIER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_T_FO_FIRE_JOB_WB_SAFE_USER", x => x.ID);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_FO_FIRE_JOB_WB_SAFE_USER_T_FM_ORGANIZATION_ORG_ID",
|
||||
column: x => x.ORG_ID,
|
||||
principalTable: "T_FM_ORGANIZATION",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_FO_FIRE_JOB_WB_SAFE_USER_T_FO_FIRE_JOB_WB_FIRE_JOB_WB_ID",
|
||||
column: x => x.FIRE_JOB_WB_ID,
|
||||
principalTable: "T_FO_FIRE_JOB_WB",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_FO_FIRE_JOB_WB_SAFE_USER_T_PF_IMG_FILE_IMG_FILE_ID",
|
||||
column: x => x.IMG_FILE_ID,
|
||||
principalTable: "T_PF_IMG_FILE",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_FO_FIRE_JOB_WB_USER_SIGN",
|
||||
columns: table => new
|
||||
{
|
||||
ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
FIRE_JOB_WB_USER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
IMG_FILE_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
IS_DELETED = table.Column<bool>(type: "bit", nullable: false),
|
||||
ORG_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
ENTITY_ORG_TPYE = table.Column<int>(type: "int", nullable: false),
|
||||
FORM_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
FLOW_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_SEND_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
CREATE_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
MODIFY_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
CREATER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
MODIFIER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_T_FO_FIRE_JOB_WB_USER_SIGN", x => x.ID);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_FO_FIRE_JOB_WB_USER_SIGN_T_FM_ORGANIZATION_ORG_ID",
|
||||
column: x => x.ORG_ID,
|
||||
principalTable: "T_FM_ORGANIZATION",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_FO_FIRE_JOB_WB_USER_SIGN_T_FO_FIRE_JOB_WB_USER_FIRE_JOB_WB_USER_ID",
|
||||
column: x => x.FIRE_JOB_WB_USER_ID,
|
||||
principalTable: "T_FO_FIRE_JOB_WB_USER",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_FO_FIRE_JOB_WB_USER_SIGN_T_PF_IMG_FILE_IMG_FILE_ID",
|
||||
column: x => x.IMG_FILE_ID,
|
||||
principalTable: "T_PF_IMG_FILE",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_OG_RELATED_FIRE_USER",
|
||||
columns: table => new
|
||||
{
|
||||
ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
RELATED_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
IMG_FILE_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
IS_DELETED = table.Column<bool>(type: "bit", nullable: false),
|
||||
ORG_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
ENTITY_ORG_TPYE = table.Column<int>(type: "int", nullable: false),
|
||||
FORM_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
FLOW_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_SEND_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
CREATE_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
MODIFY_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
CREATER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
MODIFIER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_T_OG_RELATED_FIRE_USER", x => x.ID);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_OG_RELATED_FIRE_USER_T_FM_ORGANIZATION_ORG_ID",
|
||||
column: x => x.ORG_ID,
|
||||
principalTable: "T_FM_ORGANIZATION",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_OG_RELATED_FIRE_USER_T_OG_RELATED_RELATED_ID",
|
||||
column: x => x.RELATED_ID,
|
||||
principalTable: "T_OG_RELATED",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_OG_RELATED_FIRE_USER_T_PF_IMG_FILE_IMG_FILE_ID",
|
||||
column: x => x.IMG_FILE_ID,
|
||||
principalTable: "T_PF_IMG_FILE",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_OG_RELATED_SAFE_USER",
|
||||
columns: table => new
|
||||
{
|
||||
ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
RELATED_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
IMG_FILE_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
IS_DELETED = table.Column<bool>(type: "bit", nullable: false),
|
||||
ORG_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
ENTITY_ORG_TPYE = table.Column<int>(type: "int", nullable: false),
|
||||
FORM_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
FLOW_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_SEND_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
CREATE_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
MODIFY_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
CREATER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
MODIFIER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_T_OG_RELATED_SAFE_USER", x => x.ID);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_OG_RELATED_SAFE_USER_T_FM_ORGANIZATION_ORG_ID",
|
||||
column: x => x.ORG_ID,
|
||||
principalTable: "T_FM_ORGANIZATION",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_OG_RELATED_SAFE_USER_T_OG_RELATED_RELATED_ID",
|
||||
column: x => x.RELATED_ID,
|
||||
principalTable: "T_OG_RELATED",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_OG_RELATED_SAFE_USER_T_PF_IMG_FILE_IMG_FILE_ID",
|
||||
column: x => x.IMG_FILE_ID,
|
||||
principalTable: "T_PF_IMG_FILE",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_FO_FIRE_JOB_WB_FIRE_USER_FIRE_JOB_WB_ID",
|
||||
table: "T_FO_FIRE_JOB_WB_FIRE_USER",
|
||||
column: "FIRE_JOB_WB_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_FO_FIRE_JOB_WB_FIRE_USER_IMG_FILE_ID",
|
||||
table: "T_FO_FIRE_JOB_WB_FIRE_USER",
|
||||
column: "IMG_FILE_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_FO_FIRE_JOB_WB_FIRE_USER_ORG_ID",
|
||||
table: "T_FO_FIRE_JOB_WB_FIRE_USER",
|
||||
column: "ORG_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_FO_FIRE_JOB_WB_SAFE_USER_FIRE_JOB_WB_ID",
|
||||
table: "T_FO_FIRE_JOB_WB_SAFE_USER",
|
||||
column: "FIRE_JOB_WB_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_FO_FIRE_JOB_WB_SAFE_USER_IMG_FILE_ID",
|
||||
table: "T_FO_FIRE_JOB_WB_SAFE_USER",
|
||||
column: "IMG_FILE_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_FO_FIRE_JOB_WB_SAFE_USER_ORG_ID",
|
||||
table: "T_FO_FIRE_JOB_WB_SAFE_USER",
|
||||
column: "ORG_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_FO_FIRE_JOB_WB_USER_SIGN_FIRE_JOB_WB_USER_ID",
|
||||
table: "T_FO_FIRE_JOB_WB_USER_SIGN",
|
||||
column: "FIRE_JOB_WB_USER_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_FO_FIRE_JOB_WB_USER_SIGN_IMG_FILE_ID",
|
||||
table: "T_FO_FIRE_JOB_WB_USER_SIGN",
|
||||
column: "IMG_FILE_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_FO_FIRE_JOB_WB_USER_SIGN_ORG_ID",
|
||||
table: "T_FO_FIRE_JOB_WB_USER_SIGN",
|
||||
column: "ORG_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_OG_RELATED_FIRE_USER_IMG_FILE_ID",
|
||||
table: "T_OG_RELATED_FIRE_USER",
|
||||
column: "IMG_FILE_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_OG_RELATED_FIRE_USER_ORG_ID",
|
||||
table: "T_OG_RELATED_FIRE_USER",
|
||||
column: "ORG_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_OG_RELATED_FIRE_USER_RELATED_ID",
|
||||
table: "T_OG_RELATED_FIRE_USER",
|
||||
column: "RELATED_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_OG_RELATED_SAFE_USER_IMG_FILE_ID",
|
||||
table: "T_OG_RELATED_SAFE_USER",
|
||||
column: "IMG_FILE_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_OG_RELATED_SAFE_USER_ORG_ID",
|
||||
table: "T_OG_RELATED_SAFE_USER",
|
||||
column: "ORG_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_OG_RELATED_SAFE_USER_RELATED_ID",
|
||||
table: "T_OG_RELATED_SAFE_USER",
|
||||
column: "RELATED_ID");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_FO_FIRE_JOB_WB_FIRE_USER");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_FO_FIRE_JOB_WB_SAFE_USER");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_FO_FIRE_JOB_WB_USER_SIGN");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_OG_RELATED_FIRE_USER");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_OG_RELATED_SAFE_USER");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "SAFE_USER_NAME",
|
||||
table: "T_OG_RELATED");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "SAFE_USER_PHONE",
|
||||
table: "T_OG_RELATED");
|
||||
}
|
||||
}
|
||||
}
|
||||
136425
APT.Data.Migrations/Migrations/20251121174437_hmr2025112201.Designer.cs
generated
Normal file
136425
APT.Data.Migrations/Migrations/20251121174437_hmr2025112201.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,35 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace APT.Data.Migrations.Migrations
|
||||
{
|
||||
public partial class hmr2025112201 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<bool>(
|
||||
name: "IS_CONFIRM_NEW",
|
||||
table: "T_FO_FIRE_JOB_WB_DETAIL",
|
||||
type: "bit",
|
||||
nullable: false,
|
||||
defaultValue: false);
|
||||
|
||||
migrationBuilder.AddColumn<bool>(
|
||||
name: "IS_CONFIRM_NEW",
|
||||
table: "T_FO_FIRE_JOB_DETAIL",
|
||||
type: "bit",
|
||||
nullable: false,
|
||||
defaultValue: false);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "IS_CONFIRM_NEW",
|
||||
table: "T_FO_FIRE_JOB_WB_DETAIL");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "IS_CONFIRM_NEW",
|
||||
table: "T_FO_FIRE_JOB_DETAIL");
|
||||
}
|
||||
}
|
||||
}
|
||||
136434
APT.Data.Migrations/Migrations/20251122103915_hmr2025112202.Designer.cs
generated
Normal file
136434
APT.Data.Migrations/Migrations/20251122103915_hmr2025112202.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
100
APT.Data.Migrations/Migrations/20251122103915_hmr2025112202.cs
Normal file
100
APT.Data.Migrations/Migrations/20251122103915_hmr2025112202.cs
Normal file
@ -0,0 +1,100 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace APT.Data.Migrations.Migrations
|
||||
{
|
||||
public partial class hmr2025112202 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "SAFE_USER_PHONE",
|
||||
table: "T_OG_RELATED",
|
||||
type: "nvarchar(50)",
|
||||
maxLength: 50,
|
||||
nullable: true,
|
||||
oldClrType: typeof(int),
|
||||
oldType: "int",
|
||||
oldMaxLength: 11,
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "USER_PHONE",
|
||||
table: "T_FO_FIRE_JOB_WB",
|
||||
type: "nvarchar(50)",
|
||||
maxLength: 50,
|
||||
nullable: true,
|
||||
oldClrType: typeof(int),
|
||||
oldType: "int",
|
||||
oldMaxLength: 11,
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "SAFE_USER_PHONE",
|
||||
table: "T_FO_FIRE_JOB_WB",
|
||||
type: "nvarchar(50)",
|
||||
maxLength: 50,
|
||||
nullable: true,
|
||||
oldClrType: typeof(int),
|
||||
oldType: "int",
|
||||
oldMaxLength: 11,
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_FO_FIRE_JOB_WB_RELATED_ID",
|
||||
table: "T_FO_FIRE_JOB_WB",
|
||||
column: "RELATED_ID");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_T_FO_FIRE_JOB_WB_T_OG_RELATED_RELATED_ID",
|
||||
table: "T_FO_FIRE_JOB_WB",
|
||||
column: "RELATED_ID",
|
||||
principalTable: "T_OG_RELATED",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_T_FO_FIRE_JOB_WB_T_OG_RELATED_RELATED_ID",
|
||||
table: "T_FO_FIRE_JOB_WB");
|
||||
|
||||
migrationBuilder.DropIndex(
|
||||
name: "IX_T_FO_FIRE_JOB_WB_RELATED_ID",
|
||||
table: "T_FO_FIRE_JOB_WB");
|
||||
|
||||
migrationBuilder.AlterColumn<int>(
|
||||
name: "SAFE_USER_PHONE",
|
||||
table: "T_OG_RELATED",
|
||||
type: "int",
|
||||
maxLength: 11,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldType: "nvarchar(50)",
|
||||
oldMaxLength: 50,
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<int>(
|
||||
name: "USER_PHONE",
|
||||
table: "T_FO_FIRE_JOB_WB",
|
||||
type: "int",
|
||||
maxLength: 11,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldType: "nvarchar(50)",
|
||||
oldMaxLength: 50,
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<int>(
|
||||
name: "SAFE_USER_PHONE",
|
||||
table: "T_FO_FIRE_JOB_WB",
|
||||
type: "int",
|
||||
maxLength: 11,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldType: "nvarchar(50)",
|
||||
oldMaxLength: 50,
|
||||
oldNullable: true);
|
||||
}
|
||||
}
|
||||
}
|
||||
136434
APT.Data.Migrations/Migrations/20251122114010_hmr2025112203.Designer.cs
generated
Normal file
136434
APT.Data.Migrations/Migrations/20251122114010_hmr2025112203.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,37 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace APT.Data.Migrations.Migrations
|
||||
{
|
||||
public partial class hmr2025112203 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_T_FO_FIRE_JOB_WB_USER_T_FM_USER_USER_ID",
|
||||
table: "T_FO_FIRE_JOB_WB_USER");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_T_FO_FIRE_JOB_WB_USER_T_OG_RELATED_USER_USER_ID",
|
||||
table: "T_FO_FIRE_JOB_WB_USER",
|
||||
column: "USER_ID",
|
||||
principalTable: "T_OG_RELATED_USER",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_T_FO_FIRE_JOB_WB_USER_T_OG_RELATED_USER_USER_ID",
|
||||
table: "T_FO_FIRE_JOB_WB_USER");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_T_FO_FIRE_JOB_WB_USER_T_FM_USER_USER_ID",
|
||||
table: "T_FO_FIRE_JOB_WB_USER",
|
||||
column: "USER_ID",
|
||||
principalTable: "T_FM_USER",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
}
|
||||
}
|
||||
}
|
||||
136461
APT.Data.Migrations/Migrations/20251123145907_hmr2025112303.Designer.cs
generated
Normal file
136461
APT.Data.Migrations/Migrations/20251123145907_hmr2025112303.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,86 @@
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace APT.Data.Migrations.Migrations
|
||||
{
|
||||
public partial class hmr2025112303 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "DISPATCH_DEAL_STATUS",
|
||||
table: "T_FO_FIRE_JOB_WB",
|
||||
type: "int",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "DISPATCH_USER_ID",
|
||||
table: "T_FO_FIRE_JOB_WB",
|
||||
type: "uniqueidentifier",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "TRAIN_ID",
|
||||
table: "T_FO_FIRE_JOB_USER",
|
||||
type: "uniqueidentifier",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_FO_FIRE_JOB_WB_DISPATCH_USER_ID",
|
||||
table: "T_FO_FIRE_JOB_WB",
|
||||
column: "DISPATCH_USER_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_FO_FIRE_JOB_USER_TRAIN_ID",
|
||||
table: "T_FO_FIRE_JOB_USER",
|
||||
column: "TRAIN_ID");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_T_FO_FIRE_JOB_USER_T_SE_RENEWAL_TRAIN_TRAIN_ID",
|
||||
table: "T_FO_FIRE_JOB_USER",
|
||||
column: "TRAIN_ID",
|
||||
principalTable: "T_SE_RENEWAL_TRAIN",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_T_FO_FIRE_JOB_WB_T_FM_USER_DISPATCH_USER_ID",
|
||||
table: "T_FO_FIRE_JOB_WB",
|
||||
column: "DISPATCH_USER_ID",
|
||||
principalTable: "T_FM_USER",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_T_FO_FIRE_JOB_USER_T_SE_RENEWAL_TRAIN_TRAIN_ID",
|
||||
table: "T_FO_FIRE_JOB_USER");
|
||||
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_T_FO_FIRE_JOB_WB_T_FM_USER_DISPATCH_USER_ID",
|
||||
table: "T_FO_FIRE_JOB_WB");
|
||||
|
||||
migrationBuilder.DropIndex(
|
||||
name: "IX_T_FO_FIRE_JOB_WB_DISPATCH_USER_ID",
|
||||
table: "T_FO_FIRE_JOB_WB");
|
||||
|
||||
migrationBuilder.DropIndex(
|
||||
name: "IX_T_FO_FIRE_JOB_USER_TRAIN_ID",
|
||||
table: "T_FO_FIRE_JOB_USER");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "DISPATCH_DEAL_STATUS",
|
||||
table: "T_FO_FIRE_JOB_WB");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "DISPATCH_USER_ID",
|
||||
table: "T_FO_FIRE_JOB_WB");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "TRAIN_ID",
|
||||
table: "T_FO_FIRE_JOB_USER");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,232 +0,0 @@
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace APT.Data.Migrations.Migrations
|
||||
{
|
||||
public partial class wyw2025122601 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CODE",
|
||||
table: "T_SE_NEW_USER_DETAIL",
|
||||
type: "nvarchar(30)",
|
||||
maxLength: 30,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldType: "nvarchar(10)",
|
||||
oldMaxLength: 10,
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_SE_COURSEWEARLIBRARY",
|
||||
columns: table => new
|
||||
{
|
||||
ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
NAME = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
|
||||
CODE = table.Column<string>(type: "nvarchar(30)", maxLength: 30, nullable: true),
|
||||
DEPARTMENTID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
USER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
FILE_DB_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
FILE_PATH = table.Column<string>(type: "nvarchar(200)", maxLength: 200, nullable: true),
|
||||
IS_DELETED = table.Column<bool>(type: "bit", nullable: false),
|
||||
ORG_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
ENTITY_ORG_TPYE = table.Column<int>(type: "int", nullable: false),
|
||||
FORM_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
FLOW_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_SEND_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
CREATE_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
MODIFY_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
CREATER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
MODIFIER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_T_SE_COURSEWEARLIBRARY", x => x.ID);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_SE_COURSEWEARLIBRARY_T_FM_DEPARTMENT_DEPARTMENTID",
|
||||
column: x => x.DEPARTMENTID,
|
||||
principalTable: "T_FM_DEPARTMENT",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_SE_COURSEWEARLIBRARY_T_FM_ORGANIZATION_ORG_ID",
|
||||
column: x => x.ORG_ID,
|
||||
principalTable: "T_FM_ORGANIZATION",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_SE_COURSEWEARLIBRARY_T_FM_USER_USER_ID",
|
||||
column: x => x.USER_ID,
|
||||
principalTable: "T_FM_USER",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_SE_COURSEWEARLIBRARY_T_PF_FILE_DB_FILE_DB_ID",
|
||||
column: x => x.FILE_DB_ID,
|
||||
principalTable: "T_PF_FILE_DB",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_SE_COURSEWEARLIBRARY_DETAIL",
|
||||
columns: table => new
|
||||
{
|
||||
ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
EDU_CARD_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
NUM = table.Column<int>(type: "int", nullable: false),
|
||||
TEST_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
IS_DELETED = table.Column<bool>(type: "bit", nullable: false),
|
||||
ORG_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
ENTITY_ORG_TPYE = table.Column<int>(type: "int", nullable: false),
|
||||
FORM_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
FLOW_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_SEND_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
CREATE_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
MODIFY_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
CREATER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
MODIFIER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_T_SE_COURSEWEARLIBRARY_DETAIL", x => x.ID);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_SE_COURSEWEARLIBRARY_DETAIL_T_FM_ORGANIZATION_ORG_ID",
|
||||
column: x => x.ORG_ID,
|
||||
principalTable: "T_FM_ORGANIZATION",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_SE_COURSEWEARLIBRARY_DETAIL_T_SE_COURSEWEARLIBRARY_EDU_CARD_ID",
|
||||
column: x => x.EDU_CARD_ID,
|
||||
principalTable: "T_SE_COURSEWEARLIBRARY",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_SE_COURSEWEARLIBRARY_DETAIL_T_SE_TEST_TEST_ID",
|
||||
column: x => x.TEST_ID,
|
||||
principalTable: "T_SE_TEST",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "T_SE_COURSEWEARLIBRARY_FILE",
|
||||
columns: table => new
|
||||
{
|
||||
ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
COURSEWEARLIBRARY_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
IMG_FILE_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
IS_DELETED = table.Column<bool>(type: "bit", nullable: false),
|
||||
ORG_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
|
||||
ENTITY_ORG_TPYE = table.Column<int>(type: "int", nullable: false),
|
||||
FORM_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
FLOW_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_SEND_STATUS = table.Column<int>(type: "int", nullable: false),
|
||||
FLOW_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
CREATE_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
MODIFY_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
CREATER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
|
||||
MODIFIER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_T_SE_COURSEWEARLIBRARY_FILE", x => x.ID);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_SE_COURSEWEARLIBRARY_FILE_T_FM_ORGANIZATION_ORG_ID",
|
||||
column: x => x.ORG_ID,
|
||||
principalTable: "T_FM_ORGANIZATION",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_SE_COURSEWEARLIBRARY_FILE_T_PF_IMG_FILE_IMG_FILE_ID",
|
||||
column: x => x.IMG_FILE_ID,
|
||||
principalTable: "T_PF_IMG_FILE",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_T_SE_COURSEWEARLIBRARY_FILE_T_SE_COURSEWEARLIBRARY_COURSEWEARLIBRARY_ID",
|
||||
column: x => x.COURSEWEARLIBRARY_ID,
|
||||
principalTable: "T_SE_COURSEWEARLIBRARY",
|
||||
principalColumn: "ID",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_SE_COURSEWEARLIBRARY_DEPARTMENTID",
|
||||
table: "T_SE_COURSEWEARLIBRARY",
|
||||
column: "DEPARTMENTID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_SE_COURSEWEARLIBRARY_FILE_DB_ID",
|
||||
table: "T_SE_COURSEWEARLIBRARY",
|
||||
column: "FILE_DB_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_SE_COURSEWEARLIBRARY_ORG_ID",
|
||||
table: "T_SE_COURSEWEARLIBRARY",
|
||||
column: "ORG_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_SE_COURSEWEARLIBRARY_USER_ID",
|
||||
table: "T_SE_COURSEWEARLIBRARY",
|
||||
column: "USER_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_SE_COURSEWEARLIBRARY_DETAIL_EDU_CARD_ID",
|
||||
table: "T_SE_COURSEWEARLIBRARY_DETAIL",
|
||||
column: "EDU_CARD_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_SE_COURSEWEARLIBRARY_DETAIL_ORG_ID",
|
||||
table: "T_SE_COURSEWEARLIBRARY_DETAIL",
|
||||
column: "ORG_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_SE_COURSEWEARLIBRARY_DETAIL_TEST_ID",
|
||||
table: "T_SE_COURSEWEARLIBRARY_DETAIL",
|
||||
column: "TEST_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_SE_COURSEWEARLIBRARY_FILE_COURSEWEARLIBRARY_ID",
|
||||
table: "T_SE_COURSEWEARLIBRARY_FILE",
|
||||
column: "COURSEWEARLIBRARY_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_SE_COURSEWEARLIBRARY_FILE_IMG_FILE_ID",
|
||||
table: "T_SE_COURSEWEARLIBRARY_FILE",
|
||||
column: "IMG_FILE_ID");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_T_SE_COURSEWEARLIBRARY_FILE_ORG_ID",
|
||||
table: "T_SE_COURSEWEARLIBRARY_FILE",
|
||||
column: "ORG_ID");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_SE_COURSEWEARLIBRARY_DETAIL");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_SE_COURSEWEARLIBRARY_FILE");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "T_SE_COURSEWEARLIBRARY");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "CODE",
|
||||
table: "T_SE_NEW_USER_DETAIL",
|
||||
type: "nvarchar(10)",
|
||||
maxLength: 10,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldType: "nvarchar(30)",
|
||||
oldMaxLength: 30,
|
||||
oldNullable: true);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -71960,197 +71960,6 @@ namespace APT.Data.Migrations.Migrations
|
||||
b.ToTable("T_SE_CERTIFICATE_TYPE");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_COURSEWEARLIBRARY", b =>
|
||||
{
|
||||
b.Property<Guid>("ID")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<string>("CODE")
|
||||
.HasMaxLength(30)
|
||||
.HasColumnType("nvarchar(30)");
|
||||
|
||||
b.Property<Guid?>("CREATER_ID")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<DateTime?>("CREATE_TIME")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<Guid>("DEPARTMENTID")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<int>("ENTITY_ORG_TPYE")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<Guid?>("FILE_DB_ID")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<string>("FILE_PATH")
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("nvarchar(200)");
|
||||
|
||||
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.Property<Guid>("USER_ID")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.HasKey("ID");
|
||||
|
||||
b.HasIndex("DEPARTMENTID");
|
||||
|
||||
b.HasIndex("FILE_DB_ID");
|
||||
|
||||
b.HasIndex("ORG_ID");
|
||||
|
||||
b.HasIndex("USER_ID");
|
||||
|
||||
b.ToTable("T_SE_COURSEWEARLIBRARY");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_COURSEWEARLIBRARY_DETAIL", b =>
|
||||
{
|
||||
b.Property<Guid>("ID")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<Guid?>("CREATER_ID")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<DateTime?>("CREATE_TIME")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<Guid>("EDU_CARD_ID")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
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<int>("NUM")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<Guid?>("ORG_ID")
|
||||
.IsRequired()
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<Guid>("TEST_ID")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.HasKey("ID");
|
||||
|
||||
b.HasIndex("EDU_CARD_ID");
|
||||
|
||||
b.HasIndex("ORG_ID");
|
||||
|
||||
b.HasIndex("TEST_ID");
|
||||
|
||||
b.ToTable("T_SE_COURSEWEARLIBRARY_DETAIL");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_COURSEWEARLIBRARY_FILE", b =>
|
||||
{
|
||||
b.Property<Guid>("ID")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<Guid>("COURSEWEARLIBRARY_ID")
|
||||
.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<Guid>("IMG_FILE_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.HasKey("ID");
|
||||
|
||||
b.HasIndex("COURSEWEARLIBRARY_ID");
|
||||
|
||||
b.HasIndex("IMG_FILE_ID");
|
||||
|
||||
b.HasIndex("ORG_ID");
|
||||
|
||||
b.ToTable("T_SE_COURSEWEARLIBRARY_FILE");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_DEP_TRAIN_PLAN", b =>
|
||||
{
|
||||
b.Property<Guid>("ID")
|
||||
@ -72585,8 +72394,8 @@ namespace APT.Data.Migrations.Migrations
|
||||
.HasColumnType("uniqueidentifier");
|
||||
|
||||
b.Property<string>("CODE")
|
||||
.HasMaxLength(30)
|
||||
.HasColumnType("nvarchar(30)");
|
||||
.HasMaxLength(10)
|
||||
.HasColumnType("nvarchar(10)");
|
||||
|
||||
b.Property<Guid?>("CREATER_ID")
|
||||
.HasColumnType("uniqueidentifier");
|
||||
@ -124027,94 +123836,6 @@ namespace APT.Data.Migrations.Migrations
|
||||
b.Navigation("Nav_Org");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_COURSEWEARLIBRARY", b =>
|
||||
{
|
||||
b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_Department")
|
||||
.WithMany()
|
||||
.HasForeignKey("DEPARTMENTID")
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.IsRequired();
|
||||
|
||||
b.HasOne("APT.BaseData.Domain.Entities.T_PF_FILE_DB", "Nav_FileDB")
|
||||
.WithMany()
|
||||
.HasForeignKey("FILE_DB_ID")
|
||||
.OnDelete(DeleteBehavior.Restrict);
|
||||
|
||||
b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org")
|
||||
.WithMany()
|
||||
.HasForeignKey("ORG_ID")
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.IsRequired();
|
||||
|
||||
b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_USER", "Nav_User")
|
||||
.WithMany()
|
||||
.HasForeignKey("USER_ID")
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("Nav_Department");
|
||||
|
||||
b.Navigation("Nav_FileDB");
|
||||
|
||||
b.Navigation("Nav_Org");
|
||||
|
||||
b.Navigation("Nav_User");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_COURSEWEARLIBRARY_DETAIL", b =>
|
||||
{
|
||||
b.HasOne("APT.MS.Domain.Entities.SE.T_SE_COURSEWEARLIBRARY", "Nav_Cour")
|
||||
.WithMany("Nav_Detail")
|
||||
.HasForeignKey("EDU_CARD_ID")
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.IsRequired();
|
||||
|
||||
b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org")
|
||||
.WithMany()
|
||||
.HasForeignKey("ORG_ID")
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.IsRequired();
|
||||
|
||||
b.HasOne("APT.MS.Domain.Entities.SE.T_SE_TEST", "Nav_Test")
|
||||
.WithMany()
|
||||
.HasForeignKey("TEST_ID")
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("Nav_Cour");
|
||||
|
||||
b.Navigation("Nav_Org");
|
||||
|
||||
b.Navigation("Nav_Test");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_COURSEWEARLIBRARY_FILE", b =>
|
||||
{
|
||||
b.HasOne("APT.MS.Domain.Entities.SE.T_SE_COURSEWEARLIBRARY", "Nav_Cour")
|
||||
.WithMany("Nav_Files")
|
||||
.HasForeignKey("COURSEWEARLIBRARY_ID")
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.IsRequired();
|
||||
|
||||
b.HasOne("APT.BaseData.Domain.Entities.T_PF_IMG_FILE", "Nav_ImgFile")
|
||||
.WithMany()
|
||||
.HasForeignKey("IMG_FILE_ID")
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.IsRequired();
|
||||
|
||||
b.HasOne("APT.Infrastructure.Core.T_FM_ORGANIZATION", "Nav_Org")
|
||||
.WithMany()
|
||||
.HasForeignKey("ORG_ID")
|
||||
.OnDelete(DeleteBehavior.Restrict)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("Nav_Cour");
|
||||
|
||||
b.Navigation("Nav_ImgFile");
|
||||
|
||||
b.Navigation("Nav_Org");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_DEP_TRAIN_PLAN", b =>
|
||||
{
|
||||
b.HasOne("APT.BaseData.Domain.Entities.FM.T_FM_DEPARTMENT", "Nav_LaunchDepartment")
|
||||
@ -136603,13 +136324,6 @@ namespace APT.Data.Migrations.Migrations
|
||||
b.Navigation("Nav_Posts");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_COURSEWEARLIBRARY", b =>
|
||||
{
|
||||
b.Navigation("Nav_Detail");
|
||||
|
||||
b.Navigation("Nav_Files");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("APT.MS.Domain.Entities.SE.T_SE_DEP_TRAIN_PLAN", b =>
|
||||
{
|
||||
b.Navigation("Nav_DepTrainPlanDetail");
|
||||
|
||||
@ -10273,7 +10273,7 @@ builder.HasOne(t => t.Nav_ImgFile).WithMany().HasForeignKey(t => t.IMG_FILE_ID).
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_NewUser).WithMany(t=>t.Nav_NewUserDetail).HasForeignKey(t => t.EDU_CARD_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.Property(t => t.CODE).HasMaxLength(30);
|
||||
builder.Property(t => t.CODE).HasMaxLength(10);
|
||||
builder.HasOne(t => t.Nav_User).WithMany().HasForeignKey(t => t.USER_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.Property(t => t.ID_CARD_NUMBER).HasMaxLength(50);
|
||||
builder.HasOne(t => t.Nav_Department).WithMany().HasForeignKey(t => t.USER_DEPARTMENT_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
@ -10792,43 +10792,6 @@ builder.HasIndex("NAME").IsUnique();
|
||||
{
|
||||
base.Configure(builder);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region Coursewearlibrary
|
||||
public partial class SECoursewearlibraryMap :APTEntityBaseMap<T_SE_COURSEWEARLIBRARY>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_SE_COURSEWEARLIBRARY> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.Property(t => t.NAME).HasMaxLength(50);
|
||||
builder.Property(t => t.CODE).HasMaxLength(30);
|
||||
builder.HasOne(t => t.Nav_Department).WithMany().HasForeignKey(t => t.DEPARTMENTID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_User).WithMany().HasForeignKey(t => t.USER_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_FileDB).WithMany().HasForeignKey(t => t.FILE_DB_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.Property(t => t.FILE_PATH).HasMaxLength(200);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region CoursewearlibraryDetail
|
||||
public partial class SECoursewearlibraryDetailMap :APTEntityBaseMap<T_SE_COURSEWEARLIBRARY_DETAIL>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_SE_COURSEWEARLIBRARY_DETAIL> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_Cour).WithMany(t=>t.Nav_Detail).HasForeignKey(t => t.EDU_CARD_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_Test).WithMany().HasForeignKey(t => t.TEST_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region CoursewearlibraryFile
|
||||
public partial class SECoursewearlibraryFileMap :APTEntityBaseMap<T_SE_COURSEWEARLIBRARY_FILE>
|
||||
{
|
||||
public override void Configure(EntityTypeBuilder<T_SE_COURSEWEARLIBRARY_FILE> builder)
|
||||
{
|
||||
base.Configure(builder);
|
||||
builder.HasOne(t => t.Nav_Cour).WithMany(t=>t.Nav_Files).HasForeignKey(t => t.COURSEWEARLIBRARY_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
builder.HasOne(t => t.Nav_ImgFile).WithMany().HasForeignKey(t => t.IMG_FILE_ID).OnDelete(DeleteBehavior.Restrict);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region NewUsersTeacher
|
||||
|
||||
@ -30,7 +30,7 @@ namespace APT.MS.Domain.Entities.SE
|
||||
/// </summary>
|
||||
[Description("工号")]
|
||||
[FormFieldEdit]
|
||||
[DataFieldLength(30)]
|
||||
[DataFieldLength(10)]
|
||||
public string CODE { get; set; }
|
||||
/// <summary>
|
||||
/// 记录/考核人
|
||||
|
||||
@ -1,109 +0,0 @@
|
||||
using APT.BaseData.Domain.Entities;
|
||||
using APT.BaseData.Domain.Entities.FM;
|
||||
using APT.BaseData.Domain.Enums;
|
||||
using APT.Infrastructure.Core;
|
||||
using APT.MS.Domain.Enums;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace APT.MS.Domain.Entities.SE
|
||||
{
|
||||
/// <summary>
|
||||
/// 课件
|
||||
/// </summary>
|
||||
[Description("课件")]
|
||||
public class T_SE_COURSEWEARLIBRARY : MesEntityBase
|
||||
{
|
||||
/// <summary>
|
||||
/// 课件名称
|
||||
/// </summary>
|
||||
[Description("课件名称")]
|
||||
[DataFieldLength(50)]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
public string NAME { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 课件编号
|
||||
/// </summary>
|
||||
[Description("课件编号")]
|
||||
[DataFieldLength(30)]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
[CodeRule((int)PFCodeRuleType.系统参数编码)]
|
||||
public string CODE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 上传组织
|
||||
/// </summary>
|
||||
[Description("上传组织")]
|
||||
[FormFieldTable]
|
||||
[FormFieldQuery]
|
||||
[DataFieldForeignKey("Nav_Department")]
|
||||
public Guid DEPARTMENTID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 上传组织
|
||||
/// </summary>
|
||||
[Description("上传组织")]
|
||||
public T_FM_DEPARTMENT Nav_Department { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 上传人
|
||||
/// </summary>
|
||||
[FormFieldTable]
|
||||
[FormFieldQuery]
|
||||
[DataFieldForeignKey("Nav_User")]
|
||||
[Description("上传人")]
|
||||
public Guid USER_ID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 上传人
|
||||
/// </summary>
|
||||
[Description("上传人")]
|
||||
public T_FM_USER Nav_User { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 视频名称
|
||||
/// </summary>
|
||||
[Description("视频名称")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
[DataFieldForeignKey("Nav_FileDB")]
|
||||
public Guid? FILE_DB_ID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 视频名称
|
||||
/// </summary>
|
||||
[Description("视频名称")]
|
||||
public T_PF_FILE_DB Nav_FileDB { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 附件
|
||||
/// </summary>
|
||||
[Description("附件")]
|
||||
[FormFieldEdit]
|
||||
public List<T_SE_COURSEWEARLIBRARY_FILE> Nav_Files { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 视频、查看附件 路径 冗余字段
|
||||
/// </summary>
|
||||
[Description("文件路径")]
|
||||
[DataFieldLength(200)]
|
||||
public string FILE_PATH { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 题库试题
|
||||
/// </summary>
|
||||
[Description("题库试题")]
|
||||
[FormFieldEdit]
|
||||
public ICollection<T_SE_COURSEWEARLIBRARY_DETAIL> Nav_Detail { get; set; }
|
||||
}
|
||||
}
|
||||
@ -1,55 +0,0 @@
|
||||
using APT.BaseData.Domain.Entities;
|
||||
using APT.BaseData.Domain.Entities.FM;
|
||||
using APT.BaseData.Domain.Enums;
|
||||
using APT.Infrastructure.Core;
|
||||
using APT.MS.Domain.Enums;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace APT.MS.Domain.Entities.SE
|
||||
{
|
||||
/// <summary>
|
||||
/// 课件试题
|
||||
/// </summary>
|
||||
[Description("课件试题")]
|
||||
public class T_SE_COURSEWEARLIBRARY_DETAIL : MesEntityBase
|
||||
{
|
||||
/// <summary>
|
||||
/// 课件
|
||||
/// </summary>
|
||||
[Description("课件")]
|
||||
[DataFieldForeignKey("Nav_Cour", "Nav_Detail")]
|
||||
public Guid EDU_CARD_ID { get; set; }
|
||||
/// <summary>
|
||||
/// 课件
|
||||
/// </summary>
|
||||
[Description("课件")]
|
||||
public T_SE_COURSEWEARLIBRARY Nav_Cour { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 序号
|
||||
/// </summary>
|
||||
[Description("序号")]
|
||||
[FormFieldTable]
|
||||
[FormFieldEdit]
|
||||
[FormFieldQuery]
|
||||
public int NUM { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 试题
|
||||
/// </summary>
|
||||
[Description("试题")]
|
||||
[DataFieldForeignKey("Nav_Test")]
|
||||
public Guid TEST_ID { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 试题
|
||||
/// </summary>
|
||||
[Description("试题")]
|
||||
public T_SE_TEST Nav_Test { get; set; }
|
||||
}
|
||||
}
|
||||
@ -1,45 +0,0 @@
|
||||
using APT.BaseData.Domain.Entities;
|
||||
using APT.BaseData.Domain.Entities.FM;
|
||||
using APT.BaseData.Domain.Enums;
|
||||
using APT.Infrastructure.Core;
|
||||
using APT.MS.Domain.Enums;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace APT.MS.Domain.Entities.SE
|
||||
{
|
||||
/// <summary>
|
||||
/// 课件附件
|
||||
/// </summary>
|
||||
[Description("课件附件")]
|
||||
public class T_SE_COURSEWEARLIBRARY_FILE : MesEntityBase
|
||||
{
|
||||
/// <summary>
|
||||
/// 课件
|
||||
/// </summary>
|
||||
[Description("课件")]
|
||||
[DataFieldForeignKey("Nav_Cour", "Nav_Files")]
|
||||
public Guid COURSEWEARLIBRARY_ID { get; set; }
|
||||
/// <summary>
|
||||
/// 课件
|
||||
/// </summary>
|
||||
[Description("课件")]
|
||||
public T_SE_COURSEWEARLIBRARY Nav_Cour { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 文件ID
|
||||
/// </summary>
|
||||
[Description("文件ID")]
|
||||
[DataFieldForeignKey("Nav_ImgFile")]
|
||||
public Guid IMG_FILE_ID { get; set; }
|
||||
/// <summary>
|
||||
/// 导航属性:文件
|
||||
/// </summary>
|
||||
[Description("导航属性:文件")]
|
||||
public T_PF_IMG_FILE Nav_ImgFile { get; set; }
|
||||
}
|
||||
}
|
||||
@ -2,6 +2,12 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// T4模板文件:基础接口类
|
||||
// 此代码由T4模板自动生成
|
||||
@ -16,6 +22,7 @@ using APT.BaseData.Domain.ApiModel.PF;
|
||||
namespace APT.BD.WebApi.Controllers.Api
|
||||
{
|
||||
using APT.BaseData.Domain.Entities.BD;
|
||||
|
||||
#region Hmi-HMI资源表维护
|
||||
/// <summary>
|
||||
/// HMI资源表维护
|
||||
@ -123,8 +130,10 @@ namespace APT.BD.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Picture-图片资源
|
||||
/// <summary>
|
||||
/// 图片资源
|
||||
@ -232,8 +241,10 @@ namespace APT.BD.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region PictureFile-资源图片文件
|
||||
/// <summary>
|
||||
/// 资源图片文件
|
||||
@ -341,8 +352,10 @@ namespace APT.BD.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Place-区域表
|
||||
/// <summary>
|
||||
/// 区域表
|
||||
@ -449,6 +462,7 @@ namespace APT.BD.WebApi.Controllers.Api
|
||||
{
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获得树形实体数据
|
||||
/// </summary>
|
||||
@ -460,8 +474,10 @@ namespace APT.BD.WebApi.Controllers.Api
|
||||
return WitTreeOrderEntities(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region ServerInfo-服务器信息表
|
||||
/// <summary>
|
||||
/// 服务器信息表
|
||||
@ -569,8 +585,10 @@ namespace APT.BD.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region SystemInfo-系统信息表
|
||||
/// <summary>
|
||||
/// 系统信息表
|
||||
@ -678,8 +696,10 @@ namespace APT.BD.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region WordTemplate-WORD模板维护
|
||||
/// <summary>
|
||||
/// WORD模板维护
|
||||
@ -787,6 +807,8 @@ namespace APT.BD.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
@ -2,6 +2,12 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// T4模板文件:基础接口类
|
||||
// 此代码由T4模板自动生成
|
||||
@ -16,6 +22,7 @@ using APT.BaseData.Domain.ApiModel.PF;
|
||||
namespace APT.BS.WebApi.Controllers.Api
|
||||
{
|
||||
using APT.MS.Domain.Entities.BS;
|
||||
|
||||
#region CheckContent-检查内容表
|
||||
/// <summary>
|
||||
/// 检查内容表
|
||||
@ -123,8 +130,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region CheckContents-检查内容
|
||||
/// <summary>
|
||||
/// 检查内容
|
||||
@ -232,8 +241,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region CheckContentCheckType-检查类型
|
||||
/// <summary>
|
||||
/// 检查类型
|
||||
@ -341,8 +352,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region CheckContentCheckTypeLevel-检查内容检查类型子表(关联层级)
|
||||
/// <summary>
|
||||
/// 检查内容检查类型子表(关联层级)
|
||||
@ -450,8 +463,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region CheckContentHmRiskArea-检查区域
|
||||
/// <summary>
|
||||
/// 检查区域
|
||||
@ -559,8 +574,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region CheckMain-安全检查库
|
||||
/// <summary>
|
||||
/// 安全检查库
|
||||
@ -668,8 +685,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region CheckContentMainDepartment-安全检查库责任部门
|
||||
/// <summary>
|
||||
/// 安全检查库责任部门
|
||||
@ -777,8 +796,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region CheckContentQuestion-检查问题
|
||||
/// <summary>
|
||||
/// 检查问题
|
||||
@ -886,8 +907,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region CheckMainLaw-检查库法规
|
||||
/// <summary>
|
||||
/// 检查库法规
|
||||
@ -995,8 +1018,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region CheckProject-检查项目
|
||||
/// <summary>
|
||||
/// 检查项目
|
||||
@ -1104,8 +1129,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region CheckProjectCategory-检查项目分类表
|
||||
/// <summary>
|
||||
/// 检查项目分类表
|
||||
@ -1213,8 +1240,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region CheckProjectCategoryChecktype-检查项目分类_检查类型
|
||||
/// <summary>
|
||||
/// 检查项目分类_检查类型
|
||||
@ -1322,8 +1351,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region CheckProjectCategoryObject-检查项目分类_检查区域
|
||||
/// <summary>
|
||||
/// 检查项目分类_检查区域
|
||||
@ -1431,8 +1462,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region CheckProjectProjectCategory-检查项目分类
|
||||
/// <summary>
|
||||
/// 检查项目分类
|
||||
@ -1540,8 +1573,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region CheckQuestion-检查问题
|
||||
/// <summary>
|
||||
/// 检查问题
|
||||
@ -1649,8 +1684,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region CheckType-检查类型表
|
||||
/// <summary>
|
||||
/// 检查类型表
|
||||
@ -1757,6 +1794,7 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
{
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获得树形实体数据
|
||||
/// </summary>
|
||||
@ -1768,8 +1806,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitTreeOrderEntities(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region CheckTypeLevel-检查层级
|
||||
/// <summary>
|
||||
/// 检查层级
|
||||
@ -1877,8 +1917,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region CheckTypeMinetype-检查类型生产单元
|
||||
/// <summary>
|
||||
/// 检查类型生产单元
|
||||
@ -1986,8 +2028,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region DepartmentAreaobject-部门范围
|
||||
/// <summary>
|
||||
/// 部门范围
|
||||
@ -2095,8 +2139,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region OperateLog-操作日志
|
||||
/// <summary>
|
||||
/// 操作日志
|
||||
@ -2204,8 +2250,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region PlanSet-制定任务
|
||||
/// <summary>
|
||||
/// 制定任务
|
||||
@ -2313,8 +2361,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region PlanSetArea-制定任务区域
|
||||
/// <summary>
|
||||
/// 制定任务区域
|
||||
@ -2422,8 +2472,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region PlanSetDepartmentOut-制定任务排除组织
|
||||
/// <summary>
|
||||
/// 制定任务排除组织
|
||||
@ -2531,8 +2583,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region PlanSetDepObject-制定任务部门触发范围
|
||||
/// <summary>
|
||||
/// 制定任务部门触发范围
|
||||
@ -2640,8 +2694,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region PlanSetObject-制定任务触发范围
|
||||
/// <summary>
|
||||
/// 制定任务触发范围
|
||||
@ -2749,8 +2805,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region RiskCategory-隐患类别
|
||||
/// <summary>
|
||||
/// 隐患类别
|
||||
@ -2858,8 +2916,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region RiskLevelDelayDays-隐患等级最长延期整改天数
|
||||
/// <summary>
|
||||
/// 隐患等级最长延期整改天数
|
||||
@ -2967,8 +3027,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region RiskReason-隐患原因表
|
||||
/// <summary>
|
||||
/// 隐患原因表
|
||||
@ -3076,8 +3138,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region RiskSubmit-隐患上报表
|
||||
/// <summary>
|
||||
/// 隐患上报表
|
||||
@ -3185,8 +3249,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region RiskSubmitContent-隐患上报明细
|
||||
/// <summary>
|
||||
/// 隐患上报明细
|
||||
@ -3294,8 +3360,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region RiskSubmitContentBack-隐患上报明细退回
|
||||
/// <summary>
|
||||
/// 隐患上报明细退回
|
||||
@ -3403,8 +3471,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region RiskSubmitContentDeal-隐患整改记录
|
||||
/// <summary>
|
||||
/// 隐患整改记录
|
||||
@ -3512,8 +3582,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region RiskSubmitContentDealAfterFile-检查任务附件表
|
||||
/// <summary>
|
||||
/// 检查任务附件表
|
||||
@ -3621,8 +3693,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region RiskSubmitContentDealFile-检查任务附件表
|
||||
/// <summary>
|
||||
/// 检查任务附件表
|
||||
@ -3730,8 +3804,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region RiskSubmitContentDealUserchecksign-隐患整改验收人签名
|
||||
/// <summary>
|
||||
/// 隐患整改验收人签名
|
||||
@ -3839,8 +3915,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region RiskSubmitContentDealUsersign-隐患整改责任人签名
|
||||
/// <summary>
|
||||
/// 隐患整改责任人签名
|
||||
@ -3948,8 +4026,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region RiskSubmitContentFile-检查任务明细附件表
|
||||
/// <summary>
|
||||
/// 检查任务明细附件表
|
||||
@ -4057,8 +4137,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region RiskSubmitContentReason-隐患上报明细原因
|
||||
/// <summary>
|
||||
/// 隐患上报明细原因
|
||||
@ -4166,8 +4248,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region RiskSubmitContentTemp-隐患上报详情待入库
|
||||
/// <summary>
|
||||
/// 隐患上报详情待入库
|
||||
@ -4275,8 +4359,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region RiskSubmitDelayApply-延期整改申请
|
||||
/// <summary>
|
||||
/// 延期整改申请
|
||||
@ -4384,8 +4470,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region RiskSubmitDelayApplyDetail-延期整改申请详情
|
||||
/// <summary>
|
||||
/// 延期整改申请详情
|
||||
@ -4493,8 +4581,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region RiskSubmitFile-检查任务附件表
|
||||
/// <summary>
|
||||
/// 检查任务附件表
|
||||
@ -4602,8 +4692,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region RiskSubmitNotice-隐患通知
|
||||
/// <summary>
|
||||
/// 隐患通知
|
||||
@ -4711,8 +4803,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region RiskSubmitNoticePerson-隐患通知
|
||||
/// <summary>
|
||||
/// 隐患通知
|
||||
@ -4820,8 +4914,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region RiskTpm-TPM对接数据
|
||||
/// <summary>
|
||||
/// TPM对接数据
|
||||
@ -4929,8 +5025,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region SafeCheck-安全检查
|
||||
/// <summary>
|
||||
/// 安全检查
|
||||
@ -5038,8 +5136,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region SafeCheckDetail-检查明细
|
||||
/// <summary>
|
||||
/// 检查明细
|
||||
@ -5147,8 +5247,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region SafeCheckDetailFile-检查任务明细附件表
|
||||
/// <summary>
|
||||
/// 检查任务明细附件表
|
||||
@ -5256,8 +5358,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region SafeCheckDetailLaw-检查依据
|
||||
/// <summary>
|
||||
/// 检查依据
|
||||
@ -5365,8 +5469,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region SafeCheckDetailQuestion-检查明细问题
|
||||
/// <summary>
|
||||
/// 检查明细问题
|
||||
@ -5474,8 +5580,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region SafeCheckDetailReason-检查明细隐患原因
|
||||
/// <summary>
|
||||
/// 检查明细隐患原因
|
||||
@ -5583,8 +5691,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region SafeCheckDetailReject-检查明细退回
|
||||
/// <summary>
|
||||
/// 检查明细退回
|
||||
@ -5692,8 +5802,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region SafeCheckDetailRejectFile-检查明细退回附件
|
||||
/// <summary>
|
||||
/// 检查明细退回附件
|
||||
@ -5801,8 +5913,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region SafeCheckDetailUser-检查明细人员
|
||||
/// <summary>
|
||||
/// 检查明细人员
|
||||
@ -5910,8 +6024,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region SafeCheckFile-安全检查文件
|
||||
/// <summary>
|
||||
/// 安全检查文件
|
||||
@ -6019,8 +6135,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region SafeCheckProject-安全检查文件
|
||||
/// <summary>
|
||||
/// 安全检查文件
|
||||
@ -6128,8 +6246,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region SafeCheckProjectCategory-安全检查文件
|
||||
/// <summary>
|
||||
/// 安全检查文件
|
||||
@ -6237,8 +6357,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region SafeCheckRecord-检查记录确认
|
||||
/// <summary>
|
||||
/// 检查记录确认
|
||||
@ -6346,8 +6468,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region SafeCheckRecordDetail-检查记录确认明细
|
||||
/// <summary>
|
||||
/// 检查记录确认明细
|
||||
@ -6455,8 +6579,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region SafeCheckRiskArea-检查区域
|
||||
/// <summary>
|
||||
/// 检查区域
|
||||
@ -6564,8 +6690,10 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region SafeCheckUsersign-检查签名
|
||||
/// <summary>
|
||||
/// 检查签名
|
||||
@ -6673,6 +6801,8 @@ namespace APT.BS.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
@ -2,6 +2,12 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// T4模板文件:基础接口类
|
||||
// 此代码由T4模板自动生成
|
||||
@ -17,6 +23,7 @@ namespace APT.FM.WebApi.Controllers.Api
|
||||
{
|
||||
using APT.BaseData.Domain.Entities.FM;
|
||||
using APT.BaseData.Domain.Entities;
|
||||
|
||||
#region Api-API
|
||||
/// <summary>
|
||||
/// API
|
||||
@ -124,8 +131,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region BaseAdd-企业位置信息
|
||||
/// <summary>
|
||||
/// 企业位置信息
|
||||
@ -233,8 +242,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region BaseEnergy-企业能耗配置信息
|
||||
/// <summary>
|
||||
/// 企业能耗配置信息
|
||||
@ -342,8 +353,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region BaseInfo-企业基本信息
|
||||
/// <summary>
|
||||
/// 企业基本信息
|
||||
@ -451,8 +464,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region DepartmentCalendarConfig-部门日历配置表
|
||||
/// <summary>
|
||||
/// 部门日历配置表
|
||||
@ -560,8 +575,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region DepartmentCalendarConfigDetail-部门日历配置明细表
|
||||
/// <summary>
|
||||
/// 部门日历配置明细表
|
||||
@ -669,8 +686,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region DepartmentCalendarConfigTeam-部门日历配置班组表
|
||||
/// <summary>
|
||||
/// 部门日历配置班组表
|
||||
@ -778,8 +797,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region DepartmentCompletion-XX班完成情况统计
|
||||
/// <summary>
|
||||
/// XX班完成情况统计
|
||||
@ -887,8 +908,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region DepartmentCompletionSort-班组完成情况前十
|
||||
/// <summary>
|
||||
/// 班组完成情况前十
|
||||
@ -996,8 +1019,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region DepartmentPost-部门岗位
|
||||
/// <summary>
|
||||
/// 部门岗位
|
||||
@ -1105,8 +1130,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region DepartmentPostUser-部门岗位人员
|
||||
/// <summary>
|
||||
/// 部门岗位人员
|
||||
@ -1214,8 +1241,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region DepartmentProductionUnit-生产单元
|
||||
/// <summary>
|
||||
/// 生产单元
|
||||
@ -1323,8 +1352,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region DepartmentSafeuser-安全员表
|
||||
/// <summary>
|
||||
/// 安全员表
|
||||
@ -1432,8 +1463,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region DepartmentScheduling-部门排班表
|
||||
/// <summary>
|
||||
/// 部门排班表
|
||||
@ -1541,8 +1574,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region DepartmentSchedulingDetail-排班信息人员明细表
|
||||
/// <summary>
|
||||
/// 排班信息人员明细表
|
||||
@ -1650,8 +1685,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region DepartmentUser-部门人员表
|
||||
/// <summary>
|
||||
/// 部门人员表
|
||||
@ -1759,8 +1796,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Enum-枚举管理
|
||||
/// <summary>
|
||||
/// 枚举管理
|
||||
@ -1868,8 +1907,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Enums-枚举表单
|
||||
/// <summary>
|
||||
/// 枚举表单
|
||||
@ -1977,8 +2018,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region EnumItem-枚举项
|
||||
/// <summary>
|
||||
/// 枚举项
|
||||
@ -2086,8 +2129,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region EnumType-枚举类别
|
||||
/// <summary>
|
||||
/// 枚举类别
|
||||
@ -2195,8 +2240,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region HiddenDangerRectification-隐患整改完成情况统计
|
||||
/// <summary>
|
||||
/// 隐患整改完成情况统计
|
||||
@ -2304,8 +2351,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region JobActivityCompletion-班组作业完成率统计
|
||||
/// <summary>
|
||||
/// 班组作业完成率统计
|
||||
@ -2413,8 +2462,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region MessageTemplate-短信模板表
|
||||
/// <summary>
|
||||
/// 短信模板表
|
||||
@ -2522,8 +2573,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Monitoring-服务器监听表
|
||||
/// <summary>
|
||||
/// 服务器监听表
|
||||
@ -2631,8 +2684,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Notice-信息通知表
|
||||
/// <summary>
|
||||
/// 信息通知表
|
||||
@ -2740,8 +2795,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region NotificationTask-娑堟伅琛?
|
||||
/// <summary>
|
||||
/// 娑堟伅琛?
|
||||
@ -2849,8 +2906,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region NotificationTaskTimeSet-寰呭姙琛ㄦ椂闂撮厤缃?
|
||||
/// <summary>
|
||||
/// 寰呭姙琛ㄦ椂闂撮厤缃?
|
||||
@ -2958,8 +3017,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region ParamSet-参数设置表
|
||||
/// <summary>
|
||||
/// 参数设置表
|
||||
@ -3067,8 +3128,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region ParamSetDepartment-组织关联信息
|
||||
/// <summary>
|
||||
/// 组织关联信息
|
||||
@ -3176,8 +3239,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Person-人员信息
|
||||
/// <summary>
|
||||
/// 人员信息
|
||||
@ -3285,8 +3350,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region PersonCertificateFile-证书
|
||||
/// <summary>
|
||||
/// 证书
|
||||
@ -3394,8 +3461,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region PersonEducationFile-学历证
|
||||
/// <summary>
|
||||
/// 学历证
|
||||
@ -3503,8 +3572,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region PersonIdcardFile-身份证
|
||||
/// <summary>
|
||||
/// 身份证
|
||||
@ -3612,8 +3683,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region PersonSkills-技能
|
||||
/// <summary>
|
||||
/// 技能
|
||||
@ -3721,8 +3794,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region PersonWork-工作经历
|
||||
/// <summary>
|
||||
/// 工作经历
|
||||
@ -3830,8 +3905,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region RiskLevelProportion-风险等级占比
|
||||
/// <summary>
|
||||
/// 风险等级占比
|
||||
@ -3939,8 +4016,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region RiskTypeProportion-风险类别占比
|
||||
/// <summary>
|
||||
/// 风险类别占比
|
||||
@ -4048,8 +4127,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region RoleDepartment-部门权限
|
||||
/// <summary>
|
||||
/// 部门权限
|
||||
@ -4157,8 +4238,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Snapshot-随手拍
|
||||
/// <summary>
|
||||
/// 随手拍
|
||||
@ -4266,8 +4349,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region SnapshotFile-随手拍图片
|
||||
/// <summary>
|
||||
/// 随手拍图片
|
||||
@ -4375,8 +4460,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region SyncLimit-数据同步次数限制
|
||||
/// <summary>
|
||||
/// 数据同步次数限制
|
||||
@ -4484,8 +4571,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region SyncLog-跑批日志表
|
||||
/// <summary>
|
||||
/// 跑批日志表
|
||||
@ -4593,8 +4682,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region SyncLogDetail-跑批日志明细表
|
||||
/// <summary>
|
||||
/// 跑批日志明细表
|
||||
@ -4702,8 +4793,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region SyncUserRule-用户数据同步例外配置
|
||||
/// <summary>
|
||||
/// 用户数据同步例外配置
|
||||
@ -4811,8 +4904,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Team-班组表
|
||||
/// <summary>
|
||||
/// 班组表
|
||||
@ -4920,8 +5015,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region TeamPerson-班组人员关联信息
|
||||
/// <summary>
|
||||
/// 班组人员关联信息
|
||||
@ -5029,8 +5126,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region UserDepartment-用户部门关联表
|
||||
/// <summary>
|
||||
/// 用户部门关联表
|
||||
@ -5138,8 +5237,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region UserPost-宀椾綅鍒楄〃
|
||||
/// <summary>
|
||||
/// 宀椾綅鍒楄〃
|
||||
@ -5247,8 +5348,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region UserProductionUnit-生产单元
|
||||
/// <summary>
|
||||
/// 生产单元
|
||||
@ -5356,8 +5459,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region UserProductionUnitSet-生产单元
|
||||
/// <summary>
|
||||
/// 生产单元
|
||||
@ -5465,8 +5570,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region UserSignFile-签名照片
|
||||
/// <summary>
|
||||
/// 签名照片
|
||||
@ -5574,8 +5681,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region UserTest-测试多选
|
||||
/// <summary>
|
||||
/// 测试多选
|
||||
@ -5683,8 +5792,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region UserVacationSet-人员休假设置
|
||||
/// <summary>
|
||||
/// 人员休假设置
|
||||
@ -5792,8 +5903,10 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region WorkTicketCompletion-关键许可工作票完成情况统计
|
||||
/// <summary>
|
||||
/// 关键许可工作票完成情况统计
|
||||
@ -5901,6 +6014,8 @@ using APT.BaseData.Domain.Entities;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -2,6 +2,12 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// T4模板文件:基础接口类
|
||||
// 此代码由T4模板自动生成
|
||||
@ -16,6 +22,7 @@ using APT.BaseData.Domain.ApiModel.PF;
|
||||
namespace APT.LG.WebApi.Controllers.Api
|
||||
{
|
||||
using APT.BaseData.Domain.Entities.LG;
|
||||
|
||||
#region Oprate-表单操作日志表
|
||||
/// <summary>
|
||||
/// 表单操作日志表
|
||||
@ -123,6 +130,8 @@ namespace APT.LG.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
@ -2,6 +2,12 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// T4模板文件:基础接口类
|
||||
// 此代码由T4模板自动生成
|
||||
@ -16,6 +22,7 @@ using APT.BaseData.Domain.ApiModel.PF;
|
||||
namespace APT.NW.WebApi.Controllers.Api
|
||||
{
|
||||
using APT.BaseData.Domain.Entities.NW;
|
||||
|
||||
#region Enterprise-子企业表
|
||||
/// <summary>
|
||||
/// 子企业表
|
||||
@ -122,6 +129,7 @@ namespace APT.NW.WebApi.Controllers.Api
|
||||
{
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获得树形实体数据
|
||||
/// </summary>
|
||||
@ -133,8 +141,10 @@ namespace APT.NW.WebApi.Controllers.Api
|
||||
return WitTreeOrderEntities(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region RoleDataPerm-子企业数据权限表
|
||||
/// <summary>
|
||||
/// 子企业数据权限表
|
||||
@ -242,8 +252,10 @@ namespace APT.NW.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region RoleMenu-子企业权限表
|
||||
/// <summary>
|
||||
/// 子企业权限表
|
||||
@ -351,6 +363,8 @@ namespace APT.NW.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
@ -2,6 +2,12 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// T4模板文件:基础接口类
|
||||
// 此代码由T4模板自动生成
|
||||
@ -16,6 +22,7 @@ using APT.BaseData.Domain.ApiModel.PF;
|
||||
namespace APT.OP.WebApi.Controllers.Api
|
||||
{
|
||||
using APT.BaseData.Domain.Entities.OP;
|
||||
|
||||
#region Alluser-用户表(租户平台)
|
||||
/// <summary>
|
||||
/// 用户表(租户平台)
|
||||
@ -123,8 +130,10 @@ namespace APT.OP.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region BillingRule-计费规则表
|
||||
/// <summary>
|
||||
/// 计费规则表
|
||||
@ -232,8 +241,10 @@ namespace APT.OP.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region BillingRuleVersion-计费规则子表
|
||||
/// <summary>
|
||||
/// 计费规则子表
|
||||
@ -341,8 +352,10 @@ namespace APT.OP.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region ChargeTimeSet-充电时长配置
|
||||
/// <summary>
|
||||
/// 充电时长配置
|
||||
@ -450,8 +463,10 @@ namespace APT.OP.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Client-客户表
|
||||
/// <summary>
|
||||
/// 客户表
|
||||
@ -559,8 +574,10 @@ namespace APT.OP.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region ClinetOpenid-客户表OpenId
|
||||
/// <summary>
|
||||
/// 客户表OpenId
|
||||
@ -668,8 +685,10 @@ namespace APT.OP.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region CommonQuestion-常见问题
|
||||
/// <summary>
|
||||
/// 常见问题
|
||||
@ -777,8 +796,10 @@ namespace APT.OP.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region FileFirmware-充电桩固件表
|
||||
/// <summary>
|
||||
/// 充电桩固件表
|
||||
@ -886,8 +907,10 @@ namespace APT.OP.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Member-会员表
|
||||
/// <summary>
|
||||
/// 会员表
|
||||
@ -995,8 +1018,10 @@ namespace APT.OP.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Menu-菜单表(租户平台)
|
||||
/// <summary>
|
||||
/// 菜单表(租户平台)
|
||||
@ -1103,6 +1128,7 @@ namespace APT.OP.WebApi.Controllers.Api
|
||||
{
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获得树形实体数据
|
||||
/// </summary>
|
||||
@ -1114,8 +1140,10 @@ namespace APT.OP.WebApi.Controllers.Api
|
||||
return WitTreeOrderEntities(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Notice-公告表
|
||||
/// <summary>
|
||||
/// 公告表
|
||||
@ -1223,8 +1251,10 @@ namespace APT.OP.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region NoticeDetail-公告内容
|
||||
/// <summary>
|
||||
/// 公告内容
|
||||
@ -1332,8 +1362,10 @@ namespace APT.OP.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region PeakValleyConfig-峰谷配置表
|
||||
/// <summary>
|
||||
/// 峰谷配置表
|
||||
@ -1441,8 +1473,10 @@ namespace APT.OP.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region RechargeCard-充值卡
|
||||
/// <summary>
|
||||
/// 充值卡
|
||||
@ -1550,8 +1584,10 @@ namespace APT.OP.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region RechargeOrder-充值订单
|
||||
/// <summary>
|
||||
/// 充值订单
|
||||
@ -1659,8 +1695,10 @@ namespace APT.OP.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region RechargeSetting-充值金额配置
|
||||
/// <summary>
|
||||
/// 充值金额配置
|
||||
@ -1768,8 +1806,10 @@ namespace APT.OP.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region RfidCard-RFID卡
|
||||
/// <summary>
|
||||
/// RFID卡
|
||||
@ -1877,8 +1917,10 @@ namespace APT.OP.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region RoleMenu-租户权限表
|
||||
/// <summary>
|
||||
/// 租户权限表
|
||||
@ -1986,8 +2028,10 @@ namespace APT.OP.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Tenant-租户表
|
||||
/// <summary>
|
||||
/// 租户表
|
||||
@ -2095,8 +2139,10 @@ namespace APT.OP.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region TenantDbConn-租户数据库表
|
||||
/// <summary>
|
||||
/// 租户数据库表
|
||||
@ -2204,8 +2250,10 @@ namespace APT.OP.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region TenantDomain-租户域名表
|
||||
/// <summary>
|
||||
/// 租户域名表
|
||||
@ -2313,8 +2361,10 @@ namespace APT.OP.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region TenantExpiration-租户租期表
|
||||
/// <summary>
|
||||
/// 租户租期表
|
||||
@ -2422,8 +2472,10 @@ namespace APT.OP.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region User-用户表(租户平台)
|
||||
/// <summary>
|
||||
/// 用户表(租户平台)
|
||||
@ -2531,8 +2583,10 @@ namespace APT.OP.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Version-版本升级表
|
||||
/// <summary>
|
||||
/// 版本升级表
|
||||
@ -2640,8 +2694,10 @@ namespace APT.OP.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region VersionMenu-菜单版本升级表
|
||||
/// <summary>
|
||||
/// 菜单版本升级表
|
||||
@ -2749,8 +2805,10 @@ namespace APT.OP.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region VersionTenant-租户版本升级表
|
||||
/// <summary>
|
||||
/// 租户版本升级表
|
||||
@ -2858,6 +2916,8 @@ namespace APT.OP.WebApi.Controllers.Api
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
@ -2,6 +2,12 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// T4模板文件:基础接口类
|
||||
// 此代码由T4模板自动生成
|
||||
@ -19,6 +25,7 @@ namespace APT.PF.WebApi.Controllers.Api
|
||||
using APT.BaseData.Domain.Entities;
|
||||
using APT.BaseData.Domain.Entities.PF;
|
||||
using APT.BaseData.Domain.Entities.T4;
|
||||
|
||||
#region ApprovalRole-审批角色
|
||||
/// <summary>
|
||||
/// 审批角色
|
||||
@ -126,8 +133,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Approve-审批流主表
|
||||
/// <summary>
|
||||
/// 审批流主表
|
||||
@ -235,8 +244,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region ApproveDetail-审批流子表
|
||||
/// <summary>
|
||||
/// 审批流子表
|
||||
@ -344,8 +355,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region ApproveOperationRole-操作角色
|
||||
/// <summary>
|
||||
/// 操作角色
|
||||
@ -453,8 +466,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region ApproveRejectConfig-审批驳回配置表
|
||||
/// <summary>
|
||||
/// 审批驳回配置表
|
||||
@ -562,8 +577,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region ApproveRoleDepartment-分管部门
|
||||
/// <summary>
|
||||
/// 分管部门
|
||||
@ -671,8 +688,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region ApproveTemp-审批流模板主表
|
||||
/// <summary>
|
||||
/// 审批流模板主表
|
||||
@ -780,8 +799,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region ApproveTempDetail-审批流模板子表
|
||||
/// <summary>
|
||||
/// 审批流模板子表
|
||||
@ -889,8 +910,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region AppVersion-App版本发布
|
||||
/// <summary>
|
||||
/// App版本发布
|
||||
@ -998,8 +1021,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region AppVersionFile-App包文件
|
||||
/// <summary>
|
||||
/// App包文件
|
||||
@ -1107,8 +1132,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region ClientScopes-资源表
|
||||
/// <summary>
|
||||
/// 资源表
|
||||
@ -1216,8 +1243,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region CodeRuleRunLog-编码规则跑批表
|
||||
/// <summary>
|
||||
/// 编码规则跑批表
|
||||
@ -1325,8 +1354,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region ComplaintLog-转办记录表
|
||||
/// <summary>
|
||||
/// 转办记录表
|
||||
@ -1434,8 +1465,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region DataChannel-数据通道
|
||||
/// <summary>
|
||||
/// 数据通道
|
||||
@ -1543,8 +1576,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region DataFrequency-采集频率
|
||||
/// <summary>
|
||||
/// 采集频率
|
||||
@ -1652,8 +1687,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Fddeback-意见反馈
|
||||
/// <summary>
|
||||
/// 意见反馈
|
||||
@ -1761,8 +1798,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region FddebackFile-意见反馈附件
|
||||
/// <summary>
|
||||
/// 意见反馈附件
|
||||
@ -1870,8 +1909,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region FileDb-
|
||||
/// <summary>
|
||||
///
|
||||
@ -1979,8 +2020,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region FileDbFile-
|
||||
/// <summary>
|
||||
///
|
||||
@ -2088,8 +2131,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region FileType-
|
||||
/// <summary>
|
||||
///
|
||||
@ -2197,8 +2242,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region FormHomeChart-首页:图标区域
|
||||
/// <summary>
|
||||
/// 首页:图标区域
|
||||
@ -2306,8 +2353,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region FormHomeHmi-首页:HMI区域
|
||||
/// <summary>
|
||||
/// 首页:HMI区域
|
||||
@ -2415,8 +2464,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region FormHomeRanking-首页:排名区域
|
||||
/// <summary>
|
||||
/// 首页:排名区域
|
||||
@ -2524,8 +2575,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region FormHomeStatistic-首页:统计区域
|
||||
/// <summary>
|
||||
/// 首页:统计区域
|
||||
@ -2633,8 +2686,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region FormRelation-关联表单配置
|
||||
/// <summary>
|
||||
/// 关联表单配置
|
||||
@ -2742,8 +2797,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region HomeTitle-首页方针
|
||||
/// <summary>
|
||||
/// 首页方针
|
||||
@ -2851,8 +2908,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region MqttConfig-MQTT配置表
|
||||
/// <summary>
|
||||
/// MQTT配置表
|
||||
@ -2960,8 +3019,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region MqttConfigTheme-
|
||||
/// <summary>
|
||||
///
|
||||
@ -3069,8 +3130,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Notice-通知
|
||||
/// <summary>
|
||||
/// 通知
|
||||
@ -3178,8 +3241,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region NoticeFile-
|
||||
/// <summary>
|
||||
///
|
||||
@ -3287,8 +3352,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region PicFilter-图片条件主表
|
||||
/// <summary>
|
||||
/// 图片条件主表
|
||||
@ -3396,8 +3463,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region PicFilterDetail-图片条件子表
|
||||
/// <summary>
|
||||
/// 图片条件子表
|
||||
@ -3505,8 +3574,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region QuestionFeedback-问题反馈表
|
||||
/// <summary>
|
||||
/// 问题反馈表
|
||||
@ -3614,8 +3685,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region QuestionFeedbackFile-问题反馈附件表
|
||||
/// <summary>
|
||||
/// 问题反馈附件表
|
||||
@ -3723,8 +3796,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Scopes-资源表
|
||||
/// <summary>
|
||||
/// 资源表
|
||||
@ -3832,8 +3907,10 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region VersionManage-版本管理表
|
||||
/// <summary>
|
||||
/// 版本管理表
|
||||
@ -3941,6 +4018,8 @@ using APT.BaseData.Domain.Entities.T4;
|
||||
return WitEntity(null, filter);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
@ -2,6 +2,12 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// T4模板文件:基础接口类
|
||||
// 此代码由T4模板自动生成
|
||||
@ -15,4 +21,5 @@ using APT.Infrastructure.Api;
|
||||
using APT.BaseData.Domain.ApiModel.PF;
|
||||
namespace APT.PP.WebApi.Controllers.Api
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user