Commit aa617b26 by 胡敬轩

多卡支付余额为0支付方式错误

parent 2adf13e8
......@@ -223,7 +223,7 @@ public class PayServiceImpl {
if (baseEditResponse != null) {
throw new ServiceException(baseEditResponse.getCode(), baseEditResponse.getMessage());
}
if (totalAmount > 0 && CollectionUtils.isEmpty(cardCodes) && Objects.isNull(createPrepayRequestDto.getUnionPayCard())) {
if (totalAmount > 0 && !Objects.equals(PayChannelType.SVC.getEbcode(),orderPayResponse.getPayChannelType().getEbcode()) && Objects.isNull(createPrepayRequestDto.getUnionPayCard())) {
createOrderResponse.setPaySuccess(false);
} else if (orderPayResponse.getPayChannelType() != null && PayChannelType.COMB.getEbcode().equals(orderPayResponse.getPayChannelType().getEbcode())) {
createOrderResponse.setPaySuccess(false);
......
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