| | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.manage.annotation.ValueClassify; |
| | | |
| | | import com.ruoyi.common.core.domain.Result; |
| | | import com.ruoyi.manage.pojo.ManageReviewProgram; |
| | | import com.ruoyi.manage.service.ManageReviewProgramService; |
| | | import com.ruoyi.manage.vo.Result; |
| | | import com.deepoove.poi.data.style.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | private ManageReviewProgramService manageReviewProgramService; |
| | | |
| | | |
| | | @ValueClassify(value = "管理评审计划") |
| | | @ApiOperation(value = "查询评审计划") |
| | | @GetMapping("/getPageReviewProgram") |
| | | public Result<IPage<ManageReviewProgram>> getPageReviewProgram(Page page, String startTime,String endTime, String judgingLocation) throws Exception { |
| | |
| | | } |
| | | |
| | | |
| | | @ValueClassify(value = "管理评审计划") |
| | | @ApiOperation(value = "新增评审计划") |
| | | @PostMapping("/addReviewProgram") |
| | | public Result addReviewProgram(@RequestBody ManageReviewProgram manageReviewProgram){ |
| | | return Result.success(manageReviewProgramService.addReviewProgram(manageReviewProgram)); |
| | | } |
| | | |
| | | @ValueClassify(value = "管理评审计划") |
| | | @ApiOperation(value = "编辑评审计划") |
| | | @PutMapping("/modifyReviewProgram") |
| | | public Result modifyReviewProgram(@RequestBody ManageReviewProgram manageReviewProgram){ |
| | | return Result.success(manageReviewProgramService.updateById(manageReviewProgram)); |
| | | } |
| | | |
| | | @ValueClassify(value = "管理评审计划") |
| | | @ApiOperation(value = "删除评审计划") |
| | | @DeleteMapping("/deleteReviewProgram") |
| | | public Result deleteReviewProgram( Integer id){ |
| | |
| | | } |
| | | |
| | | |
| | | @ValueClassify(value = "管理评审计划") |
| | | @ApiOperation(value = "下载评审计划") |
| | | @PostMapping("/exportReviewProgram") |
| | | public void exportReviewProgram(Integer id, HttpServletResponse response){ |