fix org_053

This commit is contained in:
AdisakKanthawilang 2024-02-12 15:44:34 +07:00
parent 2809626c45
commit ff057c6824

View file

@ -744,7 +744,7 @@ export class PositionController extends Controller {
let shortName = "";
if (body.isAll === true) {
// if (body.isAll === true) {
if (
posMaster.orgRootId !== null &&
posMaster.orgChild1Id == null &&
@ -786,7 +786,7 @@ export class PositionController extends Controller {
body.type = 4;
shortName = posMaster.orgChild4.orgChild4ShortName;
}
}
// }
return {
id: posMaster.id,