Commit graph

2382 commits

Author SHA1 Message Date
Suphonchai Phoonsawat
e5f6a44f5f เพิ่ม Call API GetProfileByCheckInAsync ใช้แทนของเดิม 2026-05-15 16:04:39 +07:00
Suphonchai Phoonsawat
583569682d register notification service
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m52s
2026-05-15 13:13:29 +07:00
Suphonchai Phoonsawat
9f756771cd เพิ่ม keycloak_id + token ลงใน Job AdditionalData เพื่อเอาไว้ตรวจสอบ
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m54s
2026-05-15 11:54:04 +07:00
Suphonchai Phoonsawat
219b172073 Merge branch 'develop' into working
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m53s
2026-05-15 11:42:39 +07:00
Suphonchai Phoonsawat
ecf660e4cf send noti process-checkin 2026-05-15 11:41:59 +07:00
harid
0365fad723 Migrate add field PlacementReceives.rank #2469
All checks were successful
Build & Deploy Placement Service / build (push) Successful in 1m44s
2026-05-12 14:59:22 +07:00
Suphonchai Phoonsawat
20e8dfddd6 นับวันหยุด ต้องตัดเสาร์ อาทิตย์ออก
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m39s
2026-05-12 12:02:45 +07:00
Suphonchai Phoonsawat
91c479ef9e fix addition checkin
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m53s
2026-05-12 11:37:32 +07:00
Suphonchai Phoonsawat
80fcda61cf issue #1580
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m45s
2026-05-11 15:12:09 +07:00
Suphonchai Phoonsawat
f02413f2b2 หลังอนุมัติลา แก้สถานะการลงเวลาเป็น ปกติ
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m47s
2026-05-11 10:11:40 +07:00
Suphonchai Phoonsawat
1739aa8057 fix issue #1575
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m52s
2026-05-07 16:14:01 +07:00
Suphonchai Phoonsawat
bc3bba547f fix api
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m49s
2026-05-06 19:02:57 +07:00
Suphonchai Phoonsawat
4161fcc1cf fix
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m50s
2026-05-06 18:53:53 +07:00
Suphonchai Phoonsawat
6d0921a76a #2466
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m50s
2026-05-06 16:25:54 +07:00
Suphonchai Phoonsawat
df7bebe0ba api check-time แกะ profileId จาก token เพื่อไม่ต้องไป call เอาจาก org
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m42s
2026-05-05 21:23:46 +07:00
Suphonchai Phoonsawat
82a45b6811 remove default value
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m46s
2026-05-05 12:56:31 +07:00
Suphonchai Phoonsawat
63d983f831 fix issue #1572
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m49s
2026-05-05 12:37:38 +07:00
Suphonchai Phoonsawat
e326e43ae6 fix Issue #2458 2026-05-05 10:23:40 +07:00
Suphonchai Phoonsawat
4dab3c5cd9 fix report leaave
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m52s
2026-05-01 16:47:34 +07:00
Suphonchai Phoonsawat
4bd46d13e5 fix issue
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m52s
2026-05-01 16:38:47 +07:00
Suphonchai Phoonsawat
132a59b946 Merge branch 'develop' into working
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m52s
2026-05-01 11:39:11 +07:00
Suphonchai Phoonsawat
740a9984c9 fix #2456 2026-05-01 11:20:44 +07:00
harid
5b0fcd0680 ปรับให้เป็น process ที่ควรบันทึกตามลำดับ #224
All checks were successful
Build & Deploy Retirement Service / build (push) Successful in 1m46s
Build & Deploy Placement Service / build (push) Successful in 1m56s
Build & Deploy Discipline Service / build (push) Successful in 1m55s
2026-05-01 11:20:15 +07:00
Suphonchai Phoonsawat
2bdb8bb733 กทม. ต้องการพิ่มรายการลงเวลานอกสถานะที่ "ปฏิบัติงานในจุดบริการด่วนมหานคร" กำหนดเวลา 10.30-18.30 น. #2458
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m41s
2026-05-01 10:23:27 +07:00
Suphonchai Phoonsawat
aed1e8a58d Merge branch 'develop' into working
All checks were successful
Build & Deploy Checkin Service / build (push) Successful in 20s
2026-04-30 22:03:33 +07:00
Suphonchai Phoonsawat
fb3cb2aa94 สิ่งที่แก้ไข:
autoAck: false - ไม่ ack อัตโนมัติ ต้องรอ process เสร็จก่อน
Manual Ack/Nack:
BasicAck เมื่อ API return success
BasicNack (reject) เมื่อ API return error (401, 500, etc.) หรือ exception
CallRestApi return bool - บอกว่าสำเร็จหรือล้มเหลว
Better logging - แสดง status code และ error message ชัดเจนขึ้น
ตอนนี้เมื่อ API return 401 หรือ error อื่น:

