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