From ac0e0229664d13f198d12b50ddbfd816891178d7 Mon Sep 17 00:00:00 2001 From: nakorn Date: Wed, 13 Oct 2021 21:33:52 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=AD=E0=B8=B2=E0=B9=80=E0=B8=82?= =?UTF-8?q?=E0=B9=89=E0=B8=B2=E0=B8=A3=E0=B8=B0=E0=B8=9A=E0=B8=9A=20?= =?UTF-8?q?=E0=B9=82=E0=B8=84=E0=B8=A7=E0=B8=95=E0=B8=B2=20=E0=B9=80?= =?UTF-8?q?=E0=B8=89=E0=B8=9E=E0=B8=B2=E0=B8=B0=E0=B8=84=E0=B8=99=E0=B8=97?= =?UTF-8?q?=E0=B8=B5=E0=B9=88=E0=B8=97=E0=B8=B3=E0=B8=87=E0=B8=B2=E0=B8=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../eva_adjust_postponement_quotaService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 3a64728..17f6d38 100644 --- a/Models/eva_adjust_postponement_quota/eva_adjust_postponement_quotaService.cs +++ b/Models/eva_adjust_postponement_quota/eva_adjust_postponement_quotaService.cs @@ -196,7 +196,7 @@ namespace TodoAPI2.Models entity.limit_quota = 0; entity.limit_frame_quota = 0; - var all_emp = emp.GetListByemployee_type(null, null); + var all_emp = (from i in emp.GetListByemployee_type(null, null) where i.workingstatus == "สถานะปฏิบัติงาน" select i).ToList(); var all_emp_id_list = (from i in all_emp select i.id).ToList(); entity.limit = AddMultipleDetail(entity.id, all_emp_id_list, entity.fiscal_year, entity.theRound, all_emp);