This commit is contained in:
parent
1b6cc4f014
commit
eaa54a13f7
8 changed files with 20026 additions and 0 deletions
|
|
@ -319,6 +319,8 @@ namespace BMA.EHR.Domain.Models.Placement
|
|||
public int? posMasterNo { get; set; }
|
||||
[Comment("ชื่อตำแหน่งในสายงาน")]
|
||||
public string? positionName { get; set; }
|
||||
[Comment("ตำแหน่งทางการบริหาร")]
|
||||
public string? PositionExecutive { get; set; }
|
||||
[Comment("สายงาน")]
|
||||
public string? positionField { get; set; }
|
||||
[Comment("id ประเภทตำแหน่ง")]
|
||||
|
|
@ -381,6 +383,8 @@ namespace BMA.EHR.Domain.Models.Placement
|
|||
public int? posMasterNoOld { get; set; }
|
||||
[Comment("ชื่อตำแหน่งในสายงาน")]
|
||||
public string? positionNameOld { get; set; }
|
||||
[Comment("ตำแหน่งทางการบริหารเดิม")]
|
||||
public string? PositionExecutiveOld { get; set; }
|
||||
[Comment("สายงาน")]
|
||||
public string? positionFieldOld { get; set; }
|
||||
[Comment("id ประเภทตำแหน่ง")]
|
||||
|
|
|
|||
|
|
@ -83,6 +83,8 @@ namespace BMA.EHR.Domain.Models.Retirement
|
|||
public string? OrganizationOld { get; set; }
|
||||
[Comment("ตำแหน่งเดิม")]
|
||||
public string? PositionOld { get; set; }
|
||||
[Comment("ตำแหน่งทางการบริหารเดิม")]
|
||||
public string? PositionExecutiveOld { get; set; }
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -73,6 +73,8 @@ namespace BMA.EHR.Domain.Models.Retirement
|
|||
public string? OrganizationOld { get; set; }
|
||||
[Comment("ตำแหน่งเดิม")]
|
||||
public string? PositionOld { get; set; }
|
||||
[Comment("ตำแหน่งทางการบริหารเดิม")]
|
||||
public string? PositionExecutiveOld { get; set; }
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
19932
BMA.EHR.Infrastructure/Migrations/20250321105020_addPositionExecutiveOld2.Designer.cs
generated
Normal file
19932
BMA.EHR.Infrastructure/Migrations/20250321105020_addPositionExecutiveOld2.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,66 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class addPositionExecutiveOld2 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "PositionExecutiveOld",
|
||||
table: "RetirementResigns",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "ตำแหน่งทางการบริหารเดิม")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "PositionExecutiveOld",
|
||||
table: "RetirementResignCancels",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "ตำแหน่งทางการบริหารเดิม")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "PositionExecutive",
|
||||
table: "PlacementProfiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "ตำแหน่งทางการบริหาร")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "PositionExecutiveOld",
|
||||
table: "PlacementProfiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "ตำแหน่งทางการบริหารเดิม")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "PositionExecutiveOld",
|
||||
table: "RetirementResigns");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "PositionExecutiveOld",
|
||||
table: "RetirementResignCancels");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "PositionExecutive",
|
||||
table: "PlacementProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "PositionExecutiveOld",
|
||||
table: "PlacementProfiles");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -12711,6 +12711,14 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ตำแหน่งสอบ");
|
||||
|
||||
b.Property<string>("PositionExecutive")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ตำแหน่งทางการบริหาร");
|
||||
|
||||
b.Property<string>("PositionExecutiveOld")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ตำแหน่งทางการบริหารเดิม");
|
||||
|
||||
b.Property<string>("PositionLevel")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ระดับ");
|
||||
|
|
@ -16664,6 +16672,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("สังกัด");
|
||||
|
||||
b.Property<string>("PositionExecutiveOld")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ตำแหน่งทางการบริหารเดิม");
|
||||
|
||||
b.Property<string>("PositionLevelOld")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ข้อมูลหน่วยงานเดิม ระดับ");
|
||||
|
|
@ -16972,6 +16984,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("สังกัด");
|
||||
|
||||
b.Property<string>("PositionExecutiveOld")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ตำแหน่งทางการบริหารเดิม");
|
||||
|
||||
b.Property<string>("PositionLevelOld")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ข้อมูลหน่วยงานเดิม ระดับ");
|
||||
|
|
|
|||
|
|
@ -939,6 +939,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
|||
retirementResign.posLevelNameOld = org.result.posLevelName;
|
||||
retirementResign.AmountOld = org.result.salary;
|
||||
retirementResign.PositionOld = org.result.position;
|
||||
retirementResign.PositionExecutiveOld = org.result.posExecutiveName;
|
||||
retirementResign.PositionLevelOld = org.result.posLevelName;
|
||||
retirementResign.PositionTypeOld = org.result.posTypeName;
|
||||
retirementResign.PositionNumberOld = org.result.nodeShortName + org.result.posMasterNo;
|
||||
|
|
@ -1048,6 +1049,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
|||
updated.Reason = req.Reason;
|
||||
updated.Remark = req.Remark;
|
||||
updated.OrganizationPositionOld = req.OrganizationPositionOld;
|
||||
updated.PositionExecutiveOld = req.PositionExecutiveOld;
|
||||
updated.RemarkHorizontal = req.RemarkHorizontal;
|
||||
updated.PositionTypeOld = req.PositionTypeOld;
|
||||
updated.PositionLevelOld = req.PositionLevelOld;
|
||||
|
|
@ -1167,6 +1169,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
|
|||
Reason = updated.ReasonResign,
|
||||
Remark = updated.Remark,
|
||||
OrganizationPositionOld = updated.OrganizationPositionOld,
|
||||
PositionExecutiveOld = updated.PositionExecutiveOld,
|
||||
PositionTypeOld = updated.PositionTypeOld,
|
||||
PositionLevelOld = updated.PositionLevelOld,
|
||||
PositionNumberOld = updated.PositionNumberOld,
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ namespace BMA.EHR.Retirement.Service.Requests
|
|||
public string? Remark { get; set; }
|
||||
public string? ReasonResign { get; set; }
|
||||
public string? OrganizationPositionOld { get; set; }
|
||||
public string? PositionExecutiveOld { get; set; }
|
||||
public string? PositionTypeOld { get; set; }
|
||||
public string? PositionLevelOld { get; set; }
|
||||
public string? PositionNumberOld { get; set; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue