แก้ search posLevel emp
This commit is contained in:
parent
40c6cc32a7
commit
507c841362
2 changed files with 5 additions and 1 deletions
|
|
@ -4100,6 +4100,10 @@ export class ProfileController extends Controller {
|
|||
IFNULL(orgRoot.orgRootShortName, ''),
|
||||
IFNULL(current_holders.posMasterNo , '')
|
||||
) LIKE :keyword`;
|
||||
// queryLike = `CONCAT(
|
||||
// IFNULL(orgRoot.orgRootShortName, ''),
|
||||
// IFNULL(current_holders.posMasterNo , '')
|
||||
// ) LIKE :keyword`;
|
||||
}
|
||||
let nodeCondition = "1=1";
|
||||
let nodeAll = "";
|
||||
|
|
|
|||
|
|
@ -1500,7 +1500,7 @@ export class ProfileEmployeeController extends Controller {
|
|||
)
|
||||
.andWhere(
|
||||
posLevel != undefined && posLevel != null && posLevel != ""
|
||||
? "posLevel.posLevelName LIKE :keyword2"
|
||||
? `CONCAT(posType.posTypeShortName,' ',posLevel.posLevelName) LIKE :keyword2`
|
||||
: "1=1",
|
||||
{
|
||||
keyword2: `${posLevel}`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue