package com.dy.pipIrrGlobal.daoPr;
|
|
import com.dy.pipIrrGlobal.pojoPr.PrFlowmeter;
|
import com.dy.pipIrrGlobal.pojoPr.PrIntake;
|
import com.dy.pipIrrGlobal.voPr.VoFlowMeter;
|
import com.dy.pipIrrGlobal.voPr.VoFlowMonitoring;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* @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 getRecordCountOfFlowmeterByCode(@Param("flowmeterId") Long flowmeterId);
|
|
/**
|
* 根据流量计 编号 在线状态 获取未删除的流量计数量
|
*
|
* @param params
|
* @return
|
*/
|
Integer getRecordCountOfFlowMeterByOthers(Map<?, ?> params);
|
|
/**
|
* 根据指定条件获取流量计实体记录
|
*
|
* @param params
|
* @return 实体集合
|
*/
|
List<VoFlowMeter> getFlowMeters(Map<?, ?> params);
|
|
/**
|
* 得到全部实体
|
* @return 全部实体
|
* */
|
List<PrFlowmeter> selectAll();
|
}
|