fix ประวัติออกคำสั่ง
This commit is contained in:
parent
09c47361f1
commit
87a49c5cc1
1 changed files with 4 additions and 4 deletions
|
|
@ -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}`,
|
||||
// })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue