From 4f3a98f19143865cdc1de4791e8a95d96bd40c65 Mon Sep 17 00:00:00 2001 From: maven <2163098428@qq.com> Date: 星期五, 01 八月 2025 13:27:59 +0800 Subject: [PATCH] yys 密码已重置 --- cnas-manage/src/main/java/com/ruoyi/manage/controller/InternalMeetingController.java | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 104 insertions(+), 0 deletions(-) diff --git a/cnas-manage/src/main/java/com/ruoyi/manage/controller/InternalMeetingController.java b/cnas-manage/src/main/java/com/ruoyi/manage/controller/InternalMeetingController.java new file mode 100644 index 0000000..08864d7 --- /dev/null +++ b/cnas-manage/src/main/java/com/ruoyi/manage/controller/InternalMeetingController.java @@ -0,0 +1,104 @@ +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 = "鍐呭浼氳鍒嗛〉鏌ヨ") + @GetMapping("/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 = "鍐呭浼氳鍒犻櫎") + @DeleteMapping("/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); + } + +} -- Gitblit v1.9.3