|
@@ -34,7 +34,7 @@ import com.ym.mec.common.service.impl.BaseServiceImpl;
|
|
|
import com.ym.mec.common.tenant.TenantContextHolder;
|
|
|
import com.ym.mec.thirdparty.adapay.ConfigInit;
|
|
|
import com.ym.mec.thirdparty.adapay.entity.BaseResult;
|
|
|
-import com.ym.mec.thirdparty.yqpay.*;
|
|
|
+import com.ym.mec.thirdparty.yqpay.DateUtils;
|
|
|
import com.ym.mec.util.collection.MapUtil;
|
|
|
import com.ym.mec.util.date.DateUtil;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
@@ -65,8 +65,8 @@ public class StudentPaymentOrderServiceImpl extends BaseServiceImpl<Long, Studen
|
|
|
|
|
|
@Autowired
|
|
|
private StudentPaymentOrderDao studentPaymentOrderDao;
|
|
|
- @Autowired
|
|
|
- private YqPayFeignService yqPayFeignService;
|
|
|
+// @Autowired
|
|
|
+// private YqPayFeignService yqPayFeignService;
|
|
|
@Autowired
|
|
|
private StudentRegistrationService studentRegistrationService;
|
|
|
@Autowired
|
|
@@ -270,7 +270,7 @@ public class StudentPaymentOrderServiceImpl extends BaseServiceImpl<Long, Studen
|
|
|
//reConfirmOrder(null, null);
|
|
|
}
|
|
|
|
|
|
- private void yqPayQuery(List<StudentPaymentOrder> payingOrders) throws Exception {
|
|
|
+ /*private void yqPayQuery(List<StudentPaymentOrder> payingOrders) throws Exception {
|
|
|
if (payingOrders == null) {
|
|
|
payingOrders = findOrdersByStatus(DealStatusEnum.ING);
|
|
|
}
|
|
@@ -314,7 +314,7 @@ public class StudentPaymentOrderServiceImpl extends BaseServiceImpl<Long, Studen
|
|
|
}
|
|
|
closeOrders(orderNoList); //关闭订单
|
|
|
}
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
private void adaPayQuery(List<StudentPaymentOrder> payingOrders) throws Exception {
|
|
|
if (payingOrders == null) {
|
|
@@ -827,7 +827,8 @@ public class StudentPaymentOrderServiceImpl extends BaseServiceImpl<Long, Studen
|
|
|
if (studentPaymentOrder.getPaymentChannel().equals(PaymentChannelEnum.ADAPAY.getCode()) || studentPaymentOrder.getPaymentChannel().equals(PaymentChannelEnum.YEEPAY.getCode())) {
|
|
|
adaPayQuery(orderList);
|
|
|
} else if (studentPaymentOrder.getPaymentChannel().equals("YQPAY")) {
|
|
|
- yqPayQuery(orderList);
|
|
|
+// yqPayQuery(orderList);
|
|
|
+ throw new BizException("暂不支持易签宝支付");
|
|
|
}
|
|
|
return true;
|
|
|
}
|