Merge branch 'develop'
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m12s
Build & Deploy Discipline Service / build (push) Successful in 1m19s

* develop: (27 commits)
  แก้บรรจุ
  test parent
  แก้ search ช้า
  refactor code
  delete comment
  edit query
  ปรับให้จัด group ตามที่กรอง (#1858)
  ทำฟังก์ชันกลางคำนวณปีงบประมาณ
  fix sort api/v1/leave/search (#1852)
  fix sort /api/v1/leave/admin/edit (#1848)
  จัด Align (#1846)
  fix #1841, #1842
  fix timestamp report #1843 (#1844)
  add parent
  sort Discipline
  #1838
  sortBy #1814
  fix report
  fix #1835
  fix #24
  ...

# Conflicts:
#	BMA.EHR.Insignia/Services/InsigniaRequestProcessService.cs
This commit is contained in:
Warunee Tamkoo 2025-10-14 12:27:30 +07:00
commit fbcd1b6984
49 changed files with 1459 additions and 595 deletions

View file

@ -53,6 +53,25 @@ public class InsigniaRequestProcessService : BackgroundService
await base.StartAsync(cancellationToken);
}
//public override async Task StartAsync(CancellationToken cancellationToken)
//{
//var client = new SocketIO("https://bma-ehr.frappet.synology.me/api/v1/org-socket",
// new SocketIOOptions
// {
// // เพิ่ม token ใน handshake.auth
// Auth = new { token = AccessToken ?? "" }
// });
//client.OnConnected += async (sender, e) =>
//{
// Console.WriteLine("Connected to Socket.IO server");
// await client.EmitAsync("eventName", "Hello from .NET client");
//};
//await client.ConnectAsync();
//await base.StartAsync(cancellationToken);
//}