เพิ่มฟิวหน่วยงานผู้ค้ำ
This commit is contained in:
parent
109bea3fc8
commit
a840274150
5 changed files with 84 additions and 7 deletions
|
|
@ -230,12 +230,9 @@ export class DevelopmentOfficerHistoryController extends Controller {
|
|||
: "1=1",
|
||||
{ year: body.year },
|
||||
)
|
||||
.andWhere(
|
||||
body.root != null && body.root != undefined ? "development.rootId = :root" : "1=1",
|
||||
{
|
||||
root: body.root,
|
||||
},
|
||||
)
|
||||
.andWhere(body.root != null && body.root != undefined ? "development.root = :root" : "1=1", {
|
||||
root: body.root,
|
||||
})
|
||||
.andWhere(body.root != null ? "developmentHistory.root = :root" : "1=1", { root: body.root })
|
||||
.andWhere("developmentHistory.type = :type", { type: type })
|
||||
.andWhere(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue