package com.dy.pipIrrGlobal.daoPr; import com.dy.pipIrrGlobal.pojoPr.PrFlowMonitoring; import org.apache.ibatis.annotations.Param; /** * @author ZhuBaoMin * @date 2024-01-04 16:02 * @LastEditTime 2024-01-04 16:02 * @Description */ public interface PrFlowMonitoringMapper { int deleteByPrimaryKey(Long id); int insert(PrFlowMonitoring record); int insertSelective(PrFlowMonitoring record); PrFlowMonitoring selectByPrimaryKey(Long id); int updateByPrimaryKeySelective(PrFlowMonitoring record); int updateByPrimaryKey(PrFlowMonitoring record); /** * 根据监测站编号删除监测站 * @param flowMonitoringId * @return */ Integer deleteFlowMonitoringById(@Param("flowMonitoringId") Long flowMonitoringId); /** * 根据监测站编号获取未删除的监测站数量 * @param flowMonitoringId * @return */ Integer getRecordCountOfFlowMonitoring(@Param("flowMonitoringId") Long flowMonitoringId); }