|  |  | 
 |  |  | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
 |  |  | import com.dy.pipIrrGlobal.pojoSe.SeClient; | 
 |  |  | import com.dy.pipIrrGlobal.voSe.VoClient; | 
 |  |  | import com.dy.pipIrrGlobal.voSe.VoClientWechat; | 
 |  |  | import com.dy.pipIrrGlobal.voSt.VoCardUsage; | 
 |  |  | import org.apache.ibatis.annotations.Mapper; | 
 |  |  | import org.apache.ibatis.annotations.Param; | 
 |  |  |  | 
 |  |  | 
 |  |  |     Long getClientIdByNum(@Param("clientNum") String clientNum); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 根据电话号码获取农户ID | 
 |  |  |      * @param phoneNumber | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     Long getClientIdByPhone(String phoneNumber); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 根据指定条件获取农户记录数 | 
 |  |  |      * @param params | 
 |  |  |      * @return | 
 |  |  | 
 |  |  |      */ | 
 |  |  |     List<Map<String, Object>> getWaterTypes(); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 获取农户基本信息,小程序首页使用 | 
 |  |  |      * @param sessionId | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     VoClientWechat getSimpleClientInfo(@Param("sessionId") Long sessionId, @Param("openId") String openId); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 获取指定时间段农户:充值合计、消费合计、余额 | 
 |  |  |      * @param params | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     Long getClientUsagesCount(Map<String, Object> params); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 获取指定时间段农户:充值合计、消费合计、余额 | 
 |  |  |      * @param params | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     List<VoCardUsage> getClientUsages(Map<String, Object> params); | 
 |  |  | } |