| | |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.manage.annotation.ValueAuth; |
| | | import com.deepoove.poi.data.style.*; |
| | | import com.ruoyi.common.core.domain.Result; |
| | | import com.ruoyi.common.utils.JackSonUtil; |
| | | import com.ruoyi.manage.dto.InternalMeetingDto; |
| | | import com.ruoyi.manage.pojo.InternalMeeting; |
| | | import com.ruoyi.manage.service.InternalMeetingService; |
| | | import com.ruoyi.manage.utils.JackSonUtil; |
| | | import com.ruoyi.manage.vo.Result; |
| | | import com.deepoove.poi.data.style.*; |
| | | import com.deepoove.poi.data.style.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.AllArgsConstructor; |
| | |
| | | |
| | | /** |
| | | * 内审会议分页查询 |
| | | * @param data |
| | | * @param |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "内审会议分页查询") |
| | | @PostMapping("/pageInternalMeeting") |
| | | public Result<IPage<InternalMeetingDto>> pageInternalMeeting(@RequestBody Map<String, Object> data) throws Exception { |
| | | Page page = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("page")), Page.class); |
| | | InternalMeeting internalMeeting = JackSonUtil.unmarshal(JackSonUtil.marshal(data.get("entity")), InternalMeeting.class); |
| | | public Result<IPage<InternalMeetingDto>> pageInternalMeeting(Page page,InternalMeeting internalMeeting) throws Exception { |
| | | return Result.success(internalMeetingService.pageInternalMeeting(page, internalMeeting)); |
| | | } |
| | | |
| | |
| | | * 内审会议新增 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "内审会议新增") |
| | | @PostMapping("/addInternalMeeting") |
| | | public Result addInternalMeeting(@RequestBody InternalMeetingDto internalMeeting){ |
| | |
| | | * 内审会议修改 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "内审会议修改") |
| | | @PostMapping("/updateInternalMeeting") |
| | | public Result updateInternalMeeting(@RequestBody InternalMeetingDto internalMeeting){ |
| | |
| | | * 内审会议删除 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "内审会议删除") |
| | | @GetMapping("/delInternalMeeting") |
| | | public Result delInternalMeeting(Integer meetingId){ |
| | |
| | | * 内审会议查看详情 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "内审会议查看详情") |
| | | @GetMapping("/getInternalMeetingOne") |
| | | public Result<InternalMeetingDto> getInternalMeetingOne(Integer meetingId){ |
| | |
| | | * 导出内审会议 |
| | | * @return |
| | | */ |
| | | @ValueAuth |
| | | |
| | | @ApiOperation(value = "导出内审会议") |
| | | @GetMapping("/exportInternalMeeting") |
| | | public void exportInternalMeeting(Integer meetingId, HttpServletResponse response){ |