Commit fac03eae by ping.wu

其他支付(汇来米,收钱吧,现金,其他)调混合支付退款接口

parent ddc879a1
...@@ -39,10 +39,7 @@ import org.springframework.beans.factory.annotation.Autowired; ...@@ -39,10 +39,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.HashMap; import java.util.*;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeUnit;
...@@ -143,9 +140,10 @@ public class PaymentHandle { ...@@ -143,9 +140,10 @@ public class PaymentHandle {
if(CollectionUtils.isEmpty(orderPayItems)){ if(CollectionUtils.isEmpty(orderPayItems)){
return isMultiRefund; return isMultiRefund;
} }
List<Integer> multiPayChannelType = Arrays.asList(3,10,50,51,52);
for(OrderPayItemResp orderPayItemResp : orderPayItems){ for(OrderPayItemResp orderPayItemResp : orderPayItems){
//有储值卡支付,调混合支付退款 //有储值卡支付,调混合支付退款
if(orderPayItemResp.getPayChannelType().equals(PayChannelType.SVC.getIndex().intValue())){ if(multiPayChannelType.contains(orderPayItemResp.getPayChannelType())){
isMultiRefund = true; isMultiRefund = true;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment