| | |
| | | return AjaxResult.success(procurementRecordService.add(procurementDto)); |
| | | } |
| | | |
| | | @PostMapping("/addProduct") |
| | | @Log(title = "入库管理-产品入库", businessType = BusinessType.INSERT) |
| | | @Transactional |
| | | public AjaxResult addProduct(@RequestBody Details detail) { |
| | | return AjaxResult.success(procurementRecordService.addProduct(detail)); |
| | | } |
| | | |
| | | @PostMapping("/update") |
| | | @Log(title = "采购入库-入库管理-修改入库", businessType = BusinessType.UPDATE) |
| | | @Transactional |
| | |
| | | IPage<ProcurementPageDto> result =procurementRecordService.listPage(page, procurementDto); |
| | | return AjaxResult.success(result); |
| | | } |
| | | |
| | | @GetMapping("/listReport") |
| | | @ApiOperation(value = "查询库存图表数据") |
| | | public AjaxResult listReport() { |
| | | return AjaxResult.success(procurementRecordService.getReportList()); |
| | | } |
| | | @GetMapping("/listPageCopy") |
| | | @Log(title = "采购入库-入库管理-入库查询", businessType = BusinessType.OTHER) |
| | | public AjaxResult listPageCopy(Page page, ProcurementPageDto procurementDto) { |