Commit graph

3915 commits

Author SHA1 Message Date
5ea111a3c5 fixed cron job 2026-05-18 21:51:23 +07:00
d093953fbe แก้ไขการคำนวนระยะเวลาครองตำแหน่ง 2026-05-18 20:56:20 +07:00
f1c546ba8f fix store procedure 2026-05-18 17:37:43 +07:00
harid
15830ef2ba fix ยศไม่แสดงในระบบทะเบียน #2469 + Error Log api check-keycloak
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m8s
2026-05-18 15:02:38 +07:00
harid
173378d87c fix ยศไม่แสดงในระบบทะเบียนประวัติหลังออกคำสั่งรับโอนเสร็จสิ้น #2469
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m9s
2026-05-18 09:18:07 +07:00
harid
7985125882 api check keycloak for process check in
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m7s
2026-05-15 14:58:13 +07:00
b103e15788 fixed web socket noti by token
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m1s
2026-05-15 14:33:00 +07:00
harid
74d03176cd fix ระบบแจ้ง Noti ไม่ตรงตามสิทธิ์ที่ได้รับ #2488
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m4s
2026-05-15 11:53:14 +07:00
harid
9f2fec3ee3 fix ระบบแจ้ง Noti สิทธิ์ BROTHER
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m7s
2026-05-15 11:12:17 +07:00
harid
3c8b377764 fix ระบบแจ้ง Noti ไม่ตรงตามสิทธิ์ที่ได้รับ #2488
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m6s
2026-05-14 17:15:39 +07:00
cab2f76bd6 add api notify-from-token
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m5s
2026-05-14 12:33:21 +07:00
af2bd5054f feat: clear menu and role cache when organization structure is published
Add Redis cache clearing to handler_org function to clear all menu_* and role_* keys
after successfully publishing organization structure changes. This ensures users
see updated permissions and menus immediately after publish.

- Add promisify import and Redis client setup
- Add clearMenuAndRoleCache helper function
- Call cache clearing before successful return

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 11:37:57 +07:00
94edcf5320 fix act position condition
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m6s
2026-05-12 23:12:01 +07:00
334ce4f5fc fixed #2413 จำนวนวันอายุราชการแสดงไม่ตรงกัน
All checks were successful
Build & Deploy on Dev / build (push) Successful in 58s
2026-05-12 17:24:15 +07:00
DESKTOP-1R2VSQH\Lenovo ThinkPad E490
e64cd3f384 fix: permission
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m11s
2026-05-12 15:14:21 +07:00
DESKTOP-1R2VSQH\Lenovo ThinkPad E490
0718f28e5e fix : permission
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m6s
2026-05-12 13:41:12 +07:00
harid
bbbc8d2157 return posNoAct เลขที่ตำแหน่งที่รักษาการ
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m2s
2026-05-12 12:09:18 +07:00
harid
60191a23d7 fix แสดงกรณีรักษาการแทนผิด #2472
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m0s
2026-05-12 11:51:57 +07:00
760fef5c2f fixed move posMaster to level
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m5s
2026-05-11 22:23:42 +07:00
harid
5c2b3e9689 Clear Cache ออกคำสั่งรักษาการ 2026-05-11 17:57:23 +07:00
harid
384a9d7926 Merge branch 'develop' into develop-Bright 2026-05-11 17:45:25 +07:00
bf0dbdf018 fixed PermissionDelete to PermissionUpdate ในส่วนของลบคนครองและสืบทอดตำแหน่ง
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m0s
2026-05-11 17:17:49 +07:00
7e4dc6434f #2474
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m1s
2026-05-11 16:48:04 +07:00
378c941a01 fix: command C-PM-20 insert history
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m6s
2026-05-11 14:33:50 +07:00
harid
53d0f79126 Merge branch 'develop' into develop-Bright 2026-05-11 13:30:26 +07:00
7a6cf119bd update 2473
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m2s
2026-05-11 13:25:26 +07:00
b000e8b531 Merge branch 'develop' into adiDev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m3s
2026-05-11 13:02:25 +07:00
cf3ef00b7f #2473 2026-05-11 13:01:48 +07:00
harid
49208df976 Merge branch 'refactor/permission' into develop-Bright 2026-05-11 10:09:47 +07:00
DESKTOP-1R2VSQH\Lenovo ThinkPad E490
85e9be08f6 report: Controllers 2026-05-08 18:15:03 +07:00
7104ce4f34 fixed condition check
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m6s
2026-05-08 14:47:58 +07:00
1c5faecf04 fixed throw error 2026-05-08 14:45:17 +07:00
0e8808e371 fixed remove PostRetireToExprofile ย้ายไปรันใน cronjob ที่เดียว 2026-05-08 14:37:40 +07:00
09fd606b86 hotfix#2476
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m1s
2026-05-08 12:13:36 +07:00
34759d26a7 revert brother privilage
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m3s
2026-05-08 10:42:59 +07:00
DESKTOP-1R2VSQH\Lenovo ThinkPad E490
2298d4847d Migration Field Status Issues
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m1s
2026-05-08 10:01:02 +07:00
DESKTOP-1R2VSQH\Lenovo ThinkPad E490
aff6200368 refactor(PosMasterActController): redisClient.del role_ menu_ 2026-05-07 17:01:03 +07:00
DESKTOP-1R2VSQH\Lenovo ThinkPad E490
8670d609ba fix 2026-05-07 15:24:09 +07:00
DESKTOP-1R2VSQH\Lenovo ThinkPad E490
c313da8d5c fix 2026-05-07 15:07:30 +07:00
DESKTOP-1R2VSQH\Lenovo ThinkPad E490
bd102a9609 fix 2026-05-07 14:40:56 +07:00
DESKTOP-1R2VSQH\Lenovo ThinkPad E490
fe1ebaa1cf refactor(PermissionController): getPermission 2026-05-07 13:27:27 +07:00
c1a4df63e5 fix save history posMaster null
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m3s
2026-05-06 17:09:55 +07:00
DESKTOP-1R2VSQH\Lenovo ThinkPad E490
a532fcf23d refactor(ProfileController): add subquery to sortBy commandNo for Post probation API 2026-05-06 16:38:56 +07:00
0ba5e36a4f fixed performance function GetOfficersByAdminRoleV3
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m6s
2026-05-06 14:24:24 +07:00
362515a7ca fixed bug field 2026-05-06 13:36:43 +07:00
0052f5cb9b #235 เพิ่มบันทึกฟิวเมื่อลบคนครองและเผยแพร่ย่อย (แบบร่าง>>โครงสร้างปัจจุบัน) 2026-05-06 11:59:40 +07:00
afc58b767e Merge branch 'develop' into refactor/handler_org
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m13s
* develop:
  cronjob ส่งข้อมูลผู้เกษียณไปให้ระบบพ้นราชการ #2330
2026-05-05 18:12:18 +07:00
6c1e4a1e42 Optimize handler_org batch writes
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-05 18:11:55 +07:00
harid
93d4857ea1 cronjob ส่งข้อมูลผู้เกษียณไปให้ระบบพ้นราชการ #2330
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m17s
2026-05-05 16:43:47 +07:00
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