zhubaomin
2025-04-08 5f54ba90abcc0ccf1b578472eac54fc98056767c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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);
}