ปรับปรุง การอนุมัติแบบข้อตกลง ของ ผอ

This commit is contained in:
nakorn
2022-03-17 16:12:32 +07:00
parent f6afc23b45
commit 61f067f150
10 changed files with 70 additions and 29 deletions

View File

@@ -187,10 +187,10 @@ namespace TodoAPI2.Models
where k.id == model.id
select k).FirstOrDefault();
if (current_detail.status_chief_a == "Y")
{
throw new Exception("ผู้ประเมิน อนุมัติข้อตกลงไปแล้ว บันทึกไม่ได้");
}
//if (current_detail.status_chief_a == "Y")
//{
// throw new Exception("ผู้ประเมิน อนุมัติข้อตกลงไปแล้ว บันทึกไม่ได้");
//}
existingEntity.create_evaluation_id = model.create_evaluation_id;
existingEntity.chief_a = model.chief_a;