@things-factory/product-base 4.3.80-alpha.3 → 4.3.82
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.
|
@@ -89,8 +89,8 @@ let ProductQuery = class ProductQuery {
|
|
|
89
89
|
}
|
|
90
90
|
const qb = buildCustomConditions(params, context, bizplaces);
|
|
91
91
|
let [items, total] = await qb
|
|
92
|
-
.leftJoinAndSelect('
|
|
93
|
-
.leftJoinAndSelect('
|
|
92
|
+
.leftJoinAndSelect('product.productDetails', 'ProductDetails')
|
|
93
|
+
.leftJoinAndSelect('product.routing', 'Routing')
|
|
94
94
|
.getManyAndCount();
|
|
95
95
|
items = items.map(itm => {
|
|
96
96
|
let defaultProductDetail = itm.productDetails.find(itm => itm.isDefault);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/product-base",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.82",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@things-factory/biz-base": "^4.3.
|
|
28
|
-
"@things-factory/routing-base": "^4.3.
|
|
27
|
+
"@things-factory/biz-base": "^4.3.82",
|
|
28
|
+
"@things-factory/routing-base": "^4.3.82"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "fb0cb65bba75de2d2d0784202138d6d79dafa274"
|
|
31
31
|
}
|
|
@@ -100,8 +100,8 @@ export class ProductQuery {
|
|
|
100
100
|
const qb: SelectQueryBuilder<Product> = buildCustomConditions(params, context, bizplaces)
|
|
101
101
|
|
|
102
102
|
let [items, total] = await qb
|
|
103
|
-
.leftJoinAndSelect('
|
|
104
|
-
.leftJoinAndSelect('
|
|
103
|
+
.leftJoinAndSelect('product.productDetails', 'ProductDetails')
|
|
104
|
+
.leftJoinAndSelect('product.routing', 'Routing')
|
|
105
105
|
.getManyAndCount()
|
|
106
106
|
|
|
107
107
|
items = items.map(itm => {
|