no message
This commit is contained in:
parent
1cfa4336fd
commit
e209efc4e8
7 changed files with 3103 additions and 13 deletions
|
|
@ -2203,10 +2203,6 @@ namespace BMA.EHR.Recurit.Exam.Service.Data.Migrations
|
|||
.HasColumnOrder(101)
|
||||
.HasComment("User Id ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CustomerName")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("Customer name");
|
||||
|
||||
b.Property<string>("Detail")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("รายละเอียดสมัครสอบ");
|
||||
|
|
|
|||
3073
Migrations/20250127093245_update table period add qrcode1.Designer.cs
generated
Normal file
3073
Migrations/20250127093245_update table period add qrcode1.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
30
Migrations/20250127093245_update table period add qrcode1.cs
Normal file
30
Migrations/20250127093245_update table period add qrcode1.cs
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Recurit.Exam.Service.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class updatetableperiodaddqrcode1 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "CustomerName",
|
||||
table: "PeriodExams");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "CustomerName",
|
||||
table: "PeriodExams",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "Customer name")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -95,9 +95,6 @@ namespace BMA.EHR.Recurit.Exam.Service.Models
|
|||
[Comment("Company code")]
|
||||
public string? CompanyCode { get; set; }
|
||||
|
||||
[Comment("Customer name")]
|
||||
public string? CustomerName { get; set; }
|
||||
|
||||
[Comment("หมายเหตุ"), Column(TypeName = "text")]
|
||||
public string? Reason { get; set; }
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@ namespace BMA.EHR.Recurit.Exam.Service.Request
|
|||
public string? Note { get; set; }
|
||||
public string? Remark { get; set; }
|
||||
public string? CompanyCode { get; set; }
|
||||
public string? CustomerName { get; set; }
|
||||
public string? Reason { get; set; }
|
||||
public string? RefNo1 { get; set; }
|
||||
|
||||
|
|
|
|||
|
|
@ -36,7 +36,6 @@ namespace BMA.EHR.Recurit.Exam.Service.Response
|
|||
public bool SetSeat { get; set; }
|
||||
public string? Remark { get; set; }
|
||||
public string? CompanyCode { get; set; }
|
||||
public string? CustomerName { get; set; }
|
||||
public string? Reason { get; set; }
|
||||
public string? RefNo1 { get; set; }
|
||||
public List<Models.Candidate> Candidate { get; set; } = new List<Models.Candidate>();
|
||||
|
|
|
|||
|
|
@ -117,7 +117,6 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
|||
Note = x.Note,
|
||||
Remark = x.Remark,
|
||||
CompanyCode = x.CompanyCode,
|
||||
CustomerName = x.CustomerName,
|
||||
Reason = x.Reason,
|
||||
RefNo1 = x.RefNo1,
|
||||
OrganizationCodeId = x.OrganizationCodeId,
|
||||
|
|
@ -167,7 +166,6 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
|||
Note = x.Note,
|
||||
Remark = x.Remark,
|
||||
CompanyCode = x.CompanyCode,
|
||||
CustomerName = x.CustomerName,
|
||||
Reason = x.Reason,
|
||||
RefNo1 = x.RefNo1,
|
||||
OrganizationCodeId = x.OrganizationCodeId,
|
||||
|
|
@ -361,7 +359,6 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
|||
Note = inserted.Note,
|
||||
Remark = inserted.Remark,
|
||||
CompanyCode = inserted.CompanyCode,
|
||||
CustomerName = inserted.CustomerName,
|
||||
Reason = inserted.Reason,
|
||||
RefNo1 = inserted.RefNo1,
|
||||
CreatedAt = DateTime.Now,
|
||||
|
|
@ -462,7 +459,6 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
|||
periodExam.Note = updated.Note;
|
||||
periodExam.Remark = updated.Remark;
|
||||
periodExam.CompanyCode = updated.CompanyCode;
|
||||
periodExam.CustomerName = updated.CustomerName;
|
||||
periodExam.Reason = updated.Reason;
|
||||
periodExam.RefNo1 = updated.RefNo1;
|
||||
periodExam.LastUpdatedAt = DateTime.Now;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue