|  |  |  | 
|---|
|  |  |  | 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 | 
|---|
|  |  |  | 
|---|
|  |  |  | * @param flowmeterId | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | Integer getRecordCountOfFlowmeter(@Param("flowmeterId") Long flowmeterId); | 
|---|
|  |  |  | 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(); | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 给流量计表加监测站ID外键 | 
|---|
|  |  |  | * @param | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | int flowmeterAddMonId(PrFlowmeter record); | 
|---|
|  |  |  | } | 
|---|