package com.dy.pipIrrGlobal.daoSe;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.dy.pipIrrGlobal.pojoSe.SeVcRecharge;
|
import com.dy.pipIrrGlobal.voSe.VoOrders;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
|
/**
|
* @author ZhuBaoMin
|
* @date 2024-03-05 20:21
|
* @LastEditTime 2024-03-05 20:21
|
* @Description
|
*/
|
|
@Mapper
|
public interface SeVcRechargeMapper extends BaseMapper<SeVcRecharge> {
|
int deleteByPrimaryKey(Long id);
|
|
int insert(SeVcRecharge record);
|
|
int insertSelective(SeVcRecharge record);
|
|
SeVcRecharge selectByPrimaryKey(Long id);
|
|
int updateByPrimaryKeySelective(SeVcRecharge record);
|
|
int updateByPrimaryKey(SeVcRecharge record);
|
|
/**
|
* 根据订单号获取虚拟卡充值对象
|
* @param orderNumber
|
* @return
|
*/
|
SeVcRecharge getVCRechargeByorderNumber(String orderNumber);
|
|
/**
|
* 根据虚拟卡号获取订单列表
|
* @param virtualId
|
* @return
|
*/
|
List<VoOrders> getOrders(@Param("virtualId") Long virtualId);
|
|
/**
|
* 根据订单号获取充值金额
|
* @param orderNumber
|
* @return
|
*/
|
Double getRechargeAmountByOrderNumber(@Param("orderNumber") String orderNumber);
|
}
|