hrms-api-org/src
waruneeauy 750947f34f 1. เพิ่ม helper สำหรับ build clone rows จาก metadata ของ repository แล้ว pre-generate UUID ให้ parent และ child ล่วงหน้า
2. เปลี่ยน inner clone flow เป็น cloneEmployeeNodeBatch(...) ที่ทำงานเป็นชุด แทนการ save() parent แล้ว save() children ทีละรายการ
3. ใช้ insertInChunks(...) สำหรับ batch insert ของ parent rows และ EmployeePosition rows
4. ใช้ helper เดียวกันซ้ำทุกระดับของ tree (root, child1, child2, child3, child4) เพื่อลด code duplication และคง mapping ของ destination org ids ตาม logic เดิม
2026-05-05 16:38:54 +07:00
..
__tests__ fix bug error 2026-02-27 09:30:46 +07:00
controllers เปลี่ยนปีคศเป็นพศคำสั่งช่วยราชการ (:4845) 2026-05-05 12:02:40 +07:00
data update permission 2025-12-07 13:51:01 +07:00
database fix bug error 2026-02-27 09:30:46 +07:00
entities #2427 and migration 2026-04-20 08:05:16 +07:00
interfaces refactor api act/{id} 2026-03-10 11:45:25 +07:00
keycloak fixed handle error connect keycloak 2026-04-28 11:05:00 +07:00
middlewares fix ข้อมูลผู้พ้นจากราชการก่อนปี 2568 ระบบไม่เก็บ logs #2383 2026-04-10 16:00:12 +07:00
migration #2427 and migration 2026-04-20 08:05:16 +07:00
services 1. เพิ่ม helper สำหรับ build clone rows จาก metadata ของ repository แล้ว pre-generate UUID ให้ parent และ child ล่วงหน้า 2026-05-05 16:38:54 +07:00
utils update 2026-04-24 16:15:47 +07:00
app.ts rollback code cronjob time 2026-04-24 13:07:26 +07:00