From bba142992531076005f37cac47bd1a4c3da67f1d Mon Sep 17 00:00:00 2001 From: Nakorn Rientrakrunchai Date: Mon, 15 Feb 2021 16:04:13 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B9=84=E0=B8=82?= =?UTF-8?q?=E0=B8=84=E0=B8=B3=E0=B8=95=E0=B8=B2=E0=B8=A1=E0=B8=97=E0=B8=B5?= =?UTF-8?q?=E0=B9=88=E0=B9=80=E0=B8=9E=E0=B8=A5=E0=B8=87=E0=B9=81=E0=B8=88?= =?UTF-8?q?=E0=B9=89=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../eva_create_evaluationService.cs | 13 +++++++++++++ .../eva_create_evaluation_detail_agreement.cshtml | 4 ++-- .../eva_create_evaluation_detail_agreement_d.cshtml | 6 +++--- .../eva_create_evaluation_detail_firstdoc_d.cshtml | 4 ++-- 4 files changed, 20 insertions(+), 7 deletions(-) diff --git a/Models/eva_create_evaluation/eva_create_evaluationService.cs b/Models/eva_create_evaluation/eva_create_evaluationService.cs index 421c916..a6c87a6 100644 --- a/Models/eva_create_evaluation/eva_create_evaluationService.cs +++ b/Models/eva_create_evaluation/eva_create_evaluationService.cs @@ -302,10 +302,23 @@ namespace TodoAPI2.Models where i.create_evaluation_detail_id == k.id select i; _repository.Context.eva_evaluation_achievement.RemoveRange(p5); + + var p6 = from i in _repository.Context.eva_evaluation_operating_agreement + where i.create_evaluation_detail_id == k.id + select i; + _repository.Context.eva_evaluation_operating_agreement.RemoveRange(p6); } _repository.Context.eva_create_evaluation_detail.RemoveRange(p3); + foreach (var j in p) + { + var p2 = from i in _repository.Context.eva_adjust_postponement_detail + where i.adjust_postponement_id == j.id + select i; + _repository.Context.eva_adjust_postponement_detail.RemoveRange(p2); + } + _repository.Delete(id); return; diff --git a/Views/eva_create_evaluation_detail_agreementView/eva_create_evaluation_detail_agreement.cshtml b/Views/eva_create_evaluation_detail_agreementView/eva_create_evaluation_detail_agreement.cshtml index c707bbf..800ee54 100644 --- a/Views/eva_create_evaluation_detail_agreementView/eva_create_evaluation_detail_agreement.cshtml +++ b/Views/eva_create_evaluation_detail_agreementView/eva_create_evaluation_detail_agreement.cshtml @@ -15,7 +15,7 @@ @@ -23,7 +23,7 @@
-
จัดทำข้อตกลงเพื่อประเมินผลเพื่อปรับเลื่อนเงินเดือน +
แบบประเมินผลสัมฤทธิ์ของงานสมรรถนะ
diff --git a/Views/eva_create_evaluation_detail_agreementView/eva_create_evaluation_detail_agreement_d.cshtml b/Views/eva_create_evaluation_detail_agreementView/eva_create_evaluation_detail_agreement_d.cshtml index c9adc30..d4675b1 100644 --- a/Views/eva_create_evaluation_detail_agreementView/eva_create_evaluation_detail_agreement_d.cshtml +++ b/Views/eva_create_evaluation_detail_agreementView/eva_create_evaluation_detail_agreement_d.cshtml @@ -205,7 +205,7 @@
@@ -214,7 +214,7 @@
-
การประเมินผลการปฏิบัติงานของพนักงานเนติบัณฑิตยสภา
+
แบบประเมินผลสัมฤทธิ์ของงานสมรรถนะ
@@ -379,7 +379,7 @@
- +
diff --git a/Views/eva_create_evaluation_detail_firstdocView/eva_create_evaluation_detail_firstdoc_d.cshtml b/Views/eva_create_evaluation_detail_firstdocView/eva_create_evaluation_detail_firstdoc_d.cshtml index 79a4a52..3310221 100644 --- a/Views/eva_create_evaluation_detail_firstdocView/eva_create_evaluation_detail_firstdoc_d.cshtml +++ b/Views/eva_create_evaluation_detail_firstdocView/eva_create_evaluation_detail_firstdoc_d.cshtml @@ -94,7 +94,7 @@
@@ -105,7 +105,7 @@
-
การประเมินผลการปฏิบัติงานของพนักงานเนติบัณฑิตยสภา
+
แบบข้อตกลงการปฏิบัติงานเพื่อประกอบการพิจารณาประเมินผลสัมฤทธิ์ของงาน งด.2/2