| | |
| | | |
| | | 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.dto.ManageMeetingDto; |
| | | import com.ruoyi.manage.service.ManageMeetingService; |
| | | 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.*; |
| | |
| | | @Resource |
| | | private ManageMeetingService manageMeetingService; |
| | | |
| | | @ValueClassify(value = "管理评审会议记录") |
| | | @ApiOperation(value = "管理评审会议记录查询") |
| | | @GetMapping("/getPageMeeting") |
| | | public Result<IPage<ManageMeetingDto>> getPageMeeting(Page page, String startTime, String endTime, String place) throws Exception { |
| | |
| | | return Result.success(ipage); |
| | | } |
| | | |
| | | @ValueClassify(value = "管理评审会议记录") |
| | | @ApiOperation(value = "新增会议记录") |
| | | @PostMapping("/addMeeting") |
| | | public Result addMeeting(@RequestBody ManageMeetingDto dto){ |
| | |
| | | return Result.success(); |
| | | } |
| | | |
| | | @ValueClassify(value = "管理评审会议记录") |
| | | @ApiOperation(value = "编辑会议记录") |
| | | @PutMapping("/modifyMeeting") |
| | | public Result modifyMeeting(@RequestBody ManageMeetingDto manageMeetingDto){ |
| | | return Result.success(manageMeetingService.modifyMeeting(manageMeetingDto)); |
| | | } |
| | | |
| | | @ValueClassify(value = "管理评审会议记录") |
| | | @ApiOperation(value = "删除会议记录") |
| | | @DeleteMapping("/deleteMeeting") |
| | | public Result deleteMeeting(Integer id){ |
| | |
| | | } |
| | | |
| | | |
| | | @ValueClassify(value = "管理评审会议记录") |
| | | @ApiOperation(value = "下载会议记录") |
| | | @PostMapping("/exportMeeting") |
| | | public void exportMeeting(Integer id, HttpServletResponse response){ |