Commit graph

3902 commits

Author SHA1 Message Date
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
e7e4e2075b 1. รวม query_employeePosMaster กับ query_employeeTempPosMaster ให้ดึงแบบขนานด้วย Promise.all
2. ตัด full-table scan ของ ProfileEmployee ออก โดยเปลี่ยนจาก find({ select: ["id"] }) ทั้งตาราง มาเป็น query เฉพาะ current_holderId ที่อ้างถึงจริงในชุดข้อมูล publish
3. เก็บ normalization ของ _orgemployeePosMaster และ _orgemployeeTempPosMaster ไว้หลัง query ชุดเดียวกัน ทำให้ block นี้กระชับขึ้นและลด read cost ที่ไม่จำเป็น
2026-05-05 16:25:06 +07:00
b5c75379ff fixed error and not retry 2026-05-05 15:59:39 +07:00
3335c4f44c refactor transaction
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m2s
2026-05-05 12:32:21 +07:00
869bb093a3 refactor code function handler_org 2026-05-05 12:08:37 +07:00
e6c3e80a3d เปลี่ยนปีคศเป็นพศคำสั่งช่วยราชการ (:4845)
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m6s
2026-05-05 12:02:40 +07:00
fd7a2af0a1 rollback code handler_org
Some checks failed
Build & Deploy on Dev / build (push) Has been cancelled
2026-05-01 17:08:53 +07:00
cba5991097 #2453
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m16s
2026-05-01 12:08:41 +07:00
ef279df452 fix handler_org error use temporary table
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m7s
2026-05-01 00:22:16 +07:00
7827e19254 fix handler_org and remove retry
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m10s
2026-05-01 00:03:39 +07:00
ac6b487d66 fix handler_org and add transaction
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m6s
2026-04-30 22:41:29 +07:00
b5e80ba1e9 fix error
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m31s
2026-04-30 20:15:37 +07:00
519fd97968 fix performance
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m2s
2026-04-30 16:35:00 +07:00
adisak
3ccdb691f6 log test publish
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m15s
2026-04-30 11:48:36 +07:00