|
|
@@ -76,9 +76,6 @@ public class PayCallService extends SuperService {
|
|
|
@Autowired
|
|
|
private ChinaumsSenselessPayService chinaumsSenselessPayService;
|
|
|
|
|
|
- @Autowired
|
|
|
- private ProjectMainPaySettingService projectMainPaySettingService;
|
|
|
-
|
|
|
@Autowired
|
|
|
private CommonService commonService;
|
|
|
|
|
|
@@ -602,6 +599,7 @@ public class PayCallService extends SuperService {
|
|
|
String projectOid = data.get("projectOid").toString();
|
|
|
PaymentType paymentType = PaymentType.valueOf(data.get("channelType").toString());
|
|
|
if (StringUtils.isNotEmpty(projectOid) && paymentType != null) {
|
|
|
+ paymentType = turnPaymentType(paymentType);
|
|
|
String remark = "定时结算";
|
|
|
// Long endTime = projectMainPaySettingService.getCurrentRunTime(projectOid, paymentType);
|
|
|
Long endTime = System.currentTimeMillis();
|
|
|
@@ -651,4 +649,11 @@ public class PayCallService extends SuperService {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ public PaymentType turnPaymentType(PaymentType paymentType) {
|
|
|
+ if (paymentType != null && paymentType == PaymentType.WeChat) {
|
|
|
+ return PaymentType.UserWallet;
|
|
|
+ }
|
|
|
+ return paymentType;
|
|
|
+ }
|
|
|
+
|
|
|
}
|