เพิ่ม decimal_limit_quota ใน model สำหรับ report บันทีกข้อความ ใช้ค่าจาก limit_quota

This commit is contained in:
Pairat Sangprasert
2021-07-16 16:20:53 +07:00
parent 18303d092f
commit 3de7c45968
2 changed files with 2 additions and 0 deletions

View File

@@ -516,6 +516,7 @@ namespace TodoAPI2.Models
{
model.theDate = MyHelper.GetDateFromString(model.theDate_text);
model.theDate_text = MyHelper.GetDateStringForReport(model.theDate);
model.decimal_limit_quota = Convert.ToDecimal(model.limit_quota);
var postponement_data = (from postponement in _repository.Context.eva_adjust_postponement
join create_evaluation in _repository.Context.eva_create_evaluation on postponement.create_evaluation_id equals create_evaluation.id

View File

@@ -18,6 +18,7 @@ namespace TodoAPI2.Models
public int? theRound { get; set; }
public decimal? limit_frame_quota { get; set; }
public string limit_quota { get; set; }
public decimal? decimal_limit_quota { get; set; }
public string command_no { get; set; }
public string theDate_text { get; set; }
public DateTime? theDate { get; set; }