From a1b843ed54a16999efa4681c00a74cf6060410f0 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期五, 09 八月 2024 16:24:02 +0800
Subject: [PATCH] 类名
---
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