fix ประวัติออกคำสั่ง

This commit is contained in:
Bright 2024-07-17 17:33:48 +07:00
parent 09c47361f1
commit 87a49c5cc1

View file

@ -5083,10 +5083,10 @@ export class ProfileController extends Controller {
const [profiles, total] = await this.profileRepo const [profiles, total] = await this.profileRepo
.createQueryBuilder("profile") .createQueryBuilder("profile")
.leftJoinAndSelect("profile.profileSalary", "profileSalary") .leftJoinAndSelect("profile.profileSalary", "profileSalary")
// .where("YEAR(profileSalary.date) = :year", { year: body.year }) .where("YEAR(profileSalary.date) = :year", { year: body.year })
// .where("profileSalary.refCommandNo LIKE :refCommandNo", { .where("profileSalary.refCommandNo LIKE :refCommandNo", {
// refCommandNo: `%${body.posno}%`, refCommandNo: `%${body.posno}%`,
// }) })
// .andWhere("profileSalary.commandType LIKE :commandType", { // .andWhere("profileSalary.commandType LIKE :commandType", {
// commandType: `${body.commandType}`, // commandType: `${body.commandType}`,
// }) // })