|
|
@@ -46,6 +46,11 @@ export class RcsNumberController {
|
|
|
return await this.rcsNumberService.configured(Number(id))
|
|
|
}
|
|
|
|
|
|
+ @Post('/:id/wasted')
|
|
|
+ async wasted(@Param('id') id: string) {
|
|
|
+ return await this.rcsNumberService.configured(Number(id))
|
|
|
+ }
|
|
|
+
|
|
|
@Put('/:id/stockFlag/:flag')
|
|
|
async stockFlag(@Param('id') id: string, @Param('flag') flag: string) {
|
|
|
return await this.rcsNumberService.updateStockFlag(Number(id), Number(flag))
|