liurunyu
2023-12-14 6aa342cc662b3bfb81c3f58b6e6890a7c420ac23
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/8 15:25
 * @LastEditTime 2023/12/8 15:25
 * @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);
@@ -24,4 +29,11 @@
    Long getRecordCount(Map<?, ?> params);
    List<VoRecharge> getRecharges(Map<?, ?> params);
    /**
     * 根据水卡编号删除充值记录
     * @param cardId
     * @return
     */
    Integer deleteByCardId(@Param("cardId") Long cardId);
}