@chenchaolong/plugin-trade-compliance-workbench 1.0.106 → 1.0.108
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/catalog-import/confidence.js +7 -4
- package/dist/lib/catalog-import/confidence.js.map +1 -1
- package/dist/lib/remote-components/trade-compliance-workbench/app.js +6 -6
- package/dist/lib/remote-components/trade-compliance-workbench/editor.js +127 -127
- package/dist/lib/remote-ui/pages/catalogs.d.ts.map +1 -1
- package/dist/lib/remote-ui/pages/catalogs.js +2 -2
- package/dist/lib/remote-ui/pages/catalogs.js.map +1 -1
- package/dist/lib/workbench.service.d.ts.map +1 -1
- package/dist/lib/workbench.service.js +0 -5
- package/dist/lib/workbench.service.js.map +1 -1
- package/package.json +1 -1
|
@@ -718,7 +718,6 @@ let TradeComplianceWorkbenchService = class TradeComplianceWorkbenchService {
|
|
|
718
718
|
const builder = this.dataSource.getRepository(entity).createQueryBuilder('issue')
|
|
719
719
|
.where('issue."tenantId" = :tenantId', { tenantId: scope.tenantId })
|
|
720
720
|
.andWhere('issue."organizationId" = :organizationId', { organizationId: scope.organizationId })
|
|
721
|
-
.andWhere('issue."deletedAt" IS NULL')
|
|
722
721
|
.andWhere('issue."batchId" = :batchId', { batchId: query.batchId });
|
|
723
722
|
if (query.issueType === 'DUPLICATE') {
|
|
724
723
|
builder.andWhere('issue."issueType" = :issueType', { issueType: 'DUPLICATE' });
|
|
@@ -1570,10 +1569,6 @@ let TradeComplianceWorkbenchService = class TradeComplianceWorkbenchService {
|
|
|
1570
1569
|
await this.reconcileCatalogReviewPendingCount(reviewRepo, scope, task);
|
|
1571
1570
|
task.progress.progressVersion += 1;
|
|
1572
1571
|
task.progress.lastProgressAt = new Date().toISOString();
|
|
1573
|
-
const currentCounts = await this.catalogBatchCounts(manager, scope, task);
|
|
1574
|
-
if (currentCounts.successCount > 0 && task.progress.reviewPendingCount > 0) {
|
|
1575
|
-
await this.closeUnresolvedCatalogReviews(manager, scope, task);
|
|
1576
|
-
}
|
|
1577
1572
|
if (task.progress.reviewPendingCount === 0) {
|
|
1578
1573
|
const counts = await this.catalogBatchCounts(manager, scope, task);
|
|
1579
1574
|
const outcome = catalogTerminalOutcome(counts);
|