From d6a9c5a9a93364c812b9149823facf5a118afa4f Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期四, 08 八月 2024 17:44:29 +0800
Subject: [PATCH] mongo启动类注解

---
 ycl-server/src/main/java/com/ycl/platform/mapper/ReportMapper.java |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/ycl-server/src/main/java/com/ycl/platform/mapper/ReportMapper.java b/ycl-server/src/main/java/com/ycl/platform/mapper/ReportMapper.java
index 46f7518..aff5d13 100644
--- a/ycl-server/src/main/java/com/ycl/platform/mapper/ReportMapper.java
+++ b/ycl-server/src/main/java/com/ycl/platform/mapper/ReportMapper.java
@@ -1,5 +1,6 @@
 package com.ycl.platform.mapper;
 
+import com.baomidou.mybatisplus.core.metadata.IPage;
 import com.ycl.platform.domain.entity.Report;
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
 import com.ycl.platform.domain.query.ReportQuery;
@@ -7,6 +8,8 @@
 import com.ycl.platform.domain.form.ReportForm;
 import java.util.List;
 import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+import org.springframework.web.bind.annotation.PathVariable;
 
 /**
  * 鎶ュ Mapper 鎺ュ彛
@@ -17,5 +20,13 @@
 @Mapper
 public interface ReportMapper extends BaseMapper<Report> {
 
-    List<ReportVO> page(ReportQuery query);
+    IPage<ReportVO> page(IPage page, @Param("query") ReportQuery query);
+
+    /**
+     * 瀹℃牳璁板綍
+     *
+     * @param id
+     * @return
+     */
+    List<ReportVO> examineRecord(@Param("id") Integer id);
 }

--
Gitblit v1.8.0