From eb3f32e8a7ee0f736a2808432724cdfc0144d64b Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期三, 31 七月 2024 11:26:23 +0800 Subject: [PATCH] feat:考核结果月度季度 --- 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