แก้ error
This commit is contained in:
parent
93fc8cfd53
commit
3a09badfe6
1 changed files with 2 additions and 2 deletions
|
|
@ -249,13 +249,13 @@ export class PermissionOrgController extends Controller {
|
|||
}
|
||||
|
||||
let queryLike =
|
||||
"CONCAT(profile.prefix, profile.firstName, ' ', profile.lastName) LIKE :keyword";
|
||||
"CONCAT(profileTree.prefix, profileTree.firstName, ' ', profileTree.lastName) LIKE :keyword";
|
||||
if (requestBody.searchField == "postype") {
|
||||
queryLike = "posLevel.posLevelName LIKE :keyword";
|
||||
} else if (requestBody.searchField == "poslevel") {
|
||||
queryLike = "posType.posTypeName LIKE :keyword";
|
||||
} else if (requestBody.searchField == "position") {
|
||||
queryLike = "profile.position LIKE :keyword";
|
||||
queryLike = "profileTree.position LIKE :keyword";
|
||||
} else if (requestBody.searchField == "posNo") {
|
||||
queryLike = `CONCAT(
|
||||
IFNULL(orgChild4.orgChild4ShortName, ''),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue