update
This commit is contained in:
parent
9eb44d1b38
commit
51c136ac1b
1 changed files with 1 additions and 1 deletions
|
|
@ -285,7 +285,7 @@ export async function removeProfileInOrganize(profileId: string, type: string) {
|
||||||
const findProfileInposMasterDraft = await AppDataSource.getRepository(PosMaster)
|
const findProfileInposMasterDraft = await AppDataSource.getRepository(PosMaster)
|
||||||
.createQueryBuilder("posMaster")
|
.createQueryBuilder("posMaster")
|
||||||
.where("posMaster.orgRevisionId = :orgRevisionId", { orgRevisionId: draftRevision?.id })
|
.where("posMaster.orgRevisionId = :orgRevisionId", { orgRevisionId: draftRevision?.id })
|
||||||
.andWhere("posMaster.current_holderId = :profileId", { profileId })
|
.andWhere("posMaster.next_holderId = :profileId", { profileId })
|
||||||
.getOne();
|
.getOne();
|
||||||
|
|
||||||
await AppDataSource.getRepository(PosMaster)
|
await AppDataSource.getRepository(PosMaster)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue