แก้ชื่อตัวแปร
This commit is contained in:
parent
d6d4fbf8cc
commit
3b0d8c24a7
1 changed files with 2 additions and 2 deletions
|
|
@ -74,8 +74,8 @@ export class CommandController extends Controller {
|
|||
: `${status.trim().toLocaleUpperCase()}`,
|
||||
},
|
||||
)
|
||||
.andWhere(year != null && year != undefined && year != 0 ? "command.year = :year" : "1=1", {
|
||||
year: year == null || year == undefined || year == 0 ? null : `${year}`,
|
||||
.andWhere(year != null && year != undefined && year != 0 ? "command.commandYear = :commandYear" : "1=1", {
|
||||
commandYear: year == null || year == undefined || year == 0 ? null : `${year}`,
|
||||
})
|
||||
.andWhere(
|
||||
commandTypeId != null && commandTypeId != undefined && commandTypeId != ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue