fix issue #679
This commit is contained in:
parent
eab9b79aa7
commit
9a0348dada
1 changed files with 11 additions and 1 deletions
|
|
@ -2561,7 +2561,17 @@ export class CommandController extends Controller {
|
|||
await Promise.all(
|
||||
body.data.map(async (item) => {
|
||||
const profile = await this.profileRepository.findOne({
|
||||
relations: ["profileSalary","posType","posLevel"],
|
||||
relations: [
|
||||
"profileSalary",
|
||||
"posType",
|
||||
"posLevel",
|
||||
"current_holders",
|
||||
"current_holders.orgRoot",
|
||||
"current_holders.orgChild1",
|
||||
"current_holders.orgChild2",
|
||||
"current_holders.orgChild3",
|
||||
"current_holders.orgChild4",
|
||||
],
|
||||
where: { id: item.profileId },
|
||||
order: {
|
||||
profileSalary: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue