check point

This commit is contained in:
AdisakKanthawilang 2024-02-20 16:01:05 +07:00
parent c78548410b
commit 9bfc141e4b
2 changed files with 3 additions and 2 deletions

View file

@ -1574,7 +1574,7 @@ export class OrganizationController extends Controller {
/**
* API
*
* @summary ORG_053 - (ADMIN) #57
* @summary ORG_071 - (ADMIN) #57
*
* @param {string} id Id revison
*/

View file

@ -832,7 +832,7 @@ export class PositionController extends Controller {
/**
* API
*
* @summary ORG_053 - (ADMIN) #56
* @summary ORG_070 - (ADMIN) #56
*
*/
@Post("master/list")
@ -999,6 +999,7 @@ export class PositionController extends Controller {
.leftJoinAndSelect("posMaster.current_holder", "current_holder")
.leftJoinAndSelect("posMaster.next_holder", "next_holder")
.where(conditions)
// .where("posMaster.orgRevisionId = :revisionId", { revisionId: body.revisionId })
.orWhere(
new Brackets((qb) => {
qb.where(searchShortName)