ตกหล่นของลูกจ้าง
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m48s

This commit is contained in:
Suphonchai Phoonsawat 2026-07-17 14:18:55 +07:00
parent dcbb845c0e
commit 2743edf82f

View file

@ -3059,7 +3059,8 @@ namespace BMA.EHR.Leave.Service.Controllers
if (old != null)
{
return Error(new Exception("ไม่สามารถทำรายการได้ เนื่องจากมีการกำหนดรอบการทำงานในวันที่นี้ไว้แล้ว"), StatusCodes.Status400BadRequest);
await _userDutyTimeRepository.DeleteAsync(old);
//return Error(new Exception("ไม่สามารถทำรายการได้ เนื่องจากมีการกำหนดรอบการทำงานในวันที่นี้ไว้แล้ว"), StatusCodes.Status400BadRequest);
}
var data = new UserDutyTime