diff --git a/cash-api/account-server/src/main/resources/application.yml b/cash-api/account-server/src/main/resources/application.yml
index 0b033ca2f..da51c33fd 100644
--- a/cash-api/account-server/src/main/resources/application.yml
+++ b/cash-api/account-server/src/main/resources/application.yml
@@ -34,7 +34,6 @@ alipay:
pagehelper:
helper-dialect: mysql
- reasonable: true
support-methods-arguments: true
dubbo:
diff --git a/cash-api/order-server/src/main/resources/application.yml b/cash-api/order-server/src/main/resources/application.yml
index 5c570891f..aad8910e3 100644
--- a/cash-api/order-server/src/main/resources/application.yml
+++ b/cash-api/order-server/src/main/resources/application.yml
@@ -21,7 +21,6 @@ mybatis-flex:
pagehelper:
helper-dialect: mysql
- reasonable: true
support-methods-arguments: true
dubbo:
diff --git a/cash-api/product-server/src/main/resources/application.yml b/cash-api/product-server/src/main/resources/application.yml
index 50a1b0481..3b1312ad7 100644
--- a/cash-api/product-server/src/main/resources/application.yml
+++ b/cash-api/product-server/src/main/resources/application.yml
@@ -21,5 +21,4 @@ mybatis-flex:
jdbc-type-for-null: 'null'
pagehelper:
helper-dialect: mysql
- reasonable: true
support-methods-arguments: true
diff --git a/cash-api/system-server/src/main/resources/application.yml b/cash-api/system-server/src/main/resources/application.yml
index 2208e15a4..8dc079bba 100644
--- a/cash-api/system-server/src/main/resources/application.yml
+++ b/cash-api/system-server/src/main/resources/application.yml
@@ -12,5 +12,4 @@ logging:
pagehelper:
helper-dialect: mysql
- reasonable: true
support-methods-arguments: true
\ No newline at end of file
diff --git a/cash-common/cash-common-service/src/main/java/com/czg/order/dto/CheckOrderPay.java b/cash-common/cash-common-service/src/main/java/com/czg/order/dto/CheckOrderPay.java
index e6f0a6799..df286e8eb 100644
--- a/cash-common/cash-common-service/src/main/java/com/czg/order/dto/CheckOrderPay.java
+++ b/cash-common/cash-common-service/src/main/java/com/czg/order/dto/CheckOrderPay.java
@@ -87,4 +87,30 @@ public class CheckOrderPay implements Serializable {
public Integer getPointsNum() {
return pointsNum == null ? 0 : pointsNum;
}
+
+ public BigDecimal getDiscountRatio() {
+ return discountRatio == null ? BigDecimal.ONE : discountRatio;
+ }
+
+ public BigDecimal getFullCouponDiscountAmount() {
+ return fullCouponDiscountAmount == null ? BigDecimal.ZERO : fullCouponDiscountAmount;
+ }
+
+ public BigDecimal getProductCouponDiscountAmount() {
+ return productCouponDiscountAmount == null ? BigDecimal.ZERO : productCouponDiscountAmount;
+ }
+
+ public BigDecimal getDiscountAmount() {
+ return discountAmount == null ? BigDecimal.ZERO : discountAmount;
+ }
+
+ public BigDecimal getPointsDiscountAmount() {
+ return pointsDiscountAmount == null ? BigDecimal.ZERO : pointsDiscountAmount;
+ }
+
+ public BigDecimal getRoundAmount() {
+ return roundAmount == null ? BigDecimal.ZERO : roundAmount;
+ }
+
+
}
diff --git a/cash-common/cash-common-tools/pom.xml b/cash-common/cash-common-tools/pom.xml
index b8e7c5566..52f9b09c0 100644
--- a/cash-common/cash-common-tools/pom.xml
+++ b/cash-common/cash-common-tools/pom.xml
@@ -49,17 +49,7 @@
com.github.pagehelper
- pagehelper
-
-
- com.github.jsqlparser
- jsqlparser
-
-
-
-
- com.github.pagehelper
- sqlparser4.5
+ pagehelper-spring-boot-starter
org.springframework.boot
diff --git a/cash-dependencies/pom.xml b/cash-dependencies/pom.xml
index 457ba1e41..541d6f7c8 100644
--- a/cash-dependencies/pom.xml
+++ b/cash-dependencies/pom.xml
@@ -33,7 +33,7 @@
3.3.3
3.3.3
2.0.0
- 6.1.0
+ 2.1.0
4.40.54.ALL
2.0.24
2.8.3
@@ -168,21 +168,9 @@
seata-spring-boot-starter
${seata.version}
-
com.github.pagehelper
- pagehelper
- ${pagehelper.version}
-
-
- com.github.jsqlparser
- jsqlparser
-
-
-
-
- com.github.pagehelper
- sqlparser4.5
+ pagehelper-spring-boot-starter
${pagehelper.version}