h5充值-充值列表-兼容贵族和首充
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.accompany.payment.service;
|
||||
|
||||
import com.accompany.common.constant.Constant;
|
||||
import com.accompany.common.redis.RedisKey;
|
||||
import com.accompany.payment.model.ChargeChannel;
|
||||
import com.accompany.payment.model.ChargeProd;
|
||||
@@ -47,7 +48,8 @@ public class ChargeChannelProdService implements InitializingBean {
|
||||
.andPayChannelEqualTo(channel.getPayChannel())
|
||||
.andProdStatusIn(chargeProdService.getAvailableChargeProdStatus());
|
||||
//需要特殊的产品,例如点数卡是固定数额
|
||||
if (StringUtils.isNotBlank(channel.getPaymentType())) {
|
||||
if (Constant.ChargeProdChannel.payermax_h5_charge.equals(channelType)
|
||||
&& StringUtils.isNotBlank(channel.getPaymentType())) {
|
||||
criteria.andPaymentTypeEqualTo(channel.getPaymentType());
|
||||
} else {
|
||||
criteria.andPaymentTypeEqualIsNull();
|
||||
|
Reference in New Issue
Block a user