Authored by LUOXC

Merge branch 'dev6.8.6' into test6.8.6

@@ -830,7 +830,7 @@ public class MerchantOrderPaymentService extends AbstractOrderPaymentService { @@ -830,7 +830,7 @@ public class MerchantOrderPaymentService extends AbstractOrderPaymentService {
830 availAmount = money; 830 availAmount = money;
831 tradeAmount = smallBadProductPunishment.multiply(new BigDecimal("-1")); 831 tradeAmount = smallBadProductPunishment.multiply(new BigDecimal("-1"));
832 } else if (Objects.nonNull(attach.getPenaltyEarnestMoney())) { 832 } else if (Objects.nonNull(attach.getPenaltyEarnestMoney())) {
833 - lockAmount = attach.getEarnestMoney(); 833 + lockAmount = attach.getEarnestMoney().multiply(new BigDecimal("-1"));
834 availAmount = attach.getEarnestMoney().subtract(attach.getPenaltyEarnestMoney()); 834 availAmount = attach.getEarnestMoney().subtract(attach.getPenaltyEarnestMoney());
835 tradeAmount = attach.getPenaltyEarnestMoney().multiply(new BigDecimal("-1")); 835 tradeAmount = attach.getPenaltyEarnestMoney().multiply(new BigDecimal("-1"));
836 } else { 836 } else {