diff --git a/src/controllers/OrganizationController.ts b/src/controllers/OrganizationController.ts index b52b2768..b4761871 100644 --- a/src/controllers/OrganizationController.ts +++ b/src/controllers/OrganizationController.ts @@ -1581,9 +1581,11 @@ export class OrganizationController extends Controller { where: { orgRevisionId: orgRevisionDraft.id }, }); posMaster.forEach(async (item) => { - item.current_holderId = item.next_holderId; - item.next_holderId = null; - await this.posMasterRepository.save(item); + // if(item.next_holderId != null){ + item.current_holderId = item.next_holderId; + item.next_holderId = null; + await this.posMasterRepository.save(item); + // } }); return new HttpSuccess();