|  |  | 
 |  |  | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
 |  |  | import com.dy.pipIrrGlobal.pojoSe.SeClientCard; | 
 |  |  | import com.dy.pipIrrGlobal.voSe.VoCardInfo; | 
 |  |  |  | 
 |  |  | import com.dy.pipIrrGlobal.voSe.VoCardInfo1; | 
 |  |  | import com.dy.pipIrrGlobal.voSe.VoCards; | 
 |  |  | import com.dy.pipIrrGlobal.voSe.VoCards2; | 
 |  |  | import com.dy.pipIrrGlobal.voSt.VoICCard; | 
 |  |  | import com.dy.pipIrrGlobal.voWe.VoCards3; | 
 |  |  | import org.apache.ibatis.annotations.Mapper; | 
 |  |  | import org.apache.ibatis.annotations.Param; | 
 |  |  | 
 |  |  |     Map getClientIdAndNameByCardAddrAndCardNo(@Param("cardAddr") String cardAddr, @Param("cardNum") Long cardNum); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 根据农户主键获取水卡列表 | 
 |  |  |      * 得到水卡对象 | 
 |  |  |      * @param cardAddr | 
 |  |  |      * @param cardNum | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     List<VoCardInfo1> getCardsByAddrAndNum(@Param("cardAddr") String cardAddr, @Param("cardNum") Long cardNum); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 根据农户主键获取水卡列表(物理卡+虚拟卡) | 
 |  |  |      * @param clientId | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  | 
 |  |  |     List<VoCards3> getCardsByClientID(String clientId); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 指定时间段内开卡总数量(物理卡) | 
 |  |  |      * @param params | 
 |  |  |      * 更新实体卡剩余金额 | 
 |  |  |      * @param id | 
 |  |  |      * @param money | 
 |  |  |      */ | 
 |  |  |     void updateMoney(@Param("id")Long id , @Param("money")Double money); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      *当前余额总量(物理卡) | 
 |  |  |      * @param | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     Long getOpenCountIcCardsCount(Map<String, Object> params); | 
 |  |  |     Double getTotalMoneyIcCards(); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 根据水卡地址获取水卡数量,用来判断该卡是否允许开卡 | 
 |  |  |      * @param cardAddr | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     Long getCountByCardAddr(String cardAddr); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 根据水卡地址获取指定状态的水卡数量,用来判断该卡是否允许开卡 | 
 |  |  |      * @param cardAddr | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     Long getCountByCardAddrAndState(String cardAddr); | 
 |  |  | } |