fix word
This commit is contained in:
parent
2bfc926f4b
commit
2809626c45
1 changed files with 6 additions and 6 deletions
|
|
@ -742,7 +742,7 @@ export class PositionController extends Controller {
|
|||
relations: ["posLevel", "posType", "posExecutive"],
|
||||
});
|
||||
|
||||
let shortName = null;
|
||||
let shortName = "";
|
||||
|
||||
if (body.isAll === true) {
|
||||
if (
|
||||
|
|
@ -1014,7 +1014,7 @@ export class PositionController extends Controller {
|
|||
id: item.id,
|
||||
orgShortName:
|
||||
item.orgRoot == null
|
||||
? "-"
|
||||
? null
|
||||
: item.orgChild1 == null
|
||||
? item.orgRoot.orgRootShortName
|
||||
: item.orgChild2 == null
|
||||
|
|
@ -1024,10 +1024,10 @@ export class PositionController extends Controller {
|
|||
: item.orgChild4 == null
|
||||
? item.orgChild3.orgChild3ShortName
|
||||
: item.orgChild4.orgChild4ShortName,
|
||||
lastUpdatedAt: item.lastUpdatedAt,
|
||||
posMasterNoPrefix: item.posMasterNoPrefix,
|
||||
posMasterNo: item.posMasterNo,
|
||||
posMasterNoSuffix: item.posMasterNoSuffix,
|
||||
lastUpdatedAt: item.lastUpdatedAt?item.posMasterNo:null,
|
||||
posMasterNoPrefix: item.posMasterNoPrefix?item.posMasterNoPrefix:null,
|
||||
posMasterNo: item.posMasterNo?item.posMasterNo:null,
|
||||
posMasterNoSuffix: item.posMasterNoSuffix?item.posMasterNoSuffix:null,
|
||||
}));
|
||||
return new HttpSuccess(_data);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue