| | |
| | | |
| | | @ApiOperation("补片流程卡明细查询接口") |
| | | @SaCheckPermission("printReplenishFlowCard.search") |
| | | @PostMapping("/selectPrint/{selectTime1}/{selectTime2}") |
| | | @PostMapping("/selectPrint/{selectDate}") |
| | | public Result selectPrint( |
| | | @PathVariable Date selectTime1, |
| | | @PathVariable Date selectTime2, |
| | | @PathVariable List<String> selectDate, |
| | | @RequestBody FlowCard flowCard) { |
| | | return Result.success(replenishService.selectPrintSv(selectTime1,selectTime2, flowCard)); |
| | | return Result.success(replenishService.selectPrintSv(selectDate, flowCard)); |
| | | |
| | | } |
| | | |
| | |
| | | //参数:相应的数据,实体类信息,相应的方法(数据获取),生成的excel名字 |
| | | DownExcel.download(response, exportReplenishDTO.class, replenishService.exportReplenishSv(dates), "PatchLogAddDTO"); |
| | | } |
| | | |
| | | @ApiOperation("修改打印次数") |
| | | @PostMapping("/updatePrintNum") |
| | | public Result updatePrintNum( |
| | | @RequestBody List<Map<String, Object>> object |
| | | ) { |
| | | |
| | | return Result.success(replenishService.updatePrintNumSv(object)); |
| | | } |
| | | } |