订单支付完成

This commit is contained in:
FreeeBird
2018-12-06 19:08:44 +08:00
parent fe8d5e521a
commit 7ebdc00b16
26 changed files with 272 additions and 602 deletions

View File

@@ -2,13 +2,16 @@ server:
port: 8080
servlet:
context-path: "/hotel"
ssl:
key-store: classpath:mafangui.cn.jks
key-store-password: 98cy27738t8
key-store-type: JKS
spring:
datasource:
driver-class-name: com.mysql.jdbc.Driver
username: root
password: root
url: jdbc:mysql://127.0.0.1:3306/hotel?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull
password: 1997liyiyong
url: jdbc:mysql://localhost:3306/hotel?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull
mybatis:
type-aliases-package: classpath*:cn.mafangui.hotel.entity
mapper-locations: classpath*:mybatis/mapper/*.xml

View File

@@ -2,12 +2,16 @@ server:
port: 8080
servlet:
context-path: "/hotel"
# ssl:
# key-store: classpath:mafangui.cn.jks
# key-store-password: 98cy27738t8
# key-store-type: JKS
spring:
datasource:
driver-class-name: com.mysql.jdbc.Driver
username: root
password: root
url: jdbc:mysql://127.0.0.1:3306/hotel?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull
username: muamua
password: muamua
url: jdbc:mysql://localhost:3306/hotel?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&useSSL=true
mybatis:
type-aliases-package: classpath*:cn.mafangui.hotel.entity
mapper-locations: classpath*:mybatis/mapper/*.xml

View File

@@ -27,6 +27,11 @@
from order_info
where order_id = #{orderId,jdbcType=INTEGER}
</select>
<select id="selectAll" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from order_info
</select>
<select id="selectByUserId" parameterType="java.lang.Integer" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />