| | |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletResponse; |
| | |
| | | return Result.success(processOrderService.pageProcessOrder(page, processOrderDto)); |
| | | } |
| | | |
| | | /** |
| | | * 上传文件 |
| | | * @param file |
| | | * @return |
| | | */ |
| | | @PostMapping("/uploadFile") |
| | | public Result uploadFile(@RequestParam("file") MultipartFile file, @RequestParam("id") Integer id) { |
| | | processOrderService.uploadFile(file,id); |
| | | return Result.success(); |
| | | } |
| | | |
| | | @ApiOperation(value = "删除要求、标书和合同评审") |
| | | @DeleteMapping("/delProcessOrder") |
| | | public Result delProcessOrder(Long id) { |