yanderong
2026-07-23 393c3178a7beeb39915aff302d9f30ca2b6e5247
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
package com.stylefeng.guns.modular.system.service;
 
import com.baomidou.mybatisplus.service.IService;
import com.stylefeng.guns.modular.system.model.TravelCard;
import com.stylefeng.guns.modular.system.model.vo.BalanceRecordVo;
 
import java.math.BigDecimal;
import java.util.List;
 
/**
 * <p>
 *     出行卡服务
 * </p>
 */
public interface ITravelCardService extends IService<TravelCard> {
 
 
    /**
     * 出行卡兑换
     *
     * @param userId 用户id
     * @param cardNo 卡号
     * @param cardPassword 卡密码
     */
    BigDecimal travelCardExchange(Integer userId, String cardNo, String cardPassword);
 
    /**
     * 查询用户余额变更记录
     *
     * @param userId 用户id
     * @return 变更记录列表
     */
    List<BalanceRecordVo> getBalanceModifyRecord(Integer userId, Integer type, String startDate, String endDate);
}