fix
This commit is contained in:
parent
e8890133bb
commit
61c92088b1
2 changed files with 4 additions and 2 deletions
|
|
@ -1184,7 +1184,7 @@ export class EmployeePositionController extends Controller {
|
|||
? _data.child1[0] != null
|
||||
? `posMaster.orgChild1Id IN (:...child1)`
|
||||
// : `posMaster.orgChild1Id is ${_data.privilege == "PARENT" ? "not null" : "null"}`
|
||||
: `posMaster.orgChild1Id is null`
|
||||
: `posMaster.orgChild1Id is null`
|
||||
: "1=1",
|
||||
{
|
||||
child1: _data.child1,
|
||||
|
|
@ -1373,6 +1373,7 @@ export class EmployeePositionController extends Controller {
|
|||
|
||||
return {
|
||||
id: posMaster.id,
|
||||
ancestorDNA: posMaster.ancestorDNA,
|
||||
current_holderId: posMaster.current_holderId,
|
||||
orgRootId: posMaster.orgRootId,
|
||||
orgChild1Id: posMaster.orgChild1Id,
|
||||
|
|
|
|||
|
|
@ -902,7 +902,7 @@ export class EmployeeTempPositionController extends Controller {
|
|||
? _data.child1[0] != null
|
||||
? `posMaster.orgChild1Id IN (:...child1)`
|
||||
// : `posMaster.orgChild1Id is ${_data.privilege == "PARENT" ? "not null" : "null"}`
|
||||
: `posMaster.orgChild1Id is null`
|
||||
: `posMaster.orgChild1Id is null`
|
||||
: "1=1",
|
||||
{
|
||||
child1: _data.child1,
|
||||
|
|
@ -1091,6 +1091,7 @@ export class EmployeeTempPositionController extends Controller {
|
|||
|
||||
return {
|
||||
id: posMaster.id,
|
||||
ancestorDNA: posMaster.ancestorDNA,
|
||||
current_holderId: posMaster.current_holderId,
|
||||
orgRootId: posMaster.orgRootId,
|
||||
orgChild1Id: posMaster.orgChild1Id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue