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
| package com.stylefeng.guns.modular.taxi.service;
|
| import com.baomidou.mybatisplus.service.IService;
| import com.stylefeng.guns.modular.taxi.model.PaymentRecord;
|
| import java.util.List;
|
| public interface IPaymentRecordService extends IService<PaymentRecord> {
|
|
| /**
| * 添加数据
| * @param orderId 订单id
| * @param orderType 订单类型
| * @param payType 支付方式(1=微信,2=支付宝)
| * @param amount 支付金额
| * @param code 第三方支付单号
| * @param state 支付状态(1=待支付,2=已支付)
| * @throws Exception
| */
| Integer saveData(Integer category, Integer userId, Integer type, Integer orderId, Integer orderType, Integer payType,
| Double amount, String code, Integer state) throws Exception;
|
|
| /**
| * 获取数据
| * @param orderId
| * @param payType
| * @param state
| * @return
| * @throws Exception
| */
| PaymentRecord query(Integer category, Integer userId, Integer type, Integer orderId, Integer orderType,
| Integer payType, Integer state) throws Exception;
| }
|
|