fixed remove PostRetireToExprofile ย้ายไปรันใน cronjob ที่เดียว

This commit is contained in:
Warunee Tamkoo 2026-05-08 14:37:40 +07:00
parent 09fd606b86
commit 0e8808e371
5 changed files with 178 additions and 254 deletions

View file

@ -115,7 +115,7 @@ export class RetirementService {
const retireDate = new Date(profile.leaveDate);
// ส่งไปยัง Exprofile
PostRetireToExprofile(
await PostRetireToExprofile(
null,
profile.citizenId,
profile.prefix || "",