- Aggiornamento dal DB di GM al DB Locale
This commit is contained in:
@@ -99,7 +99,7 @@ CatalogSchema.statics.executeQueryTable = function (idapp, params, user) {
|
||||
return tools.executeQueryTable(this, idapp, params, user);
|
||||
};
|
||||
|
||||
CatalogSchema.statics.OLD_findAllIdApp = async function (idapp) {
|
||||
/*CatalogSchema.statics.OLD_findAllIdApp = async function (idapp) {
|
||||
const Catalog = this;
|
||||
|
||||
const arrrec = await Catalog.aggregate([
|
||||
@@ -122,7 +122,7 @@ CatalogSchema.statics.OLD_findAllIdApp = async function (idapp) {
|
||||
]);
|
||||
|
||||
return arrrec;
|
||||
};
|
||||
};*/
|
||||
|
||||
CatalogSchema.statics.findAllIdApp = async function (idapp) {
|
||||
const Catalog = this;
|
||||
|
||||
@@ -50,6 +50,9 @@ const productInfoSchema = new Schema({
|
||||
},
|
||||
idCatProds: [{ type: Schema.Types.ObjectId, ref: 'CatProd' }],
|
||||
idSubCatProds: [{ type: Schema.Types.ObjectId, ref: 'SubCatProd' }],
|
||||
idStatoProdotto: {
|
||||
type: Number
|
||||
},
|
||||
color: {
|
||||
type: String
|
||||
},
|
||||
@@ -148,6 +151,7 @@ const productInfoSchema = new Schema({
|
||||
totFat: Number,
|
||||
vLast3M: Number,
|
||||
fatLast3M: Number,
|
||||
fatLast6M: Number,
|
||||
vLast6M: Number,
|
||||
vLastY: Number,
|
||||
vLast2Y: Number,
|
||||
|
||||
Reference in New Issue
Block a user