fix(salix); #7283 fix duplicate results when itemTag not exist
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Javier Segarra 2024-08-21 19:19:40 +00:00
parent 462f9a95b7
commit bb5f1e2554
1 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,3 @@
const ParameterizedSQL = require('loopback-connector').ParameterizedSQL;
const buildFilter = require('vn-loopback/util/filter').buildFilter;
const mergeFilters = require('vn-loopback/util/filter').mergeFilters;
@ -134,7 +133,7 @@ module.exports = Self => {
const stmts = [];
const stmt = new ParameterizedSQL(`
SELECT fp.id,
SELECT DISTINCT fp.id,
fp.itemFk,
fp.warehouseFk,
fp.rate2,