| | |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.validation.Valid; |
| | |
| | | |
| | | @PostMapping("productSoftwareSubmit") |
| | | @ApiOperation(value="产品软件审批提交") |
| | | public Response productSoftwareSubmit(@Valid WorksheetMainDTO2 mainDTO) throws IOException { |
| | | public Response productSoftwareSubmit(@RequestParam MultipartFile file, @Valid WorksheetMainDTO2 mainDTO) throws IOException { |
| | | DocUser user = ActionUtil.getUser(); |
| | | return service.productSoftwareSubmit(mainDTO,user); |
| | | return service.productSoftwareSubmit(file,mainDTO,user); |
| | | } |
| | | |
| | | @GetMapping("statusStatistic") |