dcs 2 months ago
parent
commit
1105fb54b0

+ 1 - 1
virgo.api/src/main/java/com/bosshand/virgo/api/workark/service/OrderInfoService.java

@@ -223,7 +223,7 @@ public class OrderInfoService {
         if (productCoupon.getType() == 1) {
             // 门槛
             BigDecimal threshold = productCoupon.getThreshold();
-            if (price.compareTo(threshold) <= 0) {
+            if (price.compareTo(threshold) >= 0) {
                 // 优惠金额
                 return productCoupon.getCouponAmount();
             }