จะ log error พร้อม status code
Message จะถูก reject (ไม่ requeue)
Consumer จะทำงานต่อรับ message ถัดไปเลย (ไม่ค้าง)
2026-04-30 22:02:59 +07:00
harid
b5025c382f fix รายงานเกษียณแก้ให้แสดงสำนัก #2261
All checks were successful
Build & Deploy Retirement Service / build (push) Successful in 2m6s
2026-04-30 14:24:42 +07:00
Suphonchai Phoonsawat
4e2113eef2 fix consumer from Event to AsyncEvent
All checks were successful
Build & Deploy Checkin Service / build (push) Successful in 1m42s
2026-04-30 11:53:53 +07:00
Suphonchai Phoonsawat
ffcf95c210 change docker file
All checks were successful
Build & Deploy Checkin Service / build (push) Successful in 1m59s
2026-04-30 11:20:52 +07:00
Suphonchai Phoonsawat
e4bcfee80c fix issue #2448
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m47s
2026-04-29 11:45:46 +07:00
Suphonchai Phoonsawat
a173a7dc3c fix CheckInConsumer Memery Falult
All checks were successful
Build & Deploy Checkin Service / build (push) Successful in 1m27s
2026-04-29 09:57:26 +07:00
Suphonchai Phoonsawat
361ded2078 fix issue #2444
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 2m20s
2026-04-28 15:56:19 +07:00
Suphonchai Phoonsawat
1379dab556 fix issue #2441 2026-04-28 15:42:41 +07:00
Suphonchai Phoonsawat
d8039379ad change dc constr to use tunnel
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 2m33s
2026-04-28 11:32:04 +07:00
Suphonchai Phoonsawat
2d4116d79a BROHTER เปลี่ยนเป็น BROTHER 2026-04-28 11:14:40 +07:00
Suphonchai Phoonsawat
c65a4a04ac Merge branch 'develop' into working
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m44s
Build & Deploy Placement Service / build (push) Successful in 2m8s
2026-04-23 19:12:24 +07:00
Suphonchai Phoonsawat
d58c7dc07e Logic การคำนวนวันลา แบบร่าง และ นะหว่างพิจาณา #1567 2026-04-23 19:11:54 +07:00
Suphonchai Phoonsawat
bb329f86de เพิ่ม DateSendLeave และปรับ Logic การดึงค่าวันที่ยื่นลา #1567 2026-04-23 15:48:20 +07:00
harid
b3298e88c6 fix path separator
All checks were successful
Build & Deploy Retirement Service / build (push) Successful in 1m49s
2026-04-21 10:34:21 +07:00
harid
04d0067ee8 ถ้ามีรักษาการแก้สิทธิ์ BROTHER
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m58s
2026-04-20 16:38:58 +07:00
harid
c035c13405 check runtime
All checks were successful
Build & Deploy Retirement Service / build (push) Successful in 1m47s
2026-04-20 14:31:28 +07:00
harid
2e9db2d42c รายงานประกาศเกษียณ #2262, #2261
All checks were successful
Build & Deploy Retirement Service / build (push) Successful in 1m50s
2026-04-20 12:37:06 +07:00
Suphonchai Phoonsawat
1389df0225 แก้ไข
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m54s
ถ้าไม่ได้ Add สิทธิ์มา จะข้ามตำแหน่งนั้นไป
แก้บั้กการแสดงข้อมูล กรณี "ROOT"

#2431
2026-04-20 11:42:41 +07:00
Suphonchai Phoonsawat
058027ea29 เปลี่ยน DEFAULT สิทธิ์เป็น "CHILD" กรณีไม่ตั้งค่ามา #2431
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m53s
2026-04-17 20:11:18 +07:00
Suphonchai Phoonsawat
ee2d16925a แก้ไข รักษาการ ถ้าไม่ได้ใส่ privilage มาจะให้ default = "PARENT" #2431
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 2m7s
2026-04-17 19:21:30 +07:00
Suphonchai Phoonsawat
42f3813a7a Merge branch 'develop' into working
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 2m2s
2026-04-17 15:42:36 +07:00
Suphonchai Phoonsawat
7bafbf5001 เพิ่มรายการรักษาการ #2431 2026-04-17 15:35:29 +07:00
harid
db99630e0d fix #2430
All checks were successful
Build & Deploy Placement Service / build (push) Successful in 1m59s
2026-04-17 15:18:30 +07:00
Suphonchai Phoonsawat
34ec9bb77c Remove Check Pending Status For Cancel Leave #2432
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m54s
2026-04-17 10:31:09 +07:00
Suphonchai Phoonsawat
5606e8b50a Change GetProfileByKeycloakIdNewAsync To GetProfileByKeycloakIdNew2Async 2026-04-17 09:41:52 +07:00