¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.manage.controller; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | 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.deepoove.poi.data.style.*; |
| | | import com.deepoove.poi.data.style.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * <p> |
| | | * å
审ä¼è®®è¡¨ å端æ§å¶å¨ |
| | | * </p> |
| | | * |
| | | * @author è¯å¯¼è½¯ä»¶ï¼æ±èï¼æéå
¬å¸ |
| | | * @since 2024-11-12 02:50:44 |
| | | */ |
| | | @Api(tags = "å
审ä¼è®®") |
| | | @AllArgsConstructor |
| | | @RestController |
| | | @RequestMapping("/internalMeeting") |
| | | public class InternalMeetingController { |
| | | |
| | | private InternalMeetingService internalMeetingService; |
| | | |
| | | /** |
| | | * å
审ä¼è®®å页æ¥è¯¢ |
| | | * @param |
| | | * @return |
| | | */ |
| | | |
| | | @ApiOperation(value = "å
审ä¼è®®å页æ¥è¯¢") |
| | | @PostMapping("/pageInternalMeeting") |
| | | public Result<IPage<InternalMeetingDto>> pageInternalMeeting(Page page,InternalMeeting internalMeeting) throws Exception { |
| | | return Result.success(internalMeetingService.pageInternalMeeting(page, internalMeeting)); |
| | | } |
| | | |
| | | /** |
| | | * å
审ä¼è®®æ°å¢ |
| | | * @return |
| | | */ |
| | | |
| | | @ApiOperation(value = "å
审ä¼è®®æ°å¢") |
| | | @PostMapping("/addInternalMeeting") |
| | | public Result addInternalMeeting(@RequestBody InternalMeetingDto internalMeeting){ |
| | | return Result.success(internalMeetingService.addInternalMeeting(internalMeeting)); |
| | | } |
| | | |
| | | /** |
| | | * å
审ä¼è®®ä¿®æ¹ |
| | | * @return |
| | | */ |
| | | |
| | | @ApiOperation(value = "å
审ä¼è®®ä¿®æ¹") |
| | | @PostMapping("/updateInternalMeeting") |
| | | public Result updateInternalMeeting(@RequestBody InternalMeetingDto internalMeeting){ |
| | | return Result.success(internalMeetingService.updateInternalMeeting(internalMeeting)); |
| | | } |
| | | |
| | | /** |
| | | * å
审ä¼è®®å é¤ |
| | | * @return |
| | | */ |
| | | |
| | | @ApiOperation(value = "å
审ä¼è®®å é¤") |
| | | @GetMapping("/delInternalMeeting") |
| | | public Result delInternalMeeting(Integer meetingId){ |
| | | return Result.success(internalMeetingService.delInternalMeeting(meetingId)); |
| | | } |
| | | |
| | | /** |
| | | * å
审ä¼è®®æ¥ç详æ
|
| | | * @return |
| | | */ |
| | | |
| | | @ApiOperation(value = "å
审ä¼è®®æ¥ç详æ
") |
| | | @GetMapping("/getInternalMeetingOne") |
| | | public Result<InternalMeetingDto> getInternalMeetingOne(Integer meetingId){ |
| | | return Result.success(internalMeetingService.getInternalMeetingOne(meetingId)); |
| | | } |
| | | |
| | | /** |
| | | * 导åºå
审ä¼è®® |
| | | * @return |
| | | */ |
| | | |
| | | @ApiOperation(value = "导åºå
审ä¼è®®") |
| | | @GetMapping("/exportInternalMeeting") |
| | | public void exportInternalMeeting(Integer meetingId, HttpServletResponse response){ |
| | | internalMeetingService.exportInternalMeeting(meetingId, response); |
| | | } |
| | | |
| | | } |