feat(SPG-777): add validation delete for tenant item bundling

pull/52/head
Firman Ramdhani 2024-08-06 11:39:40 +07:00
parent a2c1af2a65
commit e7664be8a8
1 changed files with 4 additions and 5 deletions

View File

@ -83,11 +83,10 @@ export class ItemDataOrchestrator extends BaseDataTransactionOrchestrator<ItemEn
tenantId?: string, tenantId?: string,
): Promise<BatchResult> { ): Promise<BatchResult> {
console.log('batch delete item tenant'); console.log('batch delete item tenant');
return; this.batchDeleteManager.setData(dataIds);
// this.batchDeleteManager.setData(dataIds); this.batchDeleteManager.setService(this.serviceData, TABLE_NAME.ITEM);
// this.batchDeleteManager.setService(this.serviceData, TABLE_NAME.ITEM); await this.batchDeleteManager.execute();
// await this.batchDeleteManager.execute(); return this.batchDeleteManager.getResult();
// return this.batchDeleteManager.getResult();
} }
async active(dataId, tenantId?: string): Promise<string> { async active(dataId, tenantId?: string): Promise<string> {