Migration 删除

mh_ops => mh_jy_ops
This commit is contained in:
wyw 2025-08-25 15:04:24 +08:00
parent ee9ded5d29
commit 062a4242d7
92 changed files with 46 additions and 3205510 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,45 +0,0 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace APT.Data.Migrations.Migrations
{
public partial class wyw2025070201 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<Guid>(
name: "IMG_FILE_ID",
table: "T_PF_FILE_DB",
type: "uniqueidentifier",
nullable: true);
migrationBuilder.CreateIndex(
name: "IX_T_PF_FILE_DB_IMG_FILE_ID",
table: "T_PF_FILE_DB",
column: "IMG_FILE_ID");
migrationBuilder.AddForeignKey(
name: "FK_T_PF_FILE_DB_T_PF_IMG_FILE_IMG_FILE_ID",
table: "T_PF_FILE_DB",
column: "IMG_FILE_ID",
principalTable: "T_PF_IMG_FILE",
principalColumn: "ID",
onDelete: ReferentialAction.Restrict);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_T_PF_FILE_DB_T_PF_IMG_FILE_IMG_FILE_ID",
table: "T_PF_FILE_DB");
migrationBuilder.DropIndex(
name: "IX_T_PF_FILE_DB_IMG_FILE_ID",
table: "T_PF_FILE_DB");
migrationBuilder.DropColumn(
name: "IMG_FILE_ID",
table: "T_PF_FILE_DB");
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,32 +0,0 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace APT.Data.Migrations.Migrations
{
public partial class wyw2025070202 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<Guid>(
name: "IMG_FILE_ID",
table: "T_PF_FILE_DB",
type: "uniqueidentifier",
nullable: true,
oldClrType: typeof(Guid),
oldType: "uniqueidentifier");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<Guid>(
name: "IMG_FILE_ID",
table: "T_PF_FILE_DB",
type: "uniqueidentifier",
nullable: false,
defaultValue: new Guid("00000000-0000-0000-0000-000000000000"),
oldClrType: typeof(Guid),
oldType: "uniqueidentifier",
oldNullable: true);
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,35 +0,0 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace APT.Data.Migrations.Migrations
{
public partial class wyw2025070401 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "CONTEXT",
table: "T_PF_APPROVE_DETAIL",
type: "nvarchar(200)",
maxLength: 200,
nullable: true,
oldClrType: typeof(string),
oldType: "nvarchar(100)",
oldMaxLength: 100,
oldNullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "CONTEXT",
table: "T_PF_APPROVE_DETAIL",
type: "nvarchar(100)",
maxLength: 100,
nullable: true,
oldClrType: typeof(string),
oldType: "nvarchar(200)",
oldMaxLength: 200,
oldNullable: true);
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,24 +0,0 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace APT.Data.Migrations.Migrations
{
public partial class hmr2025070701 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "MineType",
table: "T_SK_CHECK_TYPE",
type: "int",
nullable: false,
defaultValue: 0);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "MineType",
table: "T_SK_CHECK_TYPE");
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,74 +0,0 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace APT.Data.Migrations.Migrations
{
public partial class wyw2025070701 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "T_SK_VIDEO_AREA",
columns: table => new
{
ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
AREA_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
VIDEO_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_SK_VIDEO_AREA", x => x.ID);
table.ForeignKey(
name: "FK_T_SK_VIDEO_AREA_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_VIDEO_AREA_T_PF_FILE_DB_VIDEO_ID",
column: x => x.VIDEO_ID,
principalTable: "T_PF_FILE_DB",
principalColumn: "ID",
onDelete: ReferentialAction.Restrict);
table.ForeignKey(
name: "FK_T_SK_VIDEO_AREA_T_SK_RISK_AREA_AREA_ID",
column: x => x.AREA_ID,
principalTable: "T_SK_RISK_AREA",
principalColumn: "ID",
onDelete: ReferentialAction.Restrict);
});
migrationBuilder.CreateIndex(
name: "IX_T_SK_VIDEO_AREA_AREA_ID",
table: "T_SK_VIDEO_AREA",
column: "AREA_ID");
migrationBuilder.CreateIndex(
name: "IX_T_SK_VIDEO_AREA_ORG_ID",
table: "T_SK_VIDEO_AREA",
column: "ORG_ID");
migrationBuilder.CreateIndex(
name: "IX_T_SK_VIDEO_AREA_VIDEO_ID",
table: "T_SK_VIDEO_AREA",
column: "VIDEO_ID");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "T_SK_VIDEO_AREA");
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,74 +0,0 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace APT.Data.Migrations.Migrations
{
public partial class wyw2025071101 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "T_WB_OUTSOURCE_VIDEO",
columns: table => new
{
ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
SOURCE_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
VIDEO_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_WB_OUTSOURCE_VIDEO", x => x.ID);
table.ForeignKey(
name: "FK_T_WB_OUTSOURCE_VIDEO_T_FM_ORGANIZATION_ORG_ID",
column: x => x.ORG_ID,
principalTable: "T_FM_ORGANIZATION",
principalColumn: "ID",
onDelete: ReferentialAction.Restrict);
table.ForeignKey(
name: "FK_T_WB_OUTSOURCE_VIDEO_T_PF_FILE_DB_VIDEO_ID",
column: x => x.VIDEO_ID,
principalTable: "T_PF_FILE_DB",
principalColumn: "ID",
onDelete: ReferentialAction.Restrict);
table.ForeignKey(
name: "FK_T_WB_OUTSOURCE_VIDEO_T_WB_OUTSOURCE_SOURCE_ID",
column: x => x.SOURCE_ID,
principalTable: "T_WB_OUTSOURCE",
principalColumn: "ID",
onDelete: ReferentialAction.Restrict);
});
migrationBuilder.CreateIndex(
name: "IX_T_WB_OUTSOURCE_VIDEO_ORG_ID",
table: "T_WB_OUTSOURCE_VIDEO",
column: "ORG_ID");
migrationBuilder.CreateIndex(
name: "IX_T_WB_OUTSOURCE_VIDEO_SOURCE_ID",
table: "T_WB_OUTSOURCE_VIDEO",
column: "SOURCE_ID");
migrationBuilder.CreateIndex(
name: "IX_T_WB_OUTSOURCE_VIDEO_VIDEO_ID",
table: "T_WB_OUTSOURCE_VIDEO",
column: "VIDEO_ID");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "T_WB_OUTSOURCE_VIDEO");
}
}
}

View File

@ -1,24 +0,0 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace APT.Data.Migrations.Migrations
{
public partial class wyw2025072301 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "PROCTNAME",
table: "T_TI_SAFE_PDT_COST_RECORD",
type: "nvarchar(200)",
maxLength: 200,
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "PROCTNAME",
table: "T_TI_SAFE_PDT_COST_RECORD");
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,293 +0,0 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace APT.Data.Migrations.Migrations
{
public partial class hmr2025072601 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<int>(
name: "HIDDEN_LEVEL",
table: "T_SK_SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL",
type: "int",
nullable: true,
oldClrType: typeof(int),
oldType: "int");
migrationBuilder.AlterColumn<int>(
name: "CHECK_RESULT",
table: "T_SK_SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL",
type: "int",
nullable: true,
oldClrType: typeof(int),
oldType: "int");
migrationBuilder.AlterColumn<int>(
name: "HIDDEN_LEVEL",
table: "T_SK_SECURITY_INSPECTION_RECORD_DETAIL",
type: "int",
nullable: true,
oldClrType: typeof(int),
oldType: "int");
migrationBuilder.AlterColumn<int>(
name: "CHECK_RESULT",
table: "T_SK_SECURITY_INSPECTION_RECORD_DETAIL",
type: "int",
nullable: true,
oldClrType: typeof(int),
oldType: "int");
migrationBuilder.AlterColumn<int>(
name: "HIDDEN_LEVEL",
table: "T_SK_HIDDEN_DANGER_REPORT_DETAIL",
type: "int",
nullable: true,
oldClrType: typeof(int),
oldType: "int");
migrationBuilder.AlterColumn<int>(
name: "HIDDEN_LEVEL",
table: "T_SK_HIDDEN_DANGER_RECTIFY_RECORD",
type: "int",
nullable: true,
oldClrType: typeof(int),
oldType: "int");
migrationBuilder.AlterColumn<int>(
name: "HIDDEN_LEVEL",
table: "T_SK_HIDDEN_DANGER_RECTIFY_NOTICE_DETAIL",
type: "int",
nullable: true,
oldClrType: typeof(int),
oldType: "int");
migrationBuilder.AlterColumn<int>(
name: "HIDDEN_LEVEL",
table: "T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT_HIDDEN",
type: "int",
nullable: true,
oldClrType: typeof(int),
oldType: "int");
migrationBuilder.AlterColumn<int>(
name: "HIDDEN_LEVEL",
table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT_HIDDEN",
type: "int",
nullable: true,
oldClrType: typeof(int),
oldType: "int");
migrationBuilder.AlterColumn<int>(
name: "QUESTION_LEVEL",
table: "T_SK_CHECK_QUESTION",
type: "int",
nullable: true,
oldClrType: typeof(int),
oldType: "int");
migrationBuilder.AddColumn<string>(
name: "CHECK_STANDARD",
table: "T_SK_CHECK_CONTENTS",
type: "nvarchar(500)",
maxLength: 500,
nullable: true);
migrationBuilder.AddColumn<int>(
name: "MineType",
table: "T_SK_CHECK_CONTENTS",
type: "int",
nullable: true);
migrationBuilder.AlterColumn<int>(
name: "HIDDEN_LEVEL",
table: "T_SK_BASIC_LIBRARY_DETAIL_CONTENT_HIDDEN",
type: "int",
nullable: true,
oldClrType: typeof(int),
oldType: "int");
migrationBuilder.CreateTable(
name: "T_SK_CHECK_CONTENTS_BASIC",
columns: table => new
{
ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
CHECK_CONTENTS_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
LAW_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_CONTENTS_BASIC", x => x.ID);
table.ForeignKey(
name: "FK_T_SK_CHECK_CONTENTS_BASIC_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_CONTENTS_BASIC_T_LR_LAW_LAW_ID",
column: x => x.LAW_ID,
principalTable: "T_LR_LAW",
principalColumn: "ID",
onDelete: ReferentialAction.Restrict);
table.ForeignKey(
name: "FK_T_SK_CHECK_CONTENTS_BASIC_T_SK_CHECK_CONTENTS_CHECK_CONTENTS_ID",
column: x => x.CHECK_CONTENTS_ID,
principalTable: "T_SK_CHECK_CONTENTS",
principalColumn: "ID",
onDelete: ReferentialAction.Restrict);
});
migrationBuilder.CreateIndex(
name: "IX_T_SK_CHECK_CONTENTS_BASIC_CHECK_CONTENTS_ID",
table: "T_SK_CHECK_CONTENTS_BASIC",
column: "CHECK_CONTENTS_ID");
migrationBuilder.CreateIndex(
name: "IX_T_SK_CHECK_CONTENTS_BASIC_LAW_ID",
table: "T_SK_CHECK_CONTENTS_BASIC",
column: "LAW_ID");
migrationBuilder.CreateIndex(
name: "IX_T_SK_CHECK_CONTENTS_BASIC_ORG_ID",
table: "T_SK_CHECK_CONTENTS_BASIC",
column: "ORG_ID");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "T_SK_CHECK_CONTENTS_BASIC");
migrationBuilder.DropColumn(
name: "CHECK_STANDARD",
table: "T_SK_CHECK_CONTENTS");
migrationBuilder.DropColumn(
name: "MineType",
table: "T_SK_CHECK_CONTENTS");
migrationBuilder.AlterColumn<int>(
name: "HIDDEN_LEVEL",
table: "T_SK_SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL",
type: "int",
nullable: false,
defaultValue: 0,
oldClrType: typeof(int),
oldType: "int",
oldNullable: true);
migrationBuilder.AlterColumn<int>(
name: "CHECK_RESULT",
table: "T_SK_SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL",
type: "int",
nullable: false,
defaultValue: 0,
oldClrType: typeof(int),
oldType: "int",
oldNullable: true);
migrationBuilder.AlterColumn<int>(
name: "HIDDEN_LEVEL",
table: "T_SK_SECURITY_INSPECTION_RECORD_DETAIL",
type: "int",
nullable: false,
defaultValue: 0,
oldClrType: typeof(int),
oldType: "int",
oldNullable: true);
migrationBuilder.AlterColumn<int>(
name: "CHECK_RESULT",
table: "T_SK_SECURITY_INSPECTION_RECORD_DETAIL",
type: "int",
nullable: false,
defaultValue: 0,
oldClrType: typeof(int),
oldType: "int",
oldNullable: true);
migrationBuilder.AlterColumn<int>(
name: "HIDDEN_LEVEL",
table: "T_SK_HIDDEN_DANGER_REPORT_DETAIL",
type: "int",
nullable: false,
defaultValue: 0,
oldClrType: typeof(int),
oldType: "int",
oldNullable: true);
migrationBuilder.AlterColumn<int>(
name: "HIDDEN_LEVEL",
table: "T_SK_HIDDEN_DANGER_RECTIFY_RECORD",
type: "int",
nullable: false,
defaultValue: 0,
oldClrType: typeof(int),
oldType: "int",
oldNullable: true);
migrationBuilder.AlterColumn<int>(
name: "HIDDEN_LEVEL",
table: "T_SK_HIDDEN_DANGER_RECTIFY_NOTICE_DETAIL",
type: "int",
nullable: false,
defaultValue: 0,
oldClrType: typeof(int),
oldType: "int",
oldNullable: true);
migrationBuilder.AlterColumn<int>(
name: "HIDDEN_LEVEL",
table: "T_SK_ENTERPRISE_LIBRARY_DETAIL_CONTENT_HIDDEN",
type: "int",
nullable: false,
defaultValue: 0,
oldClrType: typeof(int),
oldType: "int",
oldNullable: true);
migrationBuilder.AlterColumn<int>(
name: "HIDDEN_LEVEL",
table: "T_SK_DOUBLE_PREVENT_MECHANISM_DETAIL_MEASURES_CONTENT_HIDDEN",
type: "int",
nullable: false,
defaultValue: 0,
oldClrType: typeof(int),
oldType: "int",
oldNullable: true);
migrationBuilder.AlterColumn<int>(
name: "QUESTION_LEVEL",
table: "T_SK_CHECK_QUESTION",
type: "int",
nullable: false,
defaultValue: 0,
oldClrType: typeof(int),
oldType: "int",
oldNullable: true);
migrationBuilder.AlterColumn<int>(
name: "HIDDEN_LEVEL",
table: "T_SK_BASIC_LIBRARY_DETAIL_CONTENT_HIDDEN",
type: "int",
nullable: false,
defaultValue: 0,
oldClrType: typeof(int),
oldType: "int",
oldNullable: true);
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,43 +0,0 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace APT.Data.Migrations.Migrations
{
public partial class hmr2025072602 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "NUM",
table: "T_SK_SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL",
type: "int",
nullable: true);
migrationBuilder.AddColumn<int>(
name: "NUM",
table: "T_SK_SECURITY_INSPECTION_RECORD_DETAIL",
type: "int",
nullable: true);
migrationBuilder.AddColumn<int>(
name: "NUM",
table: "T_SK_SECURITY_INSPECTION_NOTICE_DETAIL",
type: "int",
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "NUM",
table: "T_SK_SECURITY_INSPECTION_RECORD_SUMMARY_DETAIL");
migrationBuilder.DropColumn(
name: "NUM",
table: "T_SK_SECURITY_INSPECTION_RECORD_DETAIL");
migrationBuilder.DropColumn(
name: "NUM",
table: "T_SK_SECURITY_INSPECTION_NOTICE_DETAIL");
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,24 +0,0 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace APT.Data.Migrations.Migrations
{
public partial class hmr2025072801 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<Guid>(
name: "SECURITY_INSPECTION_NOTICE_ID",
table: "T_SK_SECURITY_INSPECTION_RECORD_SUMMARY",
type: "uniqueidentifier",
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "SECURITY_INSPECTION_NOTICE_ID",
table: "T_SK_SECURITY_INSPECTION_RECORD_SUMMARY");
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,45 +0,0 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace APT.Data.Migrations.Migrations
{
public partial class wyw2025073001 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<Guid>(
name: "DEPARTMENT_ID",
table: "T_WB_OUTSOURCE_TRAIN_RECORD",
type: "uniqueidentifier",
nullable: true);
migrationBuilder.CreateIndex(
name: "IX_T_WB_OUTSOURCE_TRAIN_RECORD_DEPARTMENT_ID",
table: "T_WB_OUTSOURCE_TRAIN_RECORD",
column: "DEPARTMENT_ID");
migrationBuilder.AddForeignKey(
name: "FK_T_WB_OUTSOURCE_TRAIN_RECORD_T_FM_DEPARTMENT_DEPARTMENT_ID",
table: "T_WB_OUTSOURCE_TRAIN_RECORD",
column: "DEPARTMENT_ID",
principalTable: "T_FM_DEPARTMENT",
principalColumn: "ID",
onDelete: ReferentialAction.Restrict);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_T_WB_OUTSOURCE_TRAIN_RECORD_T_FM_DEPARTMENT_DEPARTMENT_ID",
table: "T_WB_OUTSOURCE_TRAIN_RECORD");
migrationBuilder.DropIndex(
name: "IX_T_WB_OUTSOURCE_TRAIN_RECORD_DEPARTMENT_ID",
table: "T_WB_OUTSOURCE_TRAIN_RECORD");
migrationBuilder.DropColumn(
name: "DEPARTMENT_ID",
table: "T_WB_OUTSOURCE_TRAIN_RECORD");
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,45 +0,0 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace APT.Data.Migrations.Migrations
{
public partial class wyw2025073002 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<Guid>(
name: "DEPARTMENT_ID",
table: "T_WB_DANGEROUS_JOB",
type: "uniqueidentifier",
nullable: true);
migrationBuilder.CreateIndex(
name: "IX_T_WB_DANGEROUS_JOB_DEPARTMENT_ID",
table: "T_WB_DANGEROUS_JOB",
column: "DEPARTMENT_ID");
migrationBuilder.AddForeignKey(
name: "FK_T_WB_DANGEROUS_JOB_T_FM_DEPARTMENT_DEPARTMENT_ID",
table: "T_WB_DANGEROUS_JOB",
column: "DEPARTMENT_ID",
principalTable: "T_FM_DEPARTMENT",
principalColumn: "ID",
onDelete: ReferentialAction.Restrict);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_T_WB_DANGEROUS_JOB_T_FM_DEPARTMENT_DEPARTMENT_ID",
table: "T_WB_DANGEROUS_JOB");
migrationBuilder.DropIndex(
name: "IX_T_WB_DANGEROUS_JOB_DEPARTMENT_ID",
table: "T_WB_DANGEROUS_JOB");
migrationBuilder.DropColumn(
name: "DEPARTMENT_ID",
table: "T_WB_DANGEROUS_JOB");
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,45 +0,0 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace APT.Data.Migrations.Migrations
{
public partial class hmr2025073101 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<Guid>(
name: "AREA_ID",
table: "T_SK_CHECK_CONTENTS",
type: "uniqueidentifier",
nullable: true);
migrationBuilder.CreateIndex(
name: "IX_T_SK_CHECK_CONTENTS_AREA_ID",
table: "T_SK_CHECK_CONTENTS",
column: "AREA_ID");
migrationBuilder.AddForeignKey(
name: "FK_T_SK_CHECK_CONTENTS_T_SK_RISK_AREA_AREA_ID",
table: "T_SK_CHECK_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_CONTENTS_T_SK_RISK_AREA_AREA_ID",
table: "T_SK_CHECK_CONTENTS");
migrationBuilder.DropIndex(
name: "IX_T_SK_CHECK_CONTENTS_AREA_ID",
table: "T_SK_CHECK_CONTENTS");
migrationBuilder.DropColumn(
name: "AREA_ID",
table: "T_SK_CHECK_CONTENTS");
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,169 +0,0 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace APT.Data.Migrations.Migrations
{
public partial class wyw2025073101 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<Guid>(
name: "DEPARTMENT_ID",
table: "T_WB_SAFE_CHECK_TASK",
type: "uniqueidentifier",
nullable: true);
migrationBuilder.AddColumn<Guid>(
name: "DEPARTMENT_ID",
table: "T_WB_SAFE_CHECK_RECORD",
type: "uniqueidentifier",
nullable: true);
migrationBuilder.AddColumn<Guid>(
name: "DEPARTMENT_ID",
table: "T_WB_SAFE_CHECK",
type: "uniqueidentifier",
nullable: true);
migrationBuilder.AddColumn<Guid>(
name: "DEPARTMENT_ID",
table: "T_WB_HIDDEN_DANGER_RECORD",
type: "uniqueidentifier",
nullable: true);
migrationBuilder.AddColumn<Guid>(
name: "DEPARTMENT_ID",
table: "T_WB_HIDDEN_DANGER_NOTIFY",
type: "uniqueidentifier",
nullable: true);
migrationBuilder.CreateIndex(
name: "IX_T_WB_SAFE_CHECK_TASK_DEPARTMENT_ID",
table: "T_WB_SAFE_CHECK_TASK",
column: "DEPARTMENT_ID");
migrationBuilder.CreateIndex(
name: "IX_T_WB_SAFE_CHECK_RECORD_DEPARTMENT_ID",
table: "T_WB_SAFE_CHECK_RECORD",
column: "DEPARTMENT_ID");
migrationBuilder.CreateIndex(
name: "IX_T_WB_SAFE_CHECK_DEPARTMENT_ID",
table: "T_WB_SAFE_CHECK",
column: "DEPARTMENT_ID");
migrationBuilder.CreateIndex(
name: "IX_T_WB_HIDDEN_DANGER_RECORD_DEPARTMENT_ID",
table: "T_WB_HIDDEN_DANGER_RECORD",
column: "DEPARTMENT_ID");
migrationBuilder.CreateIndex(
name: "IX_T_WB_HIDDEN_DANGER_NOTIFY_DEPARTMENT_ID",
table: "T_WB_HIDDEN_DANGER_NOTIFY",
column: "DEPARTMENT_ID");
migrationBuilder.AddForeignKey(
name: "FK_T_WB_HIDDEN_DANGER_NOTIFY_T_FM_DEPARTMENT_DEPARTMENT_ID",
table: "T_WB_HIDDEN_DANGER_NOTIFY",
column: "DEPARTMENT_ID",
principalTable: "T_FM_DEPARTMENT",
principalColumn: "ID",
onDelete: ReferentialAction.Restrict);
migrationBuilder.AddForeignKey(
name: "FK_T_WB_HIDDEN_DANGER_RECORD_T_FM_DEPARTMENT_DEPARTMENT_ID",
table: "T_WB_HIDDEN_DANGER_RECORD",
column: "DEPARTMENT_ID",
principalTable: "T_FM_DEPARTMENT",
principalColumn: "ID",
onDelete: ReferentialAction.Restrict);
migrationBuilder.AddForeignKey(
name: "FK_T_WB_SAFE_CHECK_T_FM_DEPARTMENT_DEPARTMENT_ID",
table: "T_WB_SAFE_CHECK",
column: "DEPARTMENT_ID",
principalTable: "T_FM_DEPARTMENT",
principalColumn: "ID",
onDelete: ReferentialAction.Restrict);
migrationBuilder.AddForeignKey(
name: "FK_T_WB_SAFE_CHECK_RECORD_T_FM_DEPARTMENT_DEPARTMENT_ID",
table: "T_WB_SAFE_CHECK_RECORD",
column: "DEPARTMENT_ID",
principalTable: "T_FM_DEPARTMENT",
principalColumn: "ID",
onDelete: ReferentialAction.Restrict);
migrationBuilder.AddForeignKey(
name: "FK_T_WB_SAFE_CHECK_TASK_T_FM_DEPARTMENT_DEPARTMENT_ID",
table: "T_WB_SAFE_CHECK_TASK",
column: "DEPARTMENT_ID",
principalTable: "T_FM_DEPARTMENT",
principalColumn: "ID",
onDelete: ReferentialAction.Restrict);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_T_WB_HIDDEN_DANGER_NOTIFY_T_FM_DEPARTMENT_DEPARTMENT_ID",
table: "T_WB_HIDDEN_DANGER_NOTIFY");
migrationBuilder.DropForeignKey(
name: "FK_T_WB_HIDDEN_DANGER_RECORD_T_FM_DEPARTMENT_DEPARTMENT_ID",
table: "T_WB_HIDDEN_DANGER_RECORD");
migrationBuilder.DropForeignKey(
name: "FK_T_WB_SAFE_CHECK_T_FM_DEPARTMENT_DEPARTMENT_ID",
table: "T_WB_SAFE_CHECK");
migrationBuilder.DropForeignKey(
name: "FK_T_WB_SAFE_CHECK_RECORD_T_FM_DEPARTMENT_DEPARTMENT_ID",
table: "T_WB_SAFE_CHECK_RECORD");
migrationBuilder.DropForeignKey(
name: "FK_T_WB_SAFE_CHECK_TASK_T_FM_DEPARTMENT_DEPARTMENT_ID",
table: "T_WB_SAFE_CHECK_TASK");
migrationBuilder.DropIndex(
name: "IX_T_WB_SAFE_CHECK_TASK_DEPARTMENT_ID",
table: "T_WB_SAFE_CHECK_TASK");
migrationBuilder.DropIndex(
name: "IX_T_WB_SAFE_CHECK_RECORD_DEPARTMENT_ID",
table: "T_WB_SAFE_CHECK_RECORD");
migrationBuilder.DropIndex(
name: "IX_T_WB_SAFE_CHECK_DEPARTMENT_ID",
table: "T_WB_SAFE_CHECK");
migrationBuilder.DropIndex(
name: "IX_T_WB_HIDDEN_DANGER_RECORD_DEPARTMENT_ID",
table: "T_WB_HIDDEN_DANGER_RECORD");
migrationBuilder.DropIndex(
name: "IX_T_WB_HIDDEN_DANGER_NOTIFY_DEPARTMENT_ID",
table: "T_WB_HIDDEN_DANGER_NOTIFY");
migrationBuilder.DropColumn(
name: "DEPARTMENT_ID",
table: "T_WB_SAFE_CHECK_TASK");
migrationBuilder.DropColumn(
name: "DEPARTMENT_ID",
table: "T_WB_SAFE_CHECK_RECORD");
migrationBuilder.DropColumn(
name: "DEPARTMENT_ID",
table: "T_WB_SAFE_CHECK");
migrationBuilder.DropColumn(
name: "DEPARTMENT_ID",
table: "T_WB_HIDDEN_DANGER_RECORD");
migrationBuilder.DropColumn(
name: "DEPARTMENT_ID",
table: "T_WB_HIDDEN_DANGER_NOTIFY");
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,123 +0,0 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace APT.Data.Migrations.Migrations
{
public partial class hmr2025073102 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "AREA_NAME",
table: "T_SK_HIDDEN_DANGER_RECTIFY_NOTICE",
type: "nvarchar(500)",
maxLength: 500,
nullable: true);
migrationBuilder.AddColumn<string>(
name: "AcceptUser",
table: "T_SK_HIDDEN_DANGER_RECTIFY_NOTICE",
type: "nvarchar(500)",
maxLength: 500,
nullable: true);
migrationBuilder.AddColumn<string>(
name: "CHECK_CONTENT",
table: "T_SK_HIDDEN_DANGER_RECTIFY_NOTICE",
type: "nvarchar(500)",
maxLength: 500,
nullable: true);
migrationBuilder.AddColumn<string>(
name: "HIDDEN_DESCRIPTION",
table: "T_SK_HIDDEN_DANGER_RECTIFY_NOTICE",
type: "nvarchar(500)",
maxLength: 500,
nullable: true);
migrationBuilder.AddColumn<string>(
name: "HIDDEN_LEVEL",
table: "T_SK_HIDDEN_DANGER_RECTIFY_NOTICE",
type: "nvarchar(500)",
maxLength: 500,
nullable: true);
migrationBuilder.AddColumn<string>(
name: "HIDDEN_PLACE",
table: "T_SK_HIDDEN_DANGER_RECTIFY_NOTICE",
type: "nvarchar(500)",
maxLength: 500,
nullable: true);
migrationBuilder.AddColumn<string>(
name: "ImplementUser",
table: "T_SK_HIDDEN_DANGER_RECTIFY_NOTICE",
type: "nvarchar(500)",
maxLength: 500,
nullable: true);
migrationBuilder.AddColumn<DateTime>(
name: "RECITIFY_TIME",
table: "T_SK_HIDDEN_DANGER_RECTIFY_NOTICE",
type: "datetime2",
nullable: true);
migrationBuilder.AddColumn<string>(
name: "RECTIFICATION_MEASURES",
table: "T_SK_HIDDEN_DANGER_RECTIFY_NOTICE",
type: "nvarchar(500)",
maxLength: 500,
nullable: true);
migrationBuilder.AddColumn<string>(
name: "RecitifyUser",
table: "T_SK_HIDDEN_DANGER_RECTIFY_NOTICE",
type: "nvarchar(500)",
maxLength: 500,
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "AREA_NAME",
table: "T_SK_HIDDEN_DANGER_RECTIFY_NOTICE");
migrationBuilder.DropColumn(
name: "AcceptUser",
table: "T_SK_HIDDEN_DANGER_RECTIFY_NOTICE");
migrationBuilder.DropColumn(
name: "CHECK_CONTENT",
table: "T_SK_HIDDEN_DANGER_RECTIFY_NOTICE");
migrationBuilder.DropColumn(
name: "HIDDEN_DESCRIPTION",
table: "T_SK_HIDDEN_DANGER_RECTIFY_NOTICE");
migrationBuilder.DropColumn(
name: "HIDDEN_LEVEL",
table: "T_SK_HIDDEN_DANGER_RECTIFY_NOTICE");
migrationBuilder.DropColumn(
name: "HIDDEN_PLACE",
table: "T_SK_HIDDEN_DANGER_RECTIFY_NOTICE");
migrationBuilder.DropColumn(
name: "ImplementUser",
table: "T_SK_HIDDEN_DANGER_RECTIFY_NOTICE");
migrationBuilder.DropColumn(
name: "RECITIFY_TIME",
table: "T_SK_HIDDEN_DANGER_RECTIFY_NOTICE");
migrationBuilder.DropColumn(
name: "RECTIFICATION_MEASURES",
table: "T_SK_HIDDEN_DANGER_RECTIFY_NOTICE");
migrationBuilder.DropColumn(
name: "RecitifyUser",
table: "T_SK_HIDDEN_DANGER_RECTIFY_NOTICE");
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,35 +0,0 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace APT.Data.Migrations.Migrations
{
public partial class hmr20250800401 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<Guid>(
name: "HIDDEN_DANGER_RECTIFY_NOTICE_DETAIL_ID",
table: "T_SK_HIDDEN_DANGER_RECTIFY_RECORD",
type: "uniqueidentifier",
nullable: true);
migrationBuilder.AddColumn<string>(
name: "REMARK",
table: "T_SK_HIDDEN_DANGER_RECTIFY_RECORD",
type: "nvarchar(500)",
maxLength: 500,
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "HIDDEN_DANGER_RECTIFY_NOTICE_DETAIL_ID",
table: "T_SK_HIDDEN_DANGER_RECTIFY_RECORD");
migrationBuilder.DropColumn(
name: "REMARK",
table: "T_SK_HIDDEN_DANGER_RECTIFY_RECORD");
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,41 +0,0 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace APT.Data.Migrations.Migrations
{
public partial class hmr2025080501 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "MineType",
table: "T_SK_RISK_AREA",
type: "int",
nullable: true);
migrationBuilder.AlterColumn<int>(
name: "EVALUATE_LEVEL",
table: "T_HM_OPERATION_LINK",
type: "int",
nullable: true,
oldClrType: typeof(int),
oldType: "int");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "MineType",
table: "T_SK_RISK_AREA");
migrationBuilder.AlterColumn<int>(
name: "EVALUATE_LEVEL",
table: "T_HM_OPERATION_LINK",
type: "int",
nullable: false,
defaultValue: 0,
oldClrType: typeof(int),
oldType: "int",
oldNullable: true);
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,34 +0,0 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace APT.Data.Migrations.Migrations
{
public partial class wyw2025080701 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "INDEX",
table: "T_PC_INFO_COLOR",
type: "int",
nullable: true);
migrationBuilder.AddColumn<string>(
name: "NAME",
table: "T_PC_INFO_COLOR",
type: "nvarchar(100)",
maxLength: 500,
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "INDEX",
table: "T_PC_INFO_COLOR");
migrationBuilder.DropColumn(
name: "NAME",
table: "T_PC_INFO_COLOR");
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,24 +0,0 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace APT.Data.Migrations.Migrations
{
public partial class wyw2025081903 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "ENABLE_STATUS",
table: "T_WB_REGISTER_2",
type: "int",
nullable: false,
defaultValue: 0);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "ENABLE_STATUS",
table: "T_WB_REGISTER_2");
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,24 +0,0 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace APT.Data.Migrations.Migrations
{
public partial class wyw2025081905 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "ZNDEX",
table: "T_PC_INFO_COLOR",
type: "int",
nullable: false,
defaultValue: 0);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "ZNDEX",
table: "T_PC_INFO_COLOR");
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,45 +0,0 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace APT.Data.Migrations.Migrations
{
public partial class hmr2025082001 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<Guid>(
name: "TERRITORY_DEPARTMENT_ID",
table: "T_FO_CRUCIAL_LICENSE_JOB",
type: "uniqueidentifier",
nullable: true);
migrationBuilder.CreateIndex(
name: "IX_T_FO_CRUCIAL_LICENSE_JOB_TERRITORY_DEPARTMENT_ID",
table: "T_FO_CRUCIAL_LICENSE_JOB",
column: "TERRITORY_DEPARTMENT_ID");
migrationBuilder.AddForeignKey(
name: "FK_T_FO_CRUCIAL_LICENSE_JOB_T_FM_DEPARTMENT_TERRITORY_DEPARTMENT_ID",
table: "T_FO_CRUCIAL_LICENSE_JOB",
column: "TERRITORY_DEPARTMENT_ID",
principalTable: "T_FM_DEPARTMENT",
principalColumn: "ID",
onDelete: ReferentialAction.Restrict);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_T_FO_CRUCIAL_LICENSE_JOB_T_FM_DEPARTMENT_TERRITORY_DEPARTMENT_ID",
table: "T_FO_CRUCIAL_LICENSE_JOB");
migrationBuilder.DropIndex(
name: "IX_T_FO_CRUCIAL_LICENSE_JOB_TERRITORY_DEPARTMENT_ID",
table: "T_FO_CRUCIAL_LICENSE_JOB");
migrationBuilder.DropColumn(
name: "TERRITORY_DEPARTMENT_ID",
table: "T_FO_CRUCIAL_LICENSE_JOB");
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,45 +0,0 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace APT.Data.Migrations.Migrations
{
public partial class hmr2025082002 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<Guid>(
name: "TERRITORY_DEPARTMENT_ID",
table: "T_FO_CRUCIAL_LICENSE_JOB_OUTSOURCE",
type: "uniqueidentifier",
nullable: true);
migrationBuilder.CreateIndex(
name: "IX_T_FO_CRUCIAL_LICENSE_JOB_OUTSOURCE_TERRITORY_DEPARTMENT_ID",
table: "T_FO_CRUCIAL_LICENSE_JOB_OUTSOURCE",
column: "TERRITORY_DEPARTMENT_ID");
migrationBuilder.AddForeignKey(
name: "FK_T_FO_CRUCIAL_LICENSE_JOB_OUTSOURCE_T_FM_DEPARTMENT_TERRITORY_DEPARTMENT_ID",
table: "T_FO_CRUCIAL_LICENSE_JOB_OUTSOURCE",
column: "TERRITORY_DEPARTMENT_ID",
principalTable: "T_FM_DEPARTMENT",
principalColumn: "ID",
onDelete: ReferentialAction.Restrict);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_T_FO_CRUCIAL_LICENSE_JOB_OUTSOURCE_T_FM_DEPARTMENT_TERRITORY_DEPARTMENT_ID",
table: "T_FO_CRUCIAL_LICENSE_JOB_OUTSOURCE");
migrationBuilder.DropIndex(
name: "IX_T_FO_CRUCIAL_LICENSE_JOB_OUTSOURCE_TERRITORY_DEPARTMENT_ID",
table: "T_FO_CRUCIAL_LICENSE_JOB_OUTSOURCE");
migrationBuilder.DropColumn(
name: "TERRITORY_DEPARTMENT_ID",
table: "T_FO_CRUCIAL_LICENSE_JOB_OUTSOURCE");
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,45 +0,0 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace APT.Data.Migrations.Migrations
{
public partial class wyw2025082001 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<Guid>(
name: "DEPARTMENT_ID",
table: "T_WB_REGISTER",
type: "uniqueidentifier",
nullable: true);
migrationBuilder.CreateIndex(
name: "IX_T_WB_REGISTER_DEPARTMENT_ID",
table: "T_WB_REGISTER",
column: "DEPARTMENT_ID");
migrationBuilder.AddForeignKey(
name: "FK_T_WB_REGISTER_T_FM_DEPARTMENT_DEPARTMENT_ID",
table: "T_WB_REGISTER",
column: "DEPARTMENT_ID",
principalTable: "T_FM_DEPARTMENT",
principalColumn: "ID",
onDelete: ReferentialAction.Restrict);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_T_WB_REGISTER_T_FM_DEPARTMENT_DEPARTMENT_ID",
table: "T_WB_REGISTER");
migrationBuilder.DropIndex(
name: "IX_T_WB_REGISTER_DEPARTMENT_ID",
table: "T_WB_REGISTER");
migrationBuilder.DropColumn(
name: "DEPARTMENT_ID",
table: "T_WB_REGISTER");
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,74 +0,0 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace APT.Data.Migrations.Migrations
{
public partial class wyw2025082101 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "T_WB_REGISTER_2_JOB_TYPE_ENUM",
columns: table => new
{
ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
REGISTERT_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
JOBTYPE_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_WB_REGISTER_2_JOB_TYPE_ENUM", x => x.ID);
table.ForeignKey(
name: "FK_T_WB_REGISTER_2_JOB_TYPE_ENUM_T_FM_ORGANIZATION_ORG_ID",
column: x => x.ORG_ID,
principalTable: "T_FM_ORGANIZATION",
principalColumn: "ID",
onDelete: ReferentialAction.Restrict);
table.ForeignKey(
name: "FK_T_WB_REGISTER_2_JOB_TYPE_ENUM_T_WB_JOB_TYPE_ENUM_JOBTYPE_ID",
column: x => x.JOBTYPE_ID,
principalTable: "T_WB_JOB_TYPE_ENUM",
principalColumn: "ID",
onDelete: ReferentialAction.Restrict);
table.ForeignKey(
name: "FK_T_WB_REGISTER_2_JOB_TYPE_ENUM_T_WB_REGISTER_2_REGISTERT_ID",
column: x => x.REGISTERT_ID,
principalTable: "T_WB_REGISTER_2",
principalColumn: "ID",
onDelete: ReferentialAction.Restrict);
});
migrationBuilder.CreateIndex(
name: "IX_T_WB_REGISTER_2_JOB_TYPE_ENUM_JOBTYPE_ID",
table: "T_WB_REGISTER_2_JOB_TYPE_ENUM",
column: "JOBTYPE_ID");
migrationBuilder.CreateIndex(
name: "IX_T_WB_REGISTER_2_JOB_TYPE_ENUM_ORG_ID",
table: "T_WB_REGISTER_2_JOB_TYPE_ENUM",
column: "ORG_ID");
migrationBuilder.CreateIndex(
name: "IX_T_WB_REGISTER_2_JOB_TYPE_ENUM_REGISTERT_ID",
table: "T_WB_REGISTER_2_JOB_TYPE_ENUM",
column: "REGISTERT_ID");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "T_WB_REGISTER_2_JOB_TYPE_ENUM");
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,45 +0,0 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace APT.Data.Migrations.Migrations
{
public partial class wyw2025082102 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_T_WB_REGISTER_2_T_WB_JOB_TYPE_ENUM_JOBTYPE_ID",
table: "T_WB_REGISTER_2");
migrationBuilder.DropIndex(
name: "IX_T_WB_REGISTER_2_JOBTYPE_ID",
table: "T_WB_REGISTER_2");
migrationBuilder.DropColumn(
name: "JOBTYPE_ID",
table: "T_WB_REGISTER_2");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<Guid>(
name: "JOBTYPE_ID",
table: "T_WB_REGISTER_2",
type: "uniqueidentifier",
nullable: true);
migrationBuilder.CreateIndex(
name: "IX_T_WB_REGISTER_2_JOBTYPE_ID",
table: "T_WB_REGISTER_2",
column: "JOBTYPE_ID");
migrationBuilder.AddForeignKey(
name: "FK_T_WB_REGISTER_2_T_WB_JOB_TYPE_ENUM_JOBTYPE_ID",
table: "T_WB_REGISTER_2",
column: "JOBTYPE_ID",
principalTable: "T_WB_JOB_TYPE_ENUM",
principalColumn: "ID",
onDelete: ReferentialAction.Restrict);
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,56 +0,0 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace APT.Data.Migrations.Migrations
{
public partial class wyw2025082103 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "IS_SAFE",
table: "T_WB_CHECK_TYPE_ENUM",
type: "bit",
nullable: false,
defaultValue: false);
migrationBuilder.AddColumn<Guid>(
name: "USER_ID",
table: "T_WB_CHECK_TYPE_ENUM",
type: "uniqueidentifier",
nullable: true);
migrationBuilder.CreateIndex(
name: "IX_T_WB_CHECK_TYPE_ENUM_USER_ID",
table: "T_WB_CHECK_TYPE_ENUM",
column: "USER_ID");
migrationBuilder.AddForeignKey(
name: "FK_T_WB_CHECK_TYPE_ENUM_T_FM_USER_USER_ID",
table: "T_WB_CHECK_TYPE_ENUM",
column: "USER_ID",
principalTable: "T_FM_USER",
principalColumn: "ID",
onDelete: ReferentialAction.Restrict);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_T_WB_CHECK_TYPE_ENUM_T_FM_USER_USER_ID",
table: "T_WB_CHECK_TYPE_ENUM");
migrationBuilder.DropIndex(
name: "IX_T_WB_CHECK_TYPE_ENUM_USER_ID",
table: "T_WB_CHECK_TYPE_ENUM");
migrationBuilder.DropColumn(
name: "IS_SAFE",
table: "T_WB_CHECK_TYPE_ENUM");
migrationBuilder.DropColumn(
name: "USER_ID",
table: "T_WB_CHECK_TYPE_ENUM");
}
}
}

