Commit graph

3891 commits

Author SHA1 Message Date
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
harid
2aaaf53ab0 API ดึงข้อมูลระบบจากตำแหน่งรักษาการ
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m6s
2026-04-29 14:39:23 +07:00
d822626404 แก้ไข rabbitMQ เผยแพร่โครงสร้างค้าง
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m2s
2026-04-29 14:27:50 +07:00
7c6991abe5 fixed isGov
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m14s
2026-04-28 18:07:01 +07:00
5caa7db75a fixed
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m10s
2026-04-28 17:12:54 +07:00
190a5d665a fixed add isGovernment & commandDateAffect
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m12s
2026-04-28 16:53:15 +07:00
2a5fba2dfc fix import temp profile salary add isGovernment & dateGovernment 2026-04-28 16:31:08 +07:00
3163b701c9 reset password change profileId to keycloak
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m12s
2026-04-28 15:50:00 +07:00
harid
58afa49fcd insert profileSalary เดิมเข้ามายัง profile ใหม่ #232
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m8s
2026-04-28 15:17:16 +07:00
d82cd842f6 add reset password by admin & super_admin
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m10s
2026-04-28 15:14:47 +07:00
3833901bea fixed #2436 add link in noti request idp 2026-04-28 14:57:51 +07:00
2417c90dc2 add api sync-missing-emptype
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m4s
2026-04-28 11:38:47 +07:00