feat(esppScheduleSync): доделал метод ParseStrToEsppObject
This commit is contained in:
@@ -294,7 +294,7 @@ namespace PARR.DAL.Context
|
||||
{
|
||||
f.HasData(
|
||||
new { Id = (int)EsppSchTypeScheduleEnum.Regularly, Name = EsppSchTypeScheduleEnum.Regularly.ToString(), Description = "Регулярно" },
|
||||
new { Id = (int)EsppSchTypeScheduleEnum.Weekly, Name = EsppSchTypeScheduleEnum.Weekly.ToString(), Description = "Еженежельно" },
|
||||
new { Id = (int)EsppSchTypeScheduleEnum.Weekly, Name = EsppSchTypeScheduleEnum.Weekly.ToString(), Description = "Еженедельно" },
|
||||
new { Id = (int)EsppSchTypeScheduleEnum.Monthly, Name = EsppSchTypeScheduleEnum.Monthly.ToString(), Description = "Ежемесячно" },
|
||||
new { Id = (int)EsppSchTypeScheduleEnum.Monthly2, Name = EsppSchTypeScheduleEnum.Monthly2.ToString(), Description = "Ежемесячно-2" },
|
||||
new { Id = (int)EsppSchTypeScheduleEnum.Annually, Name = EsppSchTypeScheduleEnum.Annually.ToString(), Description = "Ежегодно" },
|
||||
|
||||
2667
PARR.DAL/Migrations/20231126232527_TblEsppSchTypeScheduleFixDescription.Designer.cs
generated
Normal file
2667
PARR.DAL/Migrations/20231126232527_TblEsppSchTypeScheduleFixDescription.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,32 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace PARR.DAL.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class TblEsppSchTypeScheduleFixDescription : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "EsppSchTypeSchedules",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2,
|
||||
column: "Description",
|
||||
value: "Еженедельно");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "EsppSchTypeSchedules",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2,
|
||||
column: "Description",
|
||||
value: "Еженежельно");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -859,7 +859,7 @@ namespace PARR.DAL.Migrations
|
||||
new
|
||||
{
|
||||
Id = 2,
|
||||
Description = "Еженежельно",
|
||||
Description = "Еженедельно",
|
||||
Name = "Weekly"
|
||||
},
|
||||
new
|
||||
|
||||
Reference in New Issue
Block a user