diff --git a/order/order-service-impl/src/main/resources/config/application.yaml b/order/order-service-impl/src/main/resources/config/application.yaml index cd318d1d5..6cb9ee36e 100644 --- a/order/order-service-impl/src/main/resources/config/application.yaml +++ b/order/order-service-impl/src/main/resources/config/application.yaml @@ -1,7 +1,7 @@ spring: # datasource datasource: - url: jdbc:mysql://180.167.213.26:13306/mall_orders?useSSL=false&useUnicode=true&characterEncoding=UTF-8 + url: jdbc:mysql://180.167.213.26:13306/mall_order?useSSL=false&useUnicode=true&characterEncoding=UTF-8 driver-class-name: com.mysql.jdbc.Driver username: root password: ${MALL_MYSQL_PASSWORD} diff --git a/order/order-service-impl/src/main/resources/mapper/OrderMapper.xml b/order/order-service-impl/src/main/resources/mapper/OrderMapper.xml index 3ad48e677..5bc328e25 100644 --- a/order/order-service-impl/src/main/resources/mapper/OrderMapper.xml +++ b/order/order-service-impl/src/main/resources/mapper/OrderMapper.xml @@ -67,13 +67,13 @@ - UPDATE `order` + UPDATE `orders` WHERE id = #{id} - UPDATE `order` + UPDATE `orders` , pay_amount = #{updateObj.payAmount} @@ -92,7 +92,7 @@ @@ -121,7 +121,7 @@ SELECT - FROM `order` + FROM `orders`