search รักษาการ

This commit is contained in:
kittapath 2025-02-27 17:31:44 +07:00
parent c1400a2226
commit 5287e4f286

View file

@ -7089,8 +7089,8 @@ export class OrganizationController extends Controller {
// x.current_holderId != null &&
x.isDirector === true,
)
.sort((a, b) => a.posMasterOrder - b.posMasterOrder) // Sort by posMasterOrder ASC
.slice(0, 3) // Select the first 3 rows
// .sort((a, b) => a.posMasterOrder - b.posMasterOrder) // Sort by posMasterOrder ASC
// .slice(0, 3) // Select the first 3 rows
.map(async (x) => ({
posmasterId: x.id,
posNo: orgRoot.orgRootShortName + x.posMasterNo,
@ -7137,8 +7137,8 @@ export class OrganizationController extends Controller {
// x.current_holderId != null &&
x.isDirector === true,
)
.sort((a, b) => a.posMasterOrder - b.posMasterOrder) // Sort by posMasterOrder ASC
.slice(0, 3) // Select the first 3 rows
// .sort((a, b) => a.posMasterOrder - b.posMasterOrder) // Sort by posMasterOrder ASC
// .slice(0, 3) // Select the first 3 rows
.map(async (x) => ({
posmasterId: x.id,
posNo: orgChild1.orgChild1ShortName + x.posMasterNo,
@ -7193,8 +7193,8 @@ export class OrganizationController extends Controller {
// x.current_holderId != null &&
x.isDirector === true,
)
.sort((a, b) => a.posMasterOrder - b.posMasterOrder) // Sort by posMasterOrder ASC
.slice(0, 3) // Select the first 3 rows
// .sort((a, b) => a.posMasterOrder - b.posMasterOrder) // Sort by posMasterOrder ASC
// .slice(0, 3) // Select the first 3 rows
.map(async (x) => ({
posmasterId: x.id,
posNo: orgChild2.orgChild2ShortName + x.posMasterNo,
@ -7256,8 +7256,8 @@ export class OrganizationController extends Controller {
// x.current_holderId != null &&
x.isDirector === true,
)
.sort((a, b) => a.posMasterOrder - b.posMasterOrder) // Sort by posMasterOrder ASC
.slice(0, 3) // Select the first 3 rows
// .sort((a, b) => a.posMasterOrder - b.posMasterOrder) // Sort by posMasterOrder ASC
// .slice(0, 3) // Select the first 3 rows
.map(async (x) => ({
posmasterId: x.id,
posNo: orgChild3.orgChild3ShortName + x.posMasterNo,
@ -7325,8 +7325,8 @@ export class OrganizationController extends Controller {
// x.current_holderId != null &&
x.isDirector === true,
)
.sort((a, b) => a.posMasterOrder - b.posMasterOrder) // Sort by posMasterOrder ASC
.slice(0, 3) // Select the first 3 rows
// .sort((a, b) => a.posMasterOrder - b.posMasterOrder) // Sort by posMasterOrder ASC
// .slice(0, 3) // Select the first 3 rows
.map(async (x) => ({
posmasterId: x.id,
posNo: orgChild4.orgChild4ShortName + x.posMasterNo,