ออกคำสั่ง
This commit is contained in:
parent
63ed0534d0
commit
3f3ec27abd
8 changed files with 268 additions and 19 deletions
|
|
@ -4091,7 +4091,7 @@ export class PositionController extends Controller {
|
|||
.leftJoinAndSelect("positions.posLevel", "posLevel")
|
||||
.leftJoinAndSelect("posMaster.orgRevision", "orgRevision")
|
||||
.andWhere("posMaster.orgRootId LIKE :orgRootId", {
|
||||
orgRootId: body.type.trim().toUpperCase() == "GROUP1" ? body.rootId : `%%`,
|
||||
orgRootId: body.type.trim().toUpperCase() == "GROUP1.1" ? body.rootId : `%%`,
|
||||
})
|
||||
.andWhere("posMaster.statusReport = :statusReport", { statusReport: "PENDING" })
|
||||
.andWhere("posMaster.next_holderId IS NOT NULL")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue