liurunyu
3 天以前 7634d7ff15b1fa84ea84a51a1ba6e45b11a4aa21
pipIrr-platform/pipIrr-global/src/main/java/com/dy/pipIrrGlobal/daoSe/SeVcRechargeMapper.java
New file
@@ -0,0 +1,52 @@
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);
}