| | |
| | | this.tokenService = tokenService; |
| | | this.redisCache = redisCache; |
| | | } |
| | | |
| | | @Log(title = "生成-餐饮数据生成", businessType = BusinessType.INSERT) |
| | | @ApiOperation( value = "餐饮数据生成") |
| | | @PostMapping(value = "/mealDataGenerator") |
| | | public AjaxResult<String> mealDataGenerator(@RequestBody OrderMealGeneratorDTO dto) { |
| | |
| | | dataGeneratorService.mealDataGenerator(dto); |
| | | return AjaxResult.success(); |
| | | } |
| | | |
| | | @Log(title = "生成-销售数据生成", businessType = BusinessType.INSERT) |
| | | @ApiOperation( value = "销售数据生成") |
| | | @PostMapping(value = "/saleDataGenerator") |
| | | public AjaxResult<String> saleDataGenerator(@RequestBody OrderSaleGeneratorDTO dto) { |
| | |
| | | dataGeneratorService.dataCoverage(id); |
| | | return AjaxResult.success(); |
| | | } |
| | | |
| | | @Log(title = "生成-数据生成终止", businessType = BusinessType.UPDATE) |
| | | @ApiOperation( value = "数据生成终止 shopId=店铺id type: 1=餐饮 2=进货") |
| | | @GetMapping(value = "/stopGenerator") |
| | | public AjaxResult<String> stopGenerator(@RequestParam(value = "shopId") Long shopId, |
| | |
| | | // } |
| | | // } |
| | | // } |
| | | @Log(title = "生成-餐饮生成数据详情导出", businessType = BusinessType.UPDATE) |
| | | @ApiOperation( value = "餐饮生成数据详情导出") |
| | | @PostMapping(value = "/mealGeneratorExport") |
| | | public void mealGeneratorExport(@Validated @RequestBody TDataGeneratorMealQuery query) { |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | @Log(title = "生成-销售生成数据详情导出", businessType = BusinessType.UPDATE) |
| | | @ApiOperation( value = "销售生成数据详情导出") |
| | | @PostMapping(value = "/saleGeneratorExport") |
| | | public void saleGeneratorExport(@Validated @RequestBody TDataGeneratorSaleQuery query) { |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | @Log(title = "生成-餐饮数据生成列表导出", businessType = BusinessType.UPDATE) |
| | | @ApiOperation( value = "餐饮数据生成列表导出") |
| | | @PostMapping(value = "/mealGeneratorListExport") |
| | | public void mealGeneratorListExport(@RequestBody TDataGeneratorQuery query) { |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | @Log(title = "生成-销售数据生成列表导出", businessType = BusinessType.UPDATE) |
| | | @ApiOperation( value = "销售数据生成列表导出") |
| | | @PostMapping(value = "/saleGeneratorListExport") |
| | | public void saleGeneratorListExport(@RequestBody TDataGeneratorQuery query) { |