|  |  | 
 |  |  | 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 org.apache.ibatis.annotations.Mapper; | 
 |  |  | import org.apache.ibatis.annotations.Param; | 
 |  |  |  | 
 |  |  | 
 |  |  |  | 
 |  |  | /** | 
 |  |  |  * @author ZhuBaoMin | 
 |  |  |  * @date 2023/12/22 9:50 | 
 |  |  |  * @LastEditTime 2023/12/22 9:50 | 
 |  |  |  * @date 2023-12-26 10:32 | 
 |  |  |  * @LastEditTime 2023-12-26 10:32 | 
 |  |  |  * @Description | 
 |  |  |  */ | 
 |  |  |  | 
 |  |  | 
 |  |  |     Long getAreaCodeByNum(@Param("clientNum") String clientNum); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 根据农户编号获取5级行政区划串areaCode,补卡过程中开新卡使用 | 
 |  |  |      * @param clientId | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     Long getAreaCodeById(@Param("clientId") Long clientId); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 根据农户编号获取农户ID | 
 |  |  |      * @param clientNum | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     Long getClientIdByNum(@Param("clientNum") String clientNum); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 根据电话号码获取农户ID | 
 |  |  |      * @param phoneNumber | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     Long getClientIdByPhone(String phoneNumber); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 根据指定条件获取农户记录数 | 
 |  |  | 
 |  |  |      * @return 村主键 | 
 |  |  |      */ | 
 |  |  |     Long getVillageIdById(@Param("id") Long id); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 获取虚拟卡号最大值 | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     Long getMa1xVirtualId(); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 获取用水方式列表 | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     List<Map<String, Object>> getWaterTypes(); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 获取农户基本信息,小程序首页使用 | 
 |  |  |      * @param sessionId | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     VoClientWechat getSimpleClientInfo(@Param("sessionId") Long sessionId, @Param("openId") String openId); | 
 |  |  | } |