package com.dy.pipIrrGlobal.daoPr; import com.dy.pipIrrGlobal.pojoPr.PrFlowmeter; import org.apache.ibatis.annotations.Param; /** * @author ZhuBaoMin * @date 2024-01-05 9:04 * @LastEditTime 2024-01-05 9:04 * @Description */ public interface PrFlowmeterMapper { int deleteByPrimaryKey(Long id); int insert(PrFlowmeter record); int insertSelective(PrFlowmeter record); PrFlowmeter selectByPrimaryKey(Long id); int updateByPrimaryKeySelective(PrFlowmeter record); int updateByPrimaryKey(PrFlowmeter record); /** * 据编号删除流量计 * @param flowmeterId * @return */ Integer deleteFlowmeterById(@Param("flowmeterId") Long flowmeterId); /** * 根据流量计编号获取未删除的流量计数量 * @param flowmeterId * @return */ Integer getRecordCountOfFlowmeter(@Param("flowmeterId") Long flowmeterId); }