From 940d3e312fdae74c1f7400d2c304091f7290a087 Mon Sep 17 00:00:00 2001 From: sin <2943460818@qq.com> Date: Sun, 12 May 2019 21:47:54 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E4=BF=AE=E6=94=B9=20order=20=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=20orders?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/config/application.yaml | 2 +- .../src/main/resources/mapper/OrderMapper.xml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) 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`