บรรจุ

This commit is contained in:
mamoss 2025-04-23 09:33:26 +07:00
parent 31b8116a6f
commit d999c8050c
3 changed files with 379 additions and 34 deletions

View file

@ -232,25 +232,10 @@ export class ProfileSalaryController extends Controller {
throw new HttpError(HttpStatus.BAD_REQUEST, "ไม่พบ profile ดังกล่าว");
}
const record = await this.salaryRepo.find({
where: {
profileId: profile.id,
// commandCode: In(["5", "6", "7"])
commandCode: In([
"0",
"9",
"1",
"2",
"3",
"4",
"8",
"10",
"11",
"12",
"13",
"14",
"15",
"16",
]),
where: {
profileId: profile.id,
// commandCode: In(["5", "6", "7"])
commandCode: In(["5", "6", "7"]),
},
order: { order: "ASC" },
});