import ตำแหน่ง
This commit is contained in:
parent
1e1bd56db6
commit
20ff14def9
3 changed files with 13 additions and 6 deletions
|
|
@ -1009,7 +1009,7 @@ export class OrgRootController extends Controller {
|
|||
relations: ["positions", "positions.posLevel", "positions.posType"],
|
||||
});
|
||||
for (const item of employeePosMaster) {
|
||||
if (item.next_holderId != null && status == "NOW") {
|
||||
if (item.next_holderId != null) {
|
||||
const profile = await repoProfileEmployee.findOne({
|
||||
where: { id: item.next_holderId == null ? "" : item.next_holderId },
|
||||
});
|
||||
|
|
@ -1031,7 +1031,7 @@ export class OrgRootController extends Controller {
|
|||
relations: ["positions", "positions.posLevel", "positions.posType"],
|
||||
});
|
||||
for (const item of employeeTempPosMaster) {
|
||||
if (item.next_holderId != null && status == "NOW") {
|
||||
if (item.next_holderId != null) {
|
||||
const profile = await repoProfileEmployee.findOne({
|
||||
where: { id: item.next_holderId == null ? "" : item.next_holderId },
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue