Commit graph

134 commits

Author SHA1 Message Date
DESKTOP-1R2VSQH\Lenovo ThinkPad E490
307be83574 fix: path url attachmentPayloads == 'sub-file'
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m14s
2026-02-13 15:10:01 +07:00
a16ae79c7e fix: ไฟล์แนบท้ายดาวน์โหลดไม่ได้
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m20s
2026-02-13 12:50:35 +07:00
harid
9a1acc0b7d อัปเดตจำนวนสิทธิ์การลาเมื่อผ่านทดลองงานฯ #2304
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m19s
2026-02-12 18:31:24 +07:00
3c9e3a1bb6 fix: script org move draf to current save posMasterHistory
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m57s
2026-02-12 10:38:16 +07:00
638362df1c feat: improve move-draft-to-current with differential sync
Implement differential sync for organization structure and positions
instead of delete-all-and-insert-all approach.

Changes:
- Add OrgIdMapping and AllOrgMappings interfaces for tracking ID mappings
- Implement syncOrgLevel() helper for differential sync per org level
- Add syncPositionsForPosMaster() helper for position table sync
- Process org levels bottom-up (Child4→Child3→Child2→Child1→Root)
- Use ancestorDNA matching with Like operator for descendant sync
- Cascade delete positions before deleting org nodes
- Batch DELETE/UPDATE/INSERT operations for better performance
- Track draft→current ID mappings for position updates
- Add comprehensive documentation in docs/move-draft-to-current.md

Benefits:
- Preserve IDs for unchanged nodes (better tracking)
- More efficient (fewer database operations)
- Better data integrity with proper FK handling
- Sync all descendants under given rootDnaId

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 12:35:59 +07:00
8a649086f7 fix: #2239
All checks were successful
Build & Deploy on Dev / build (push) Successful in 48s
2026-02-06 14:55:59 +07:00
harid
1696890f74 เพิ่มข้อมูล "อายุราชการ (กทม.)" #2285
All checks were successful
Build & Deploy on Dev / build (push) Successful in 49s
2026-02-06 14:47:47 +07:00
DESKTOP-1R2VSQH\Lenovo ThinkPad E490
633ccd4906 fix:delete profileAvatar
All checks were successful
Build & Deploy on Dev / build (push) Successful in 53s
2026-01-30 14:47:46 +07:00
harid
78778e0eb0 test เพิ่มฟังก์ชั่นให้ยิงไประบบ exprofile #2190
All checks were successful
Build & Deploy on Dev / build (push) Successful in 59s
2026-01-23 17:32:11 +07:00
harid
586331e870 API ตรวจสอบเช็คเลขบัตรประจำตัวประชาชน ทำไว้ให้ service อื่นๆ ภายในระบบ call มาตรวจสอบเลขบัตรประจำตัวประชาชน 2025-12-17 12:37:05 +07:00
mamoss
3a4e16deb0 add permission brother 2025-12-12 01:36:51 +07:00
mamoss
f814454003 update permission 2025-12-07 13:51:01 +07:00
harid
b436b67167 fix role 2025-12-03 19:32:18 +07:00
mamoss
bd9c270cd7 add role parent 2025-11-29 14:56:58 +07:00
4f30ea9c6b #2036 2025-11-26 09:42:43 +07:00
62750576d3 update
Some checks failed
release / release (push) Failing after 8s
2025-11-12 18:02:28 +07:00
3d689ff19c log
Some checks failed
release / release (push) Failing after 9s
2025-11-12 17:50:42 +07:00
7737f09493 update
Some checks failed
release / release (push) Failing after 8s
2025-11-10 15:54:49 +07:00
b329dcaa0e update clear user in org draft 2025-11-10 15:35:30 +07:00
mamoss
e6329e7922 update timezone 2025-10-22 23:20:18 +07:00
mamoss
bfea0438f8 test parent 2025-10-12 16:51:21 +07:00
mamoss
fd17f366b8 add parent 2025-10-07 11:14:00 +07:00
4be0b068bc #170 and calAge 2025-10-02 14:37:25 +07:00
Bright
2bb44003c0 รายการแจ้งเตือนเพิ่มแนบเอกสารแนบท้ายคำสั่ง 2025-09-01 13:47:27 +07:00
Bright
9aab92ee3f no message 2025-08-29 15:12:29 +07:00
Bright
51443fd4f2 ปรับ payload #1784 2025-08-29 13:27:07 +07:00
Bright
35eec3a5f5 เพิ่มแนบไฟล์คำสั่งในรายการแจ้งเตือน #1784 2025-08-29 11:29:31 +07:00
6f57be2fe9 validate draft and publish 2025-08-21 18:25:24 +07:00
ce2114131d #1742 2025-08-18 09:48:41 +07:00
4318a7b631 fix api service v2 to v1 & fix type & review code 2025-08-14 11:17:13 +07:00
018aae2c57 #1305 ลบ posMasterAct 2025-07-25 17:54:26 +07:00
76d5f07f08 Merge branch 'develop' into adiDev 2025-07-18 14:01:29 +07:00
028d984ad9 update no add 1 day 2025-07-18 14:00:51 +07:00
Bright
42cc69cbbe Fix [Bug] คำนวนระยะเวลาดำรงตำแหน่งในสายงาน, ระยะเวลาดำรงตำแหน่งตามระดับ และทางการบริหารของคนที่พ้นจากราชการ #137 2025-07-18 13:41:52 +07:00
ea74db7005 delete commend 2025-07-18 12:04:12 +07:00
cbf3de9d1b update calGovAge 2025-07-18 11:47:58 +07:00
1dc7badb4d update 2025-07-18 10:06:25 +07:00
Bright
7d05dd6eaa ส่งไปออกคำสั่ง 47 2025-07-18 09:13:16 +07:00
9ea012f4d2 update check citizen2 2025-07-17 14:39:02 +07:00
cd6aa9b1a2 CheckQueueInProgress 2025-07-11 16:50:12 +07:00
9bb6eecf47 fix #126 2025-06-12 10:53:47 +07:00
89773b77ef #126 2025-06-11 14:30:44 +07:00
7992b1b3e3 update 2025-06-05 11:33:44 +07:00
mamoss
a0c4c8a27c template ลูกจ้าง 2025-05-02 09:39:53 +07:00
Bright
5837ca1724 fix issue #1357 ข้อมูลอายุราชการไม่แสดง 2025-04-03 17:41:47 +07:00
mamoss
aac393f6f8 check type object log 2025-04-01 00:38:04 +07:00
Bright
0db7a533ee เพิ่มเส้นออกคำสั่งเงินเดือน 2025-03-19 11:59:36 +07:00
Bright
b0358de9cb issue แปลงเอาเลขไทย #1249 && เอาเดือนออก #1248 2025-03-17 13:43:54 +07:00
44f1fc9e54 fixing error redis 2025-03-14 15:10:05 +07:00
kittapath
e305ea7a88 ปรับออกคำสั่งลงตำแหน่ง 2025-02-21 19:10:27 +07:00