From 04b45b8c22594cc5535b164380738a80b0e8cbe2 Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期一, 26 五月 2025 15:27:57 +0800 Subject: [PATCH] 修改大屏录像可用率指标 --- ycl-server/src/main/java/com/ycl/platform/mapper/ReportMapper.java | 41 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 41 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 802abaf..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 @@ -1,11 +1,17 @@ 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; 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 鎺ュ彛 @@ -16,4 +22,39 @@ @Mapper 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