เพิ่มฟิวหน่วยงานผู้ค้ำ

This commit is contained in:
Kittapath 2024-04-18 16:17:37 +07:00
parent 109bea3fc8
commit a840274150
5 changed files with 84 additions and 7 deletions

View file

@ -239,7 +239,7 @@ export class DevelopmentEmployeeHistoryController extends Controller {
{ year: body.year },
)
.andWhere(
body.root != null && body.root != undefined ? "developmentHistory.rootId = :root" : "1=1",
body.root != null && body.root != undefined ? "developmentHistory.root = :root" : "1=1",
{
root: body.root,
},