From da59bd81334e7b4ddeaaa401f27c5b93797fde46 Mon Sep 17 00:00:00 2001
From: zhuo <2089219845@qq.com>
Date: 星期四, 20 二月 2025 10:36:18 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev
---
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..57805f0
--- /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 = "鍐呭浼氳鍒嗛〉鏌ヨ")
+ @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);
+ }
+
+}
--
Gitblit v1.9.3