From 64efb660b2c119c00432434c0f651f8996483f18 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期五, 21 二月 2025 15:51:13 +0800 Subject: [PATCH] OSD大华数据格式+数据中心重点标签统计数 --- ycl-server/src/main/java/com/ycl/platform/mapper/ReportMapper.java | 41 ++++++++++++++++++++++++++++++++++++++++- 1 files changed, 40 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..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,12 +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 鎺ュ彛 @@ -17,5 +22,39 @@ @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); + + 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