fix ระบบทะเบียนประวัติ>>ทะเบียนประวัติลูกจ้างชั่วคราว (รายชื่อแต่งตั้งเป็นลูกจ้างประจำ ไม่แสดง) #1407

This commit is contained in:
Bright 2025-04-17 16:08:42 +07:00
parent 33a5915bc1
commit 8895eb85d4

View file

@ -2119,7 +2119,8 @@ export class CommandController extends Controller {
refIds: requestBody.persons.filter((x) => x.refId != null).map((x) => x.refId), refIds: requestBody.persons.filter((x) => x.refId != null).map((x) => x.refId),
status: "REPORT", status: "REPORT",
}) })
.then(async (res) => { .then(async (res) => {})
.catch(() => {});
let order = let order =
command.commandRecives == null || command.commandRecives.length <= 0 command.commandRecives == null || command.commandRecives.length <= 0
? 0 ? 0
@ -2185,9 +2186,6 @@ export class CommandController extends Controller {
await this.commandReciveRepository.save(commandRecive); await this.commandReciveRepository.save(commandRecive);
}), }),
); );
})
.catch(() => {});
if ( if (
[ [
"C-PM-01", "C-PM-01",