1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

我的订单点击跳转订单详情页;订单详情页展示订单总金额;立即下单可以选择商品数量

This commit is contained in:
2023-03-21 16:36:13 +08:00
parent 87eaf03b9d
commit 0e83116550
12 changed files with 290 additions and 141 deletions

View File

@@ -46,8 +46,8 @@
<!-- 创建订单 -->
<insert id="insertOrder" parameterType="com.cxyxiaomo.epp.common.pojo.Order" useGeneratedKeys="true"
keyProperty="orderId">
INSERT INTO `order` (id, user_id, order_date, order_status)
VALUES (#{id}, #{userId}, #{orderDate,javaType=java.time.LocalDateTime,jdbcType=TIMESTAMP}, #{orderStatus})
INSERT INTO `order` (id, user_id, order_date, order_status, order_price)
VALUES (#{id}, #{userId}, #{orderDate,javaType=java.time.LocalDateTime,jdbcType=TIMESTAMP}, #{orderStatus}, #{orderPrice})
</insert>
<!-- 批量插入订单详情 -->