feat: add support for step count store
This commit is contained in:
parent
f3639129d0
commit
fda22f4a31
1 changed files with 10 additions and 0 deletions
|
|
@ -69,6 +69,10 @@ type ServiceCreate = {
|
|||
* @isInt
|
||||
*/
|
||||
installmentNo?: number;
|
||||
/**
|
||||
* @isInt
|
||||
*/
|
||||
stepCount?: number;
|
||||
attributes?: { [key: string]: any };
|
||||
}[];
|
||||
attributes?: { [key: string]: any };
|
||||
|
|
@ -99,6 +103,10 @@ type ServiceUpdate = {
|
|||
* @isInt
|
||||
*/
|
||||
installmentNo?: number;
|
||||
/**
|
||||
* @isInt
|
||||
*/
|
||||
stepCount?: number;
|
||||
attributes?: { [key: string]: any };
|
||||
}[];
|
||||
attributes?: { [key: string]: any };
|
||||
|
|
@ -328,6 +336,7 @@ export class ServiceController extends Controller {
|
|||
create: w.product.map((p, pIdx) => ({
|
||||
productId: p.id,
|
||||
installmentNo: p.installmentNo,
|
||||
stepCount: p.stepCount,
|
||||
order: pIdx + 1,
|
||||
})),
|
||||
},
|
||||
|
|
@ -416,6 +425,7 @@ export class ServiceController extends Controller {
|
|||
data: w.product.map((p, pIdx) => ({
|
||||
productId: p.id,
|
||||
installmentNo: p.installmentNo,
|
||||
stepCount: p.stepCount,
|
||||
order: pIdx + 1,
|
||||
})),
|
||||
skipDuplicates: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue