Merge branch 'develop' of github.com:Frappet/hrms-api-org into develop
This commit is contained in:
commit
124d79dbee
1 changed files with 51 additions and 1 deletions
|
|
@ -176,6 +176,56 @@ export class ProfileSalaryTempController extends Controller {
|
|||
searchKeyword != null && searchKeyword != ""
|
||||
? `posLevel.posLevelName like '%${searchKeyword}%'`
|
||||
: "1=1",
|
||||
)
|
||||
.orWhere(
|
||||
searchKeyword != null && searchKeyword != ""
|
||||
? `CONCAT(
|
||||
orgRoot.orgRootShortName,
|
||||
current_holders.posMasterNo
|
||||
) like '%${searchKeyword}%'`
|
||||
: "1=1",
|
||||
)
|
||||
.orWhere(
|
||||
searchKeyword != null && searchKeyword != ""
|
||||
? `CONCAT(
|
||||
orgRoot.orgRootShortName,
|
||||
orgChild1.orgChild1ShortName,
|
||||
current_holders.posMasterNo
|
||||
) like '%${searchKeyword}%'`
|
||||
: "1=1",
|
||||
)
|
||||
.orWhere(
|
||||
searchKeyword != null && searchKeyword != ""
|
||||
? `CONCAT(
|
||||
orgRoot.orgRootShortName,
|
||||
orgChild1.orgChild1ShortName,
|
||||
orgChild2.orgChild2ShortName,
|
||||
current_holders.posMasterNo
|
||||
) like '%${searchKeyword}%'`
|
||||
: "1=1",
|
||||
)
|
||||
.orWhere(
|
||||
searchKeyword != null && searchKeyword != ""
|
||||
? `CONCAT(
|
||||
orgRoot.orgRootShortName,
|
||||
orgChild1.orgChild1ShortName,
|
||||
orgChild2.orgChild2ShortName,
|
||||
orgChild3.orgChild3ShortName,
|
||||
current_holders.posMasterNo
|
||||
) like '%${searchKeyword}%'`
|
||||
: "1=1",
|
||||
)
|
||||
.orWhere(
|
||||
searchKeyword != null && searchKeyword != ""
|
||||
? `CONCAT(
|
||||
orgRoot.orgRootShortName,
|
||||
orgChild1.orgChild1ShortName,
|
||||
orgChild2.orgChild2ShortName,
|
||||
orgChild3.orgChild3ShortName,
|
||||
orgChild4.orgChild4ShortName,
|
||||
current_holders.posMasterNo
|
||||
) like '%${searchKeyword}%'`
|
||||
: "1=1",
|
||||
);
|
||||
}),
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue