|  |  | 
 |  |  |  | 
 |  |  | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
 |  |  | import com.dy.pipIrrGlobal.pojoSe.SeConsume; | 
 |  |  | import com.dy.pipIrrGlobal.voSe.VoWalletConsume; | 
 |  |  | import org.apache.ibatis.annotations.Mapper; | 
 |  |  | import org.apache.ibatis.annotations.Param; | 
 |  |  |  | 
 |  |  | import java.util.List; | 
 |  |  | import java.util.Map; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  |  * @author ZhuBaoMin | 
 |  |  | 
 |  |  |     int updateByPrimaryKeySelective(SeConsume record); | 
 |  |  |  | 
 |  |  |     int updateByPrimaryKey(SeConsume record); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 根据农户ID获取消费汇总记录 | 
 |  |  |      * @param clientId | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     Map getWalletConsumeSum(@Param("clientId") Long clientId); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 根据农户ID获取电子钱包消费记录数 | 
 |  |  |      * @param params | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     Long getRecordCount(Map<?, ?> params); | 
 |  |  |  | 
 |  |  |     /*** | 
 |  |  |      * 根据农户ID获取电子钱包消费记录 | 
 |  |  |      * @param params | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     List<VoWalletConsume> getWalletConsumes(Map<?, ?> params); | 
 |  |  | } |