Administrator
2023-12-19 e405dffd51d2c7e0bed16aaa4248ca8029deaaec
pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SeRechargeMapper.java
@@ -1,13 +1,18 @@
package com.dy.pipIrrGlobal.daoSe;
import com.dy.pipIrrGlobal.pojoSe.SeRecharge;
import com.dy.pipIrrGlobal.pojoSe.VoRecharge;
import org.apache.ibatis.annotations.Mapper;
import com.dy.pipIrrGlobal.voSe.VoRecharge;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
@Mapper
/**
 * @author ZhuBaoMin
 * @date 2023/12/19 10:18
 * @LastEditTime 2023/12/19 10:18
 * @Description
 */
public interface SeRechargeMapper {
    int deleteByPrimaryKey(Long id);
@@ -15,7 +20,7 @@
    int insertSelective(SeRecharge record);
    //SeRecharge selectByPrimaryKey(Long id);
    SeRecharge selectByPrimaryKey(Long id);
    int updateByPrimaryKeySelective(SeRecharge record);
@@ -23,5 +28,18 @@
    Long getRecordCount(Map<?, ?> params);
    /**
     * 根据指定的条件获取充值记录
     * @param params
     * @return
     */
    List<VoRecharge> getRecharges(Map<?, ?> params);
    /**
     * 根据水卡编号删除充值记录
     * @param cardNum
     * @return
     */
    //Integer deleteByCardId(@Param("cardId") Long cardId);
    Integer deleteByCardNum(@Param("cardNum") String cardNum);
}