| | |
| | | } |
| | | @ApiOperation(value = "编辑产品验收信息") |
| | | @PostMapping("updateBomAcceptance") |
| | | public Response updateBomAcceptance(@RequestParam(required = false) MultipartFile fileLeft,@RequestParam(required = false) MultipartFile fileRight |
| | | ,@RequestParam(required = false) MultipartFile fileFront,@RequestParam(required = false) MultipartFile fileBack |
| | | ,@RequestParam(required = false) MultipartFile Agreement |
| | | ,@RequestPart(required = false) List<MultipartFile> multipartFileList, @RequestParam String feedbackJson) throws IOException { |
| | | BomAcceptance bomAcceptance = ActionUtil.getGson().fromJson(feedbackJson, BomAcceptance.class); |
| | | return service.updateBomAcceptance(fileLeft,fileRight,fileFront,fileBack,Agreement,multipartFileList,bomAcceptance); |
| | | public Response updateBomAcceptance(@RequestBody BomAcceptance bomAcceptance){ |
| | | return service.updateBomAcceptance(bomAcceptance); |
| | | } |
| | | |
| | | /*@ApiOperation(value = "编辑单个图片上传") |
| | | @PostMapping("updatePic") |
| | | public Response updatePic(@RequestBody BomAcceptance bomAcceptance){ |
| | | return service.updateBomAcceptance(bomAcceptance); |
| | | }*/ |
| | | } |