#246 เคลีนร์ isSit
This commit is contained in:
parent
a678f95075
commit
399bf87ba6
1 changed files with 2 additions and 2 deletions
|
|
@ -280,7 +280,7 @@ export async function removeProfileInOrganize(profileId: string, type: string) {
|
||||||
await AppDataSource.getRepository(PosMaster)
|
await AppDataSource.getRepository(PosMaster)
|
||||||
.createQueryBuilder()
|
.createQueryBuilder()
|
||||||
.update(PosMaster)
|
.update(PosMaster)
|
||||||
.set({ current_holderId: null })
|
.set({ current_holderId: null, isSit: false })
|
||||||
.where("id = :id", { id: findProfileInposMaster?.id })
|
.where("id = :id", { id: findProfileInposMaster?.id })
|
||||||
.execute();
|
.execute();
|
||||||
|
|
||||||
|
|
@ -293,7 +293,7 @@ export async function removeProfileInOrganize(profileId: string, type: string) {
|
||||||
await AppDataSource.getRepository(PosMaster)
|
await AppDataSource.getRepository(PosMaster)
|
||||||
.createQueryBuilder()
|
.createQueryBuilder()
|
||||||
.update(PosMaster)
|
.update(PosMaster)
|
||||||
.set({ next_holderId: null })
|
.set({ next_holderId: null, isSit: false })
|
||||||
.where("id = :id", { id: findProfileInposMasterDraft?.id })
|
.where("id = :id", { id: findProfileInposMasterDraft?.id })
|
||||||
.execute();
|
.execute();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue