Загрузка сырых данных из АИХ ИТ
This commit is contained in:
@@ -61,8 +61,10 @@ namespace PARR.DAL.Context
|
||||
{
|
||||
f.HasData(
|
||||
new() { Id = new Guid("1AD12210-BE62-459A-AA6C-FDA7648503F7"), DateCreated = dateCreated, DateModified = null, Group = null, Name = "ConnectionString", Value = @"Data Source=10.248.19.97; Initial Catalog=mao2;User ID=awhit-ipp-parr;pwd=ET3h$9y1LH#D;TrustServerCertificate=true;", Description = "Строка подключения к базе данных АИХ ИТ" },
|
||||
new() { Id = new Guid("50F66704-4D26-4587-BB1E-DCA70C8F4B89"), DateCreated = dateCreated, DateModified = null, Group = "ResponsibleArea", Name = "ZAB", Value = "94-ЗАБ", Description = "Зона ответственности" },
|
||||
new() { Id = new Guid("1FD43634-4A06-4237-9727-EDFA6F3EEBE8"), DateCreated = dateCreated, DateModified = null, Group = "ResponsibleArea", Name = "DVS", Value = "96-ДВС", Description = "Зона ответственности" }
|
||||
new() { Id = new Guid("50F66704-4D26-4587-BB1E-DCA70C8F4B89"), DateCreated = dateCreated, DateModified = null, Group = AIHTITSettings.RespAreaGroupName, Name = "ZAB", Value = "94-ЗАБ", Description = "Зона ответственности" },
|
||||
new() { Id = new Guid("1FD43634-4A06-4237-9727-EDFA6F3EEBE8"), DateCreated = dateCreated, DateModified = null, Group = AIHTITSettings.RespAreaGroupName, Name = "DVS", Value = "96-ДВС", Description = "Зона ответственности" },
|
||||
new() { Id = new Guid("77C73C0A-8E4D-4676-B6E2-6A112F20E346"), DateCreated = dateCreated, DateModified = null, Group = AIHTITSettings.StatusGroupName, Name = "Exploitation", Value = "3-В эксплуатации", Description = "Статус актуальных ЭК" }
|
||||
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -52,8 +52,8 @@ namespace PARR.DAL.Migrations
|
||||
b.Property<string>("Company")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<DateTime?>("CreateTime")
|
||||
.HasColumnType("timestamp with time zone");
|
||||
b.Property<string>("CreateTime")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("DBType")
|
||||
.HasColumnType("text");
|
||||
@@ -82,8 +82,8 @@ namespace PARR.DAL.Migrations
|
||||
b.Property<string>("EKType")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<DateTime?>("EndExplotationDate")
|
||||
.HasColumnType("timestamp with time zone");
|
||||
b.Property<string>("EndExplotationDate")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("FullName")
|
||||
.HasColumnType("text");
|
||||
@@ -124,8 +124,8 @@ namespace PARR.DAL.Migrations
|
||||
b.Property<string>("OldEKFindCode")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<DateTime?>("PlannedTimeToRepair")
|
||||
.HasColumnType("timestamp with time zone");
|
||||
b.Property<string>("PlannedTimeToRepair")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("Prescription")
|
||||
.HasColumnType("text");
|
||||
@@ -148,14 +148,14 @@ namespace PARR.DAL.Migrations
|
||||
b.Property<string>("ShortName")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<DateTime?>("StartExplotationDate")
|
||||
.HasColumnType("timestamp with time zone");
|
||||
b.Property<string>("StartExplotationDate")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("Status")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<DateTime?>("SysModTime")
|
||||
.HasColumnType("timestamp with time zone");
|
||||
b.Property<string>("SysModTime")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("SysModUser")
|
||||
.HasColumnType("text");
|
||||
@@ -217,7 +217,7 @@ namespace PARR.DAL.Migrations
|
||||
Description = "Зона ответственности",
|
||||
Group = "ResponsibleArea",
|
||||
Name = "ZAB",
|
||||
Value = "94 - ЗАБ"
|
||||
Value = "94-ЗАБ"
|
||||
},
|
||||
new
|
||||
{
|
||||
@@ -227,6 +227,15 @@ namespace PARR.DAL.Migrations
|
||||
Group = "ResponsibleArea",
|
||||
Name = "DVS",
|
||||
Value = "96-ДВС"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = new Guid("77c73c0a-8e4d-4676-b6e2-6a112f20e346"),
|
||||
DateCreated = new DateTimeOffset(new DateTime(2023, 5, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 0, 0, 0, 0)),
|
||||
Description = "Статус актуальных ЭК",
|
||||
Group = "Status",
|
||||
Name = "Exploitation",
|
||||
Value = "3-В эксплуатации"
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@ namespace PARR.DAL
|
||||
services.AddTransient<IJobService, JobService>();
|
||||
services.AddTransient<IJobJournalService, JobJournalService>();
|
||||
services.AddTransient<IRawDataEKService, RawDataEKService>();
|
||||
services.AddTransient<ISettingService, SettingService>();
|
||||
//services.AddTransient<ISchedulerService, SchedulerService>();
|
||||
|
||||
//services.AddTransient<IAreasInLayerService, AreasInLayerService>();
|
||||
|
||||
Reference in New Issue
Block a user