| | |
| | | public Result updateOrderFileByOrderNumber( |
| | | @RequestParam("file") MultipartFile file, |
| | | @RequestParam("name") String name, |
| | | @RequestParam("width") Float width, |
| | | @RequestParam("height") Float height, |
| | | @PathVariable String orderId, |
| | | @PathVariable String orderNumber) throws IOException { |
| | | |
| | | return Result.success(orderFileService.updateOrderFileByOrderNumber(file,name,orderId,orderNumber)); |
| | | return Result.success( |
| | | orderFileService.updateOrderFileByOrderNumber(file,name,orderId,orderNumber,width,height) |
| | | ); |
| | | } |
| | | @PostMapping("/getOrderFilePicture") |
| | | public Result getOrderFilePicture(@RequestBody List<Map<String,Object>> orderDetails) throws NoSuchFieldException { |