View File

@ -4,7 +4,7 @@
//"default": "Data Source=172.20.8.76:1521/DB2;User Id=\"dbo\";Password=mssqas;Pooling=false;PERSIST SECURITY INFO=True;"
//"default": "Data Source=172.20.8.83:1521/DB2;User Id=\"dbo\";Password=mssuat;Pooling=false;PERSIST SECURITY INFO=True;"
//"default": "User ID=postgres;Password=ldxmesadm;Host=172.20.8.91;Port=5432;Database=mes;CommandTimeout=1024;"
"default": "Server=127.0.0.1;Database=mh_ops;uid=sa;pwd=123456;"
"default": "Server=127.0.0.1;Database=mh_jy_ops;uid=sa;pwd=123456;"
//"default": "User ID=postgres;Password=opt!energy;Host=36.133.75.96;Port=5432;Database=postgres;CommandTimeout=1024;"
},
"AppSettings": {

View File

@ -7,7 +7,7 @@
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.133.75.96;Port=5432;Database=op;CommandTimeout=1024;",
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.134.166.114;Port=5432;Database=mh_op;CommandTimeout=1024;"
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.133.75.96;Port=5432;Database=postgres;CommandTimeout=1024;"
"default": "Server=172.26.13.0;Database=mh_ops;uid=sa;pwd=mhsafe!2021;"
"default": "Server=172.26.13.0;Database=mh_jy_ops;uid=sa;pwd=mhsafe!2021;"
},
"AppSettings": {
"DataBaseType": "sqlserver",

View File

@ -1,7 +1,7 @@
{
"ConnectionStrings": {
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.134.166.114;Port=5432;Database=mh_op;CommandTimeout=1024;"
"default": "Server=47.122.43.22;Database=mh_ops;uid=sa;pwd=mhsafe!2021;"
"default": "Server=47.122.43.22;Database=mh_jy_ops;uid=sa;pwd=mhsafe!2021;"
},
"AppSettings": {
"DataBaseType": "sqlserver",

View File

@ -4,7 +4,7 @@
//"default": "Data Source=172.20.8.76:1521/DB2;User Id=\"dbo\";Password=mssqas;Pooling=false;PERSIST SECURITY INFO=True;"
//"default": "Data Source=172.20.8.83:1521/DB2;User Id=\"dbo\";Password=mssuat;Pooling=false;PERSIST SECURITY INFO=True;"
//"default": "User ID=postgres;Password=ldxmesadm;Host=172.20.8.91;Port=5432;Database=mes;CommandTimeout=1024;"
"default": "Server=127.0.0.1;Database=mh_ops;uid=sa;pwd=123456;"
"default": "Server=127.0.0.1;Database=mh_jy_ops;uid=sa;pwd=123456;"
//"default": "User ID=postgres;Password=opt!energy;Host=36.133.75.96;Port=5432;Database=postgres;CommandTimeout=1024;"
},
"AppSettings": {

View File

@ -808,7 +808,7 @@ namespace APT.FM.WebApi.Controllers.Api.FM
var listPersonID = listUser.Where(e => e.PERSON_ID.HasValue).Select(e => e.PERSON_ID);
IEnumerable<T_FM_PERSON> listPerson = GetEntities<T_FM_PERSON>(e => listPersonID.Contains(e.ID), null, null);
//}
//T_OP_ALLUSER mh_ops ops PHONE
//T_OP_ALLUSER mh_jy_ops ops PHONE
int Count = listEntityPass.Count;
T_FM_USER modelChange = null;
@ -997,7 +997,7 @@ namespace APT.FM.WebApi.Controllers.Api.FM
return false;
}
#region mh_ops
#region mh_jy_ops
if (listUserALLUpdate != null && listUserALLUpdate.Count() > 0)
{

View File

@ -6,7 +6,7 @@
//"default": "User ID=postgres;Password=ldxmesadm;Host=172.20.8.91;Port=5432;Database=mes;CommandTimeout=1024;"
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.134.166.114;Port=5432;Database=mh_op;CommandTimeout=1024;"
//"default": "User ID=postgres;Password=opt!energy;Host=36.133.75.96;Port=5432;Database=postgres;CommandTimeout=1024;"
"default": "Server=47.122.43.22;Database=mh_ops;uid=sa;pwd=mhsafe!2021;"
"default": "Server=47.122.43.22;Database=mh_jy_ops;uid=sa;pwd=mhsafe!2021;"
},
"AppSettings": {
"DataBaseType": "sqlserver",

View File

@ -7,7 +7,7 @@
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.134.166.114;Port=5432;Database=mh_op;CommandTimeout=1024;"
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.133.75.96;Port=5432;Database=test2021;CommandTimeout=1024;"
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.133.75.96;Port=5432;Database=postgres;CommandTimeout=1024;"
"default": "Server=120.25.146.51;Database=mh_ops;uid=sa;pwd=mhsafe!2021;"
"default": "Server=120.25.146.51;Database=mh_jy_ops;uid=sa;pwd=mhsafe!2021;"
},
"AppSettings": {
"DataBaseType": "sqlserver",

View File

@ -7,7 +7,7 @@
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.134.166.114;Port=5432;Database=mh_op;CommandTimeout=1024;"
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.133.75.96;Port=5432;Database=test2021;CommandTimeout=1024;"
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.133.75.96;Port=5432;Database=postgres;CommandTimeout=1024;"
"default": "Server=172.26.13.0;Database=mh_ops;uid=sa;pwd=mhsafe!2021;"
"default": "Server=172.26.13.0;Database=mh_jy_ops;uid=sa;pwd=mhsafe!2021;"
},
"AppSettings": {
"DataBaseType": "sqlserver",

View File

@ -6,7 +6,7 @@
//"default": "User ID=postgres;Password=ldxmesadm;Host=172.20.8.91;Port=5432;Database=mes;CommandTimeout=1024;"
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.134.166.114;Port=5432;Database=mh_op;CommandTimeout=1024;"
//"default": "User ID=postgres;Password=opt!energy;Host=36.133.75.96;Port=5432;Database=postgres;CommandTimeout=1024;"
"default": "Server=47.122.43.22;Database=mh_ops;uid=sa;pwd=mhsafe!2021;"
"default": "Server=47.122.43.22;Database=mh_jy_ops;uid=sa;pwd=mhsafe!2021;"
},
"AppSettings": {
"DataBaseType": "sqlserver",

View File

@ -4,7 +4,7 @@
//"default": "Data Source=172.20.8.76:1521/DB2;User Id=\"dbo\";Password=mssqas;Pooling=false;PERSIST SECURITY INFO=True;"
//"default": "Data Source=172.20.8.83:1521/DB2;User Id=\"dbo\";Password=mssuat;Pooling=false;PERSIST SECURITY INFO=True;"
//"default": "User ID=postgres;Password=ldxmesadm;Host=172.20.8.91;Port=5432;Database=mes;CommandTimeout=1024;"
"default": "Server=127.0.0.1;Database=mh_ops;uid=sa;pwd=123456;"
"default": "Server=127.0.0.1;Database=mh_jy_ops;uid=sa;pwd=123456;"
//"default": "User ID=postgres;Password=opt!energy;Host=36.133.75.96;Port=5432;Database=postgres;CommandTimeout=1024;"
},
"AppSettings": {

View File

@ -4,7 +4,7 @@
//"default": "Data Source=172.20.8.76:1521/DB2;User Id=\"dbo\";Password=mssqas;Pooling=false;PERSIST SECURITY INFO=True;"
//"default": "Data Source=172.20.8.83:1521/DB2;User Id=\"dbo\";Password=mssuat;Pooling=false;PERSIST SECURITY INFO=True;"
//"default": "User ID=postgres;Password=ldxmesadm;Host=172.20.8.91;Port=5432;Database=mes;CommandTimeout=1024;"
"default": "Server=127.0.0.1;Database=mh_ops;uid=sa;pwd=123456;"
"default": "Server=127.0.0.1;Database=mh_jy_ops;uid=sa;pwd=123456;"
//"default": "User ID=postgres;Password=opt!energy;Host=36.133.75.96;Port=5432;Database=postgres;CommandTimeout=1024;"
},
"AppSettings": {

View File

@ -4,7 +4,7 @@
//"default": "Data Source=172.20.8.76:1521/DB2;User Id=\"dbo\";Password=mssqas;Pooling=false;PERSIST SECURITY INFO=True;"
//"default": "Data Source=172.20.8.83:1521/DB2;User Id=\"dbo\";Password=mssuat;Pooling=false;PERSIST SECURITY INFO=True;"
//"default": "User ID=postgres;Password=ldxmesadm;Host=172.20.8.91;Port=5432;Database=mes;CommandTimeout=1024;"
"default": "Server=127.0.0.1;Database=mh_ops;uid=sa;pwd=123456;"
"default": "Server=127.0.0.1;Database=mh_jy_ops;uid=sa;pwd=123456;"
//"default": "User ID=postgres;Password=opt!energy;Host=36.133.75.96;Port=5432;Database=postgres;CommandTimeout=1024;"
},
"AppSettings": {

View File

@ -4,7 +4,7 @@
//"default": "Data Source=172.20.8.76:1521/DB2;User Id=\"dbo\";Password=mssqas;Pooling=false;PERSIST SECURITY INFO=True;"
//"default": "Data Source=172.20.8.83:1521/DB2;User Id=\"dbo\";Password=mssuat;Pooling=false;PERSIST SECURITY INFO=True;"
//"default": "User ID=postgres;Password=ldxmesadm;Host=172.20.8.91;Port=5432;Database=mes;CommandTimeout=1024;"
"default": "Server=127.0.0.1;Database=mh_ops;uid=sa;pwd=123456;"
"default": "Server=127.0.0.1;Database=mh_jy_ops;uid=sa;pwd=123456;"
//"default": "User ID=postgres;Password=opt!energy;Host=36.133.75.96;Port=5432;Database=postgres;CommandTimeout=1024;"
},
"AppSettings": {

View File

@ -4,7 +4,7 @@
//"default": "Data Source=172.20.8.76:1521/DB2;User Id=\"dbo\";Password=mssqas;Pooling=false;PERSIST SECURITY INFO=True;"
//"default": "Data Source=172.20.8.83:1521/DB2;User Id=\"dbo\";Password=mssuat;Pooling=false;PERSIST SECURITY INFO=True;"
//"default": "User ID=postgres;Password=ldxmesadm;Host=172.20.8.91;Port=5432;Database=mes;CommandTimeout=1024;"
"default": "Server=127.0.0.1;Database=mh_ops;uid=sa;pwd=123456;"
"default": "Server=127.0.0.1;Database=mh_jy_ops;uid=sa;pwd=123456;"
//"default": "User ID=postgres;Password=opt!energy;Host=36.133.75.96;Port=5432;Database=postgres;CommandTimeout=1024;"
},
"AppSettings": {

View File

@ -6,7 +6,7 @@
//"default": "User ID=postgres;Password=ldxmesadm;Host=172.20.8.91;Port=5432;Database=mes;CommandTimeout=1024;"
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.134.166.114;Port=5432;Database=mh_op;CommandTimeout=1024;"
//"default": "User ID=postgres;Password=dfdn!energy;Host=localhost;Port=5432;Database=postgres;CommandTimeout=1024;"
"default": "Server=172.21.157.142;Database=mh_ops;uid=sa;pwd=mhsafe!2021;"
"default": "Server=172.21.157.142;Database=mh_jy_ops;uid=sa;pwd=mhsafe!2021;"
},
"AppSettings": {

View File

@ -1,6 +1,6 @@
{
"ConnectionStrings": {
"default": "Server=120.25.146.51;Database=mh_ops;uid=sa;pwd=mhsafe!2021;"
"default": "Server=120.25.146.51;Database=mh_jy_ops;uid=sa;pwd=mhsafe!2021;"
},
"AppSettings": {
"DataBaseType": "sqlserver",

View File

@ -1,6 +1,6 @@
{
"ConnectionStrings": {
"default": "Server=172.26.13.0;Database=mh_ops;uid=sa;pwd=mhsafe!2021;"
"default": "Server=172.26.13.0;Database=mh_jy_ops;uid=sa;pwd=mhsafe!2021;"
},
"AppSettings": {
"DataBaseType": "sqlserver",

View File

@ -6,7 +6,7 @@
//"default": "User ID=postgres;Password=ldxmesadm;Host=172.20.8.91;Port=5432;Database=mes;CommandTimeout=1024;"
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.134.166.114;Port=5432;Database=mh_op;CommandTimeout=1024;"
//"default": "User ID=postgres;Password=dfdn!energy;Host=localhost;Port=5432;Database=postgres;CommandTimeout=1024;"
"default": "Server=47.122.43.22;Database=mh_ops;uid=sa;pwd=mhsafe!2021;"
"default": "Server=47.122.43.22;Database=mh_jy_ops;uid=sa;pwd=mhsafe!2021;"
},
"AppSettings": {

View File

@ -5,7 +5,7 @@
//"default": "Data Source=172.20.8.83:1521/DB2;User Id=\"dbo\";Password=mssuat;Pooling=false;PERSIST SECURITY INFO=True;"
//"default": "User ID=postgres;Password=ldxmesadm;Host=172.20.8.91;Port=5432;Database=mes;CommandTimeout=1024;"
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.134.166.114;Port=5432;Database=mh_op;CommandTimeout=1024;"
"default": "Server=172.26.2.243;Database=mh_ops;uid=sa;pwd=mhsafe!2021;" //<EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
"default": "Server=172.26.2.243;Database=mh_jy_ops;uid=sa;pwd=mhsafe!2021;" //<EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
},
"AppSettings": {

View File

@ -6,7 +6,7 @@
//"default": "User ID=postgres;Password=ldxmesadm;Host=172.20.8.91;Port=5432;Database=mes;CommandTimeout=1024;"
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.134.166.114;Port=5432;Database=mh_op;CommandTimeout=1024;"
//"default": "User ID=postgres;Password=opt!energy;Host=36.133.75.96;Port=5432;Database=postgres;CommandTimeout=1024;"
"default": "Server=172.21.157.142;Database=mh_ops;uid=sa;pwd=mhsafe!2021;" //<EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
"default": "Server=172.21.157.142;Database=mh_jy_ops;uid=sa;pwd=mhsafe!2021;" //<EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
},
"AppSettings": {
"DataBaseType": "sqlserver",

View File

@ -7,7 +7,7 @@
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.134.166.114;Port=5432;Database=mh_op;CommandTimeout=1024;"
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.133.75.96;Port=5432;Database=test2021;CommandTimeout=1024;"
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.133.75.96;Port=5432;Database=postgres;CommandTimeout=1024;"
"default": "Server=120.25.146.51;Database=mh_ops;uid=sa;pwd=mhsafe!2021;" //<EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
"default": "Server=120.25.146.51;Database=mh_jy_ops;uid=sa;pwd=mhsafe!2021;" //<EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
},
"AppSettings": {
"DataBaseType": "sqlserver",

View File

@ -7,7 +7,7 @@
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.134.166.114;Port=5432;Database=mh_op;CommandTimeout=1024;"
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.133.75.96;Port=5432;Database=test2021;CommandTimeout=1024;"
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.133.75.96;Port=5432;Database=postgres;CommandTimeout=1024;"
"default": "Server=172.26.13.0;Database=mh_ops;uid=sa;pwd=mhsafe!2021;" //<EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
"default": "Server=172.26.13.0;Database=mh_jy_ops;uid=sa;pwd=mhsafe!2021;" //<EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
},
"AppSettings": {
"DataBaseType": "sqlserver",

View File

@ -6,7 +6,7 @@
//"default": "User ID=postgres;Password=ldxmesadm;Host=172.20.8.91;Port=5432;Database=mes;CommandTimeout=1024;"
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.134.166.114;Port=5432;Database=mh_op;CommandTimeout=1024;"
//"default": "User ID=postgres;Password=opt!energy;Host=36.133.75.96;Port=5432;Database=postgres;CommandTimeout=1024;"
"default": "Server=47.122.43.22;Database=mh_ops;uid=sa;pwd=mhsafe!2021;" //<EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
"default": "Server=47.122.43.22;Database=mh_jy_ops;uid=sa;pwd=mhsafe!2021;" //<EFBFBD><EFBFBD>ʽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
},
"AppSettings": {
"DataBaseType": "sqlserver",

View File

@ -5,7 +5,7 @@
//"default": "Data Source=172.20.8.83:1521/DB2;User Id=\"dbo\";Password=mssuat;Pooling=false;PERSIST SECURITY INFO=True;"
//"default": "User ID=postgres;Password=ldxmesadm;Host=172.20.8.91;Port=5432;Database=mes;CommandTimeout=1024;"
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.134.166.114;Port=5432;Database=mh_op;CommandTimeout=1024;"
//"default": "Server=127.0.0.1;Database=mh_ops;uid=sa;pwd=wjn123;"
//"default": "Server=127.0.0.1;Database=mh_jy_ops;uid=sa;pwd=wjn123;"
},
"AppSettings": {
"DataBaseType": "sqlserver", //<EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,1=sql<EFBFBD><EFBFBD>2=mysql<EFBFBD><EFBFBD>3=oracle 4=sqlserver

View File

@ -129,19 +129,19 @@ namespace APT.WebApi.Models
switch (orgVal.Value)
{
case 1:
conn = conn.Replace("mh_ops", "mh_db");
conn = conn.Replace("mh_jy_ops", "mh_db");
break;
case 4:
conn = conn.Replace("mh_ops", "mh_dcjd");
conn = conn.Replace("mh_jy_ops", "mh_dcjd");
break;
case 5:
conn = conn.Replace("mh_ops", "mh_gxbb");
conn = conn.Replace("mh_jy_ops", "mh_gxbb");
break;
case 2:
conn = conn.Replace("mh_ops", "mh_lyxt");
conn = conn.Replace("mh_jy_ops", "mh_lyxt");
break;
case 3:
conn = conn.Replace("mh_ops", "mh_lyyl");
conn = conn.Replace("mh_jy_ops", "mh_lyyl");
break;
default:
break;

View File

@ -1,7 +1,7 @@
{
"ConnectionStrings": {
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.134.166.114;Port=5432;Database=mh_op;CommandTimeout=1024;"
"default": "Server=47.122.43.22;Database=mh_ops;uid=sa;pwd=mhsafe!2021;"
"default": "Server=47.122.43.22;Database=mh_jy_ops;uid=sa;pwd=mhsafe!2021;"
},
"AppSettings": {
"DataBaseType": "sqlserver",

View File

@ -7,7 +7,7 @@
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.133.75.96;Port=5432;Database=op;CommandTimeout=1024;",
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.134.166.114;Port=5432;Database=mh_op;CommandTimeout=1024;"
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.133.75.96;Port=5432;Database=postgres;CommandTimeout=1024;"
"default": "Server=120.25.146.51;Database=mh_ops;uid=sa;pwd=mhsafe!2021;"
"default": "Server=120.25.146.51;Database=mh_jy_ops;uid=sa;pwd=mhsafe!2021;"
},
"AppSettings": {
"DataBaseType": "sqlserver",

View File

@ -7,7 +7,7 @@
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.133.75.96;Port=5432;Database=op;CommandTimeout=1024;",
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.134.166.114;Port=5432;Database=mh_op;CommandTimeout=1024;"
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.133.75.96;Port=5432;Database=postgres;CommandTimeout=1024;"
"default": "Server=172.26.13.0;Database=mh_ops;uid=sa;pwd=mhsafe!2021;",
"default": "Server=172.26.13.0;Database=mh_jy_ops;uid=sa;pwd=mhsafe!2021;",
"tpm": "Data Source=10.2.7.17;Initial Catalog=QLTPMDB;Persist Security Info=True;User ID=MHUser;Password=MHUser2024ok%"
},
"AppSettings": {

View File

@ -1,7 +1,7 @@
{
"ConnectionStrings": {
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.134.166.114;Port=5432;Database=mh_op;CommandTimeout=1024;"
"default": "Server=47.122.43.22;Database=mh_ops;uid=sa;pwd=mhsafe!2021;",
"default": "Server=47.122.43.22;Database=mh_jy_ops;uid=sa;pwd=mhsafe!2021;",
"tpm": "Data Source=10.2.7.17;Initial Catalog=QLTPMDB;Persist Security Info=True;User ID=MHUser;Password=MHUser2024ok%"
},
"AppSettings": {

View File

@ -4,7 +4,7 @@
//"default": "Data Source=172.20.8.76:1521/DB2;User Id=\"dbo\";Password=mssqas;Pooling=false;PERSIST SECURITY INFO=True;"
//"default": "Data Source=172.20.8.83:1521/DB2;User Id=\"dbo\";Password=mssuat;Pooling=false;PERSIST SECURITY INFO=True;"
//"default": "User ID=postgres;Password=ldxmesadm;Host=172.20.8.91;Port=5432;Database=mes;CommandTimeout=1024;"
"default": "Server=120.25.146.51;Database=mh_ops;uid=sa;pwd=mhsafe!2021;"
"default": "Server=120.25.146.51;Database=mh_jy_ops;uid=sa;pwd=mhsafe!2021;"
//"default": "User ID=postgres;Password=opt!energy;Host=36.133.75.96;Port=5432;Database=postgres;CommandTimeout=1024;"
},
"AppSettings": {

View File

@ -1,7 +1,7 @@
{
"ConnectionStrings": {
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.134.166.114;Port=5432;Database=mh_op;CommandTimeout=1024;"
"default": "Server=47.122.43.22;Database=mh_ops;uid=sa;pwd=mhsafe!2021;"
"default": "Server=47.122.43.22;Database=mh_jy_ops;uid=sa;pwd=mhsafe!2021;"
},
"AppSettings": {
"DataBaseType": "sqlserver",

View File

@ -7,7 +7,7 @@
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.133.75.96;Port=5432;Database=op;CommandTimeout=1024;",
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.134.166.114;Port=5432;Database=mh_op;CommandTimeout=1024;"
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.133.75.96;Port=5432;Database=postgres;CommandTimeout=1024;"
"default": "Server=120.25.146.51;Database=mh_ops;uid=sa;pwd=mhsafe!2021;"
"default": "Server=120.25.146.51;Database=mh_jy_ops;uid=sa;pwd=mhsafe!2021;"
},
"AppSettings": {
"DataBaseType": "sqlserver",

View File

@ -7,7 +7,7 @@
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.133.75.96;Port=5432;Database=op;CommandTimeout=1024;",
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.134.166.114;Port=5432;Database=mh_op;CommandTimeout=1024;"
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.133.75.96;Port=5432;Database=postgres;CommandTimeout=1024;"
"default": "Server=172.26.13.0;Database=mh_ops;uid=sa;pwd=mhsafe!2021;"
"default": "Server=172.26.13.0;Database=mh_jy_ops;uid=sa;pwd=mhsafe!2021;"
},
"AppSettings": {
"DataBaseType": "sqlserver",

View File

@ -1,7 +1,7 @@
{
"ConnectionStrings": {
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.134.166.114;Port=5432;Database=mh_op;CommandTimeout=1024;"
"default": "Server=47.122.43.22;Database=mh_ops;uid=sa;pwd=mhsafe!2021;"
"default": "Server=47.122.43.22;Database=mh_jy_ops;uid=sa;pwd=mhsafe!2021;"
},
"AppSettings": {
"DataBaseType": "sqlserver",

View File

@ -4,7 +4,7 @@
//"default": "Data Source=172.20.8.76:1521/DB2;User Id=\"dbo\";Password=mssqas;Pooling=false;PERSIST SECURITY INFO=True;"
//"default": "Data Source=172.20.8.83:1521/DB2;User Id=\"dbo\";Password=mssuat;Pooling=false;PERSIST SECURITY INFO=True;"
//"default": "User ID=postgres;Password=ldxmesadm;Host=172.20.8.91;Port=5432;Database=mes;CommandTimeout=1024;"
"default": "Server=127.0.0.1;Database=mh_ops;uid=sa;pwd=123456;"
"default": "Server=127.0.0.1;Database=mh_jy_ops;uid=sa;pwd=123456;"
//"default": "User ID=postgres;Password=opt!energy;Host=36.133.75.96;Port=5432;Database=postgres;CommandTimeout=1024;"
},
"AppSettings": {

View File

@ -1,7 +1,7 @@
{
"ConnectionStrings": {
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.134.166.114;Port=5432;Database=mh_op;CommandTimeout=1024;"
"default": "Server=47.122.43.22;Database=mh_ops;uid=sa;pwd=mhsafe!2021;"
"default": "Server=47.122.43.22;Database=mh_jy_ops;uid=sa;pwd=mhsafe!2021;"
},
"AppSettings": {
"DataBaseType": "sqlserver",

View File

@ -7,7 +7,7 @@
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.133.75.96;Port=5432;Database=op;CommandTimeout=1024;",
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.134.166.114;Port=5432;Database=mh_op;CommandTimeout=1024;"
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.133.75.96;Port=5432;Database=postgres;CommandTimeout=1024;"
"default": "Server=120.25.146.51;Database=mh_ops;uid=sa;pwd=mhsafe!2021;"
"default": "Server=120.25.146.51;Database=mh_jy_ops;uid=sa;pwd=mhsafe!2021;"
},
"AppSettings": {
"DataBaseType": "sqlserver",

View File

@ -7,7 +7,7 @@
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.133.75.96;Port=5432;Database=op;CommandTimeout=1024;",
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.134.166.114;Port=5432;Database=mh_op;CommandTimeout=1024;"
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.133.75.96;Port=5432;Database=postgres;CommandTimeout=1024;"
"default": "Server=172.26.13.0;Database=mh_ops;uid=sa;pwd=mhsafe!2021;"
"default": "Server=172.26.13.0;Database=mh_jy_ops;uid=sa;pwd=mhsafe!2021;"
},
"AppSettings": {
"DataBaseType": "sqlserver",

View File

@ -1,7 +1,7 @@
{
"ConnectionStrings": {
//"default": "User ID=postgres;Password=dfdn!energy;Host=36.134.166.114;Port=5432;Database=mh_op;CommandTimeout=1024;"
"default": "Server=47.122.43.22;Database=mh_ops;uid=sa;pwd=mhsafe!2021;"
"default": "Server=47.122.43.22;Database=mh_jy_ops;uid=sa;pwd=mhsafe!2021;"
},
"AppSettings": {
"DataBaseType": "sqlserver",

View File

@ -4,7 +4,7 @@
//"default": "Data Source=172.20.8.76:1521/DB2;User Id=\"dbo\";Password=mssqas;Pooling=false;PERSIST SECURITY INFO=True;"
//"default": "Data Source=172.20.8.83:1521/DB2;User Id=\"dbo\";Password=mssuat;Pooling=false;PERSIST SECURITY INFO=True;"
//"default": "User ID=postgres;Password=ldxmesadm;Host=172.20.8.91;Port=5432;Database=mes;CommandTimeout=1024;"
"default": "Server=127.0.0.1;Database=mh_ops;uid=sa;pwd=123456;"
"default": "Server=127.0.0.1;Database=mh_jy_ops;uid=sa;pwd=123456;"
//"default": "User ID=postgres;Password=opt!energy;Host=36.133.75.96;Port=5432;Database=postgres;CommandTimeout=1024;"
},
"AppSettings": {

View File

@ -4,7 +4,7 @@
//"default": "Data Source=172.20.8.76:1521/DB2;User Id=\"dbo\";Password=mssqas;Pooling=false;PERSIST SECURITY INFO=True;"
//"default": "Data Source=172.20.8.83:1521/DB2;User Id=\"dbo\";Password=mssuat;Pooling=false;PERSIST SECURITY INFO=True;"
//"default": "User ID=postgres;Password=ldxmesadm;Host=172.20.8.91;Port=5432;Database=mes;CommandTimeout=1024;"
"default": "Server=127.0.0.1;Database=mh_ops;uid=sa;pwd=123456;"
"default": "Server=127.0.0.1;Database=mh_jy_ops;uid=sa;pwd=123456;"
//"default": "User ID=postgres;Password=opt!energy;Host=36.133.75.96;Port=5432;Database=postgres;CommandTimeout=1024;"
},
"AppSettings": {