| New file | 
 |  |  | 
 |  |  | package com.dy.pipIrrGlobal.daoRm; | 
 |  |  |  | 
 |  |  | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
 |  |  | import com.dy.pipIrrGlobal.pojoRm.RmTimingReportLast; | 
 |  |  | import com.dy.pipIrrGlobal.voRm.VoTiming; | 
 |  |  | import org.apache.ibatis.annotations.Mapper; | 
 |  |  |  | 
 |  |  | import java.util.List; | 
 |  |  | import java.util.Map; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  |  * @author ZhuBaoMin | 
 |  |  |  * @date 2024-06-14 15:17 | 
 |  |  |  * @LastEditTime 2024-06-14 15:17 | 
 |  |  |  * @Description | 
 |  |  |  */ | 
 |  |  |  | 
 |  |  | @Mapper | 
 |  |  | public interface RmTimingReportLastMapper extends BaseMapper<RmTimingReportLast> { | 
 |  |  |     int deleteByPrimaryKey(Long id); | 
 |  |  |  | 
 |  |  |     int insert(RmTimingReportLast record); | 
 |  |  |  | 
 |  |  |     int insertSelective(RmTimingReportLast record); | 
 |  |  |  | 
 |  |  |     RmTimingReportLast selectByPrimaryKey(Long id); | 
 |  |  |  | 
 |  |  |     int updateByPrimaryKeySelective(RmTimingReportLast record); | 
 |  |  |  | 
 |  |  |     int updateByPrimaryKey(RmTimingReportLast record); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 根据阀控器地址获取定点上报最新数据 | 
 |  |  |      * @param intakeId | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     List<RmTimingReportLast> getRmTimingReportLast(Long intakeId); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 根据指定条件获取定时报最新记录数量 | 
 |  |  |      * @param params | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     Long getTimingReportsCount_last(Map<?, ?> params); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 根据指定条件获取定时报最新记录 | 
 |  |  |      * @param params | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     List<VoTiming> getTimingReports_last(Map<?, ?> params); | 
 |  |  | } |