|
|
@@ -5,6 +5,7 @@ import com.ruoyi.constant.Platform;
|
|
5
|
5
|
import com.ruoyi.constant.TradeType;
|
|
6
|
6
|
import com.ruoyi.dto.PayRequest;
|
|
7
|
7
|
import com.ruoyi.dto.PayResponse;
|
|
|
8
|
+import com.ruoyi.system.mapper.CasePaymentMapper;
|
|
8
|
9
|
import com.ruoyi.system.service.ICasePaymentService;
|
|
9
|
10
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
10
|
11
|
import org.springframework.stereotype.Service;
|
|
|
@@ -12,9 +13,11 @@ import org.springframework.stereotype.Service;
|
|
12
|
13
|
@Service
|
|
13
|
14
|
public class CasePaymentServiceImpl implements ICasePaymentService {
|
|
14
|
15
|
private final ElegentPay elegentPay;
|
|
|
16
|
+ private final CasePaymentMapper paymentMapper;
|
|
15
|
17
|
@Autowired
|
|
16
|
|
- public CasePaymentServiceImpl(ElegentPay elegentPay){
|
|
|
18
|
+ public CasePaymentServiceImpl(ElegentPay elegentPay,CasePaymentMapper paymentMapper ){
|
|
17
|
19
|
this.elegentPay=elegentPay;
|
|
|
20
|
+ this.paymentMapper=paymentMapper;
|
|
18
|
21
|
}
|
|
19
|
22
|
@Override
|
|
20
|
23
|
public String casePay(PayRequest request) {
|
|
|
@@ -24,4 +27,20 @@ public class CasePaymentServiceImpl implements ICasePaymentService {
|
|
24
|
27
|
}
|
|
25
|
28
|
return null;
|
|
26
|
29
|
}
|
|
|
30
|
+
|
|
|
31
|
+ @Override
|
|
|
32
|
+ public String queryPayList() {
|
|
|
33
|
+ paymentMapper.queryPayList();
|
|
|
34
|
+ return null;
|
|
|
35
|
+ }
|
|
|
36
|
+
|
|
|
37
|
+ @Override
|
|
|
38
|
+ public String getPaymentListByCaseId() {
|
|
|
39
|
+ return null;
|
|
|
40
|
+ }
|
|
|
41
|
+
|
|
|
42
|
+ @Override
|
|
|
43
|
+ public String payConfirm() {
|
|
|
44
|
+ return null;
|
|
|
45
|
+ }
|
|
27
|
46
|
}
|