|  |  |  | 
|---|
|  |  |  | package com.dy.pipIrrGlobal.daoSe; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.pojoSe.SeRecharge; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.pojoSe.VoRecharge; | 
|---|
|  |  |  | import com.dy.pipIrrGlobal.voSe.VoRecharge; | 
|---|
|  |  |  | import org.apache.ibatis.annotations.Mapper; | 
|---|
|  |  |  | import org.apache.ibatis.annotations.Param; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  | import java.util.Map; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * @author ZhuBaoMin | 
|---|
|  |  |  | * @date 2023/12/23 8:47 | 
|---|
|  |  |  | * @LastEditTime 2023/12/23 8:47 | 
|---|
|  |  |  | * @Description | 
|---|
|  |  |  | */ | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Mapper | 
|---|
|  |  |  | public interface SeRechargeMapper { | 
|---|
|  |  |  | public interface SeRechargeMapper extends BaseMapper<SeRecharge> { | 
|---|
|  |  |  | int deleteByPrimaryKey(Long id); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | int insert(SeRecharge record); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | int insertSelective(SeRecharge record); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //SeRecharge selectByPrimaryKey(Long id); | 
|---|
|  |  |  | SeRecharge selectByPrimaryKey(Long id); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | int updateByPrimaryKeySelective(SeRecharge record); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | int updateByPrimaryKey(SeRecharge record); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 根据指定的条件获取充值记录 | 
|---|
|  |  |  | * @param params | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | Long getRecordCount(Map<?, ?> params); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 根据指定的条件获取充值记录 | 
|---|
|  |  |  | * @param params | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | List<VoRecharge> getRecharges(Map<?, ?> params); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 根据水卡ID删除充值记录 | 
|---|
|  |  |  | * @param cardId | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | //Integer deleteByCardNum(@Param("cardNum") String cardNum); | 
|---|
|  |  |  | Integer deleteByCardId(@Param("cardId") Long cardId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|