filter หน่วยงาน รายการประวัติการฝึกอบรม
This commit is contained in:
parent
3163340215
commit
cd6ef27116
1 changed files with 1 additions and 1 deletions
|
|
@ -441,7 +441,7 @@ export class ReportController extends Controller {
|
|||
.andWhere(body.year != 0 && body.year != null ? "development.year = :year" : "1=1", {
|
||||
year: body.year,
|
||||
})
|
||||
.andWhere(body.root != null ? "development.root = :root" : "1=1", {
|
||||
.andWhere(body.root != null ? "developmentHistory.root = :root" : "1=1", {
|
||||
root: body.root,
|
||||
})
|
||||
.andWhere("developmentHistory.type = :type", { type: "OFFICER" })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue