From 3de7c45968a59800b5511417255497e725c6ac98 Mon Sep 17 00:00:00 2001 From: Pairat Sangprasert Date: Fri, 16 Jul 2021 16:20:53 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88=E0=B8=A1?= =?UTF-8?q?=20decimal=5Flimit=5Fquota=20=E0=B9=83=E0=B8=99=20model=20?= =?UTF-8?q?=E0=B8=AA=E0=B8=B3=E0=B8=AB=E0=B8=A3=E0=B8=B1=E0=B8=9A=20report?= =?UTF-8?q?=20=E0=B8=9A=E0=B8=B1=E0=B8=99=E0=B8=97=E0=B8=B5=E0=B8=81?= =?UTF-8?q?=E0=B8=82=E0=B9=89=E0=B8=AD=E0=B8=84=E0=B8=A7=E0=B8=B2=E0=B8=A1?= =?UTF-8?q?=20=E0=B9=83=E0=B8=8A=E0=B9=89=E0=B8=84=E0=B9=88=E0=B8=B2?= =?UTF-8?q?=E0=B8=88=E0=B8=B2=E0=B8=81=20limit=5Fquota?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../eva_adjust_postponement_quotaService.cs | 1 + .../rep_eva_savemessage/rep_eva_savemessageReportRequestModel.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/Models/eva_adjust_postponement_quota/eva_adjust_postponement_quotaService.cs b/Models/eva_adjust_postponement_quota/eva_adjust_postponement_quotaService.cs index 05406bb..86e7121 100644 --- a/Models/eva_adjust_postponement_quota/eva_adjust_postponement_quotaService.cs +++ b/Models/eva_adjust_postponement_quota/eva_adjust_postponement_quotaService.cs @@ -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 diff --git a/Models/rep_eva_savemessage/rep_eva_savemessageReportRequestModel.cs b/Models/rep_eva_savemessage/rep_eva_savemessageReportRequestModel.cs index ad90b6b..7f424af 100644 --- a/Models/rep_eva_savemessage/rep_eva_savemessageReportRequestModel.cs +++ b/Models/rep_eva_savemessage/rep_eva_savemessageReportRequestModel.cs @@ -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; }