From cb7d99d810f2356096b67fbccd3fac556e638d83 Mon Sep 17 00:00:00 2001
From: 龚焕茏 <2842157468@qq.com>
Date: 星期四, 22 八月 2024 11:22:56 +0800
Subject: [PATCH] feat:查询条件优化
---
ycl-server/src/main/java/com/ycl/platform/mapper/ReportMapper.java | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 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 bb38f57..2569293 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
@@ -6,9 +6,12 @@
import com.ycl.platform.domain.query.ReportQuery;
import com.ycl.platform.domain.vo.ReportVO;
import com.ycl.platform.domain.form.ReportForm;
+
+import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
+import org.springframework.web.bind.annotation.PathVariable;
/**
* 鎶ュ Mapper 鎺ュ彛
@@ -20,4 +23,22 @@
public interface ReportMapper extends BaseMapper<Report> {
IPage<ReportVO> page(IPage page, @Param("query") ReportQuery query);
+
+ /**
+ * 瀹℃牳璁板綍
+ *
+ * @param id
+ * @return
+ */
+ List<ReportVO> examineRecord(@Param("id") Integer id);
+
+ List<String> selectNumberList(String status, String date);
+
+ /**
+ * 鏌ヨ宸ュ崟鏄惁鎶ュ杩�
+ *
+ * @param serialNumber 鍥芥爣鐮�
+ * @return
+ */
+ Report checkPointReported(@Param("serialNumber") String serialNumber);
}
--
Gitblit v1.8.0