fix: 修复 queryList 中 stockIds 筛选 if 块缺失导致语法错误
This commit is contained in:
parent
df8173cecd
commit
07f35c43bf
@ -477,6 +477,8 @@ class StockTransactionService extends Service {
|
|||||||
|
|
||||||
// 商品筛选
|
// 商品筛选
|
||||||
const normalizedStockIds = resolvedStockIds;
|
const normalizedStockIds = resolvedStockIds;
|
||||||
|
if (normalizedStockIds.length > 0) {
|
||||||
|
whereClauses.push('t.stock_id IN (:stockIds)');
|
||||||
replacements.stockIds = normalizedStockIds;
|
replacements.stockIds = normalizedStockIds;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user