feat: refs #6897 add groupingMode and hasMinPrice parameters to getBuyList method
gitea/salix/pipeline/pr-dev This commit looks good
Details
gitea/salix/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
13d9cac340
commit
e4cd30bc27
|
@ -148,6 +148,18 @@ module.exports = Self => {
|
||||||
description: 'item family id',
|
description: 'item family id',
|
||||||
http: {source: 'query'}
|
http: {source: 'query'}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
arg: 'groupingMode',
|
||||||
|
type: 'string',
|
||||||
|
description: 'grouping mode',
|
||||||
|
http: {source: 'query'}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
arg: 'hasMinPrice',
|
||||||
|
type: 'boolean',
|
||||||
|
description: 'grouping mode',
|
||||||
|
http: {source: 'query'}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
arg: 'groupBy',
|
arg: 'groupBy',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
@ -196,6 +208,8 @@ module.exports = Self => {
|
||||||
case 'minPrice':
|
case 'minPrice':
|
||||||
case 'workerFk':
|
case 'workerFk':
|
||||||
case 'itemTypeFk':
|
case 'itemTypeFk':
|
||||||
|
case 'groupingMode':
|
||||||
|
case 'hasMinPrice':
|
||||||
return {[param]: value};
|
return {[param]: value};
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue