@things-factory/warehouse-base 4.3.78 → 4.3.79

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.
@@ -1570,8 +1570,8 @@ async function filterInventoryQuery(tx, params, bizplace, context) {
1570
1570
  from inventories i2
1571
1571
  inner join reduced_inventory_histories ih on ih.pallet_id = i2.pallet_id and ih.domain_id = i2.domain_id
1572
1572
  where
1573
- i2.domain_id = $1
1574
- and i2.bizplace_id = $2
1573
+ ih.domain_id = $1
1574
+ and ih.bizplace_id = $2
1575
1575
  and ih.created_at <= $3
1576
1576
  ${batchNoQuery}
1577
1577
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/warehouse-base",
3
- "version": "4.3.78",
3
+ "version": "4.3.79",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -26,10 +26,10 @@
26
26
  "dependencies": {
27
27
  "@things-factory/biz-base": "^4.3.78",
28
28
  "@things-factory/id-rule-base": "^4.3.78",
29
- "@things-factory/integration-sellercraft": "^4.3.78",
29
+ "@things-factory/integration-sellercraft": "^4.3.79",
30
30
  "@things-factory/marketplace-base": "^4.3.78",
31
31
  "@things-factory/product-base": "^4.3.78",
32
32
  "@things-factory/setting-base": "^4.3.78"
33
33
  },
34
- "gitHead": "90e997e892d476732961326f4731ca47b22a45bc"
34
+ "gitHead": "e1d319473973c800e4605cc6c47836b9a328c71b"
35
35
  }
@@ -1769,8 +1769,8 @@ async function filterInventoryQuery(tx: EntityManager, params: ListParam, bizpla
1769
1769
  from inventories i2
1770
1770
  inner join reduced_inventory_histories ih on ih.pallet_id = i2.pallet_id and ih.domain_id = i2.domain_id
1771
1771
  where
1772
- i2.domain_id = $1
1773
- and i2.bizplace_id = $2
1772
+ ih.domain_id = $1
1773
+ and ih.bizplace_id = $2
1774
1774
  and ih.created_at <= $3
1775
1775
  ${batchNoQuery}
1776
1776
  )