From b5df1cee65f3e9dcf554efcd3f1642a8c79d1e76 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期一, 30 九月 2024 02:12:24 +0800 Subject: [PATCH] 点位监测更换对象+存入mongo+提取utils --- ycl-server/src/main/java/com/ycl/platform/mapper/ReportMapper.java | 37 +++++++++++++++++++++++++++++++++++++ 1 files changed, 37 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..544aa1d 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,38 @@ 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); + + /** + * 鑾峰彇鍚屼竴鎵规鍙风殑鎶ュ + * + * @param pid + * @return + */ + List<Report> getTogether(@Param("pid") String pid); + + /** + * 鍥芥爣鐮佹煡璁惧 + * + * @param gb + * @return + */ + List<ReportVO> getListByGb(@Param("gb") String gb); } -- Gitblit v1.8.0