| | |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | stockInventoryDto.setRecordId(0L); |
| | | return R.ok(stockInventoryService.subtractStockInventory(stockInventoryDto)); |
| | | } |
| | | |
| | | |
| | | @GetMapping("importStockInventory") |
| | | @ApiOperation("导入库存") |
| | | public R importStockInventory(MultipartFile file) { |
| | | return R.ok(stockInventoryService.importStockInventory(file)); |
| | | |
| | | } |
| | | } |