feat(api,dal): в таблицу Jobs добавлено поле ResponseAreaMask. В JobController добавлено поле ResponseAreaMask. В TemplateController отображается фактическая РК, ЗО шаблона. RobotTask ЗО отдается согласно ResponseAreaMask. ShortcodeService теперь умеет принимать Template.
This commit is contained in:
31
PARR.DAL/Migrations/20260113000345_tblJobsAddResponseArea.cs
Normal file
31
PARR.DAL/Migrations/20260113000345_tblJobsAddResponseArea.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace PARR.DAL.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class tblJobsAddResponseArea : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "ResponseArea",
|
||||
schema: "job",
|
||||
table: "Jobs",
|
||||
type: "text",
|
||||
nullable: false,
|
||||
defaultValue: "%ЗО_РГ%");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "ResponseArea",
|
||||
schema: "job",
|
||||
table: "Jobs");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user