tnx-shared 5.3.205 → 5.3.206

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.
@@ -21371,6 +21371,7 @@
21371
21371
  var _this = _super.call(this, http, injector, _moduleConfigService.getConfig().environment.apiDomain.workflowEndpoint + "/" + _moduleConfigService.getConfig().environment.apiVersion + "/WorkflowPermissionDetail") || this;
21372
21372
  _this.serviceManagers = {};
21373
21373
  _this.entityName = 'WorkflowPermissionDetail';
21374
+ _this.tableName = '';
21374
21375
  _this.endPoint = _moduleConfigService.getConfig().environment.apiDomain.workflowEndpoint;
21375
21376
  _this._moduleConfig = _moduleConfigService.getConfig();
21376
21377
  return _this;
@@ -21383,6 +21384,7 @@
21383
21384
  };
21384
21385
  WorkflowPermissionDetailService.prototype.changeEndpoint = function (baseService) {
21385
21386
  this.serviceUri = this.getEndpointByService(baseService) + "/WorkflowPermissionDetail";
21387
+ this.tableName = baseService.entityName;
21386
21388
  return this;
21387
21389
  };
21388
21390
  WorkflowPermissionDetailService.prototype.appendInfoForWorkflowSingle = function (userIdCurrent, data, fieldKey, ignoreWorkflow, callBackWhenNotHaveStatus) {
@@ -21492,6 +21494,9 @@
21492
21494
  this.newFilter('itemId', exports.Operator.in, lstItemId),
21493
21495
  this.newFilter('notInWorkflow', exports.Operator.equal, false),
21494
21496
  ];
21497
+ if (this.tableName) {
21498
+ filters.push(this.newFilter('tableName', exports.Operator.equal, this.tableName));
21499
+ }
21495
21500
  sorts = [];
21496
21501
  if (!ignoreWorkflow) {
21497
21502
  filters.push(this.newFilter('userId', exports.Operator.equal, userIdCurrent));