|  |  |  | 
|---|
|  |  |  | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.pojoSe.SeClient; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.voSe.VoClient; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.voSe.VoOperate; | 
|---|
|  |  |  | import org.apache.ibatis.annotations.Mapper; | 
|---|
|  |  |  | import org.apache.ibatis.annotations.Param; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | * @return 5级行政区划代码 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | Long getAreaCodeByNum(@Param("clientNum") String clientNum); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 根据农户编号获取5级行政区划串areaCode,补卡过程中开新卡使用 | 
|---|
|  |  |  | * @param clientId | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | Long getAreaCodeById(@Param("clientId") Long clientId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 根据农户编号获取农户ID | 
|---|
|  |  |  | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<Map<String, Object>> getWaterTypes(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 根据指定条件获取购水汇总和购卡汇总 | 
|---|
|  |  |  | * @param params 统计条件 | 
|---|
|  |  |  | * @return 购水金额、购卡金额 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | Map getSums(Map<?, ?> params); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 根据指定条件获取操作记录数 | 
|---|
|  |  |  | * @param params 查询条件 | 
|---|
|  |  |  | * @return 符合条件的记录数 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | Long getOperateRecordCount(Map<?, ?> params); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 根据指定条件获取操作记录 | 
|---|
|  |  |  | * @param params 查询条件 | 
|---|
|  |  |  | * @return 符合条件的交易记录 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<VoOperate> getOperates(Map<?, ?> params); | 
|---|
|  |  |  | } | 
|---|