Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Y
yudao-cloud
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
hblj
yudao-cloud
Commits
940d3e31
提交
940d3e31
authored
5月 12, 2019
作者:
sin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
- 修改 order 改为 orders
上级
96cd884e
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
6 行增加
和
6 行删除
+6
-6
application.yaml
...r-service-impl/src/main/resources/config/application.yaml
+1
-1
OrderMapper.xml
...er-service-impl/src/main/resources/mapper/OrderMapper.xml
+5
-5
没有找到文件。
order/order-service-impl/src/main/resources/config/application.yaml
浏览文件 @
940d3e31
spring
:
spring
:
# datasource
# datasource
datasource
:
datasource
:
url
:
jdbc:mysql://180.167.213.26:13306/mall_order
s
?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
driver-class-name
:
com.mysql.jdbc.Driver
username
:
root
username
:
root
password
:
${MALL_MYSQL_PASSWORD}
password
:
${MALL_MYSQL_PASSWORD}
...
...
order/order-service-impl/src/main/resources/mapper/OrderMapper.xml
浏览文件 @
940d3e31
...
@@ -67,13 +67,13 @@
...
@@ -67,13 +67,13 @@
</sql>
</sql>
<update
id=
"updateById"
parameterType=
"OrderDO"
>
<update
id=
"updateById"
parameterType=
"OrderDO"
>
UPDATE `order`
UPDATE `order
s
`
<include
refid=
"updateFieldSql"
/>
<include
refid=
"updateFieldSql"
/>
WHERE id = #{id}
WHERE id = #{id}
</update>
</update>
<update
id=
"updateByIdAndStatus"
>
<update
id=
"updateByIdAndStatus"
>
UPDATE `order`
UPDATE `order
s
`
<set>
<set>
<if
test=
"updateObj.payAmount != null"
>
<if
test=
"updateObj.payAmount != null"
>
, pay_amount = #{updateObj.payAmount}
, pay_amount = #{updateObj.payAmount}
...
@@ -92,7 +92,7 @@
...
@@ -92,7 +92,7 @@
<select
id=
"selectById"
resultType=
"cn.iocoder.mall.order.biz.dataobject.OrderDO"
>
<select
id=
"selectById"
resultType=
"cn.iocoder.mall.order.biz.dataobject.OrderDO"
>
SELECT
SELECT
<include
refid=
"FIELDS"
/>
<include
refid=
"FIELDS"
/>
FROM `order`
FROM `order
s
`
WHERE id = #{id}
WHERE id = #{id}
</select>
</select>
...
@@ -121,7 +121,7 @@
...
@@ -121,7 +121,7 @@
<select
id=
"selectPageCount"
resultType=
"java.lang.Integer"
>
<select
id=
"selectPageCount"
resultType=
"java.lang.Integer"
>
SELECT
SELECT
COUNT(*)
COUNT(*)
FROM `order`
FROM `order
s
`
<where>
<where>
<include
refid=
"selectWhere"
/>
<include
refid=
"selectWhere"
/>
</where>
</where>
...
@@ -130,7 +130,7 @@
...
@@ -130,7 +130,7 @@
<select
id=
"selectPage"
resultType=
"cn.iocoder.mall.order.biz.dataobject.OrderDO"
>
<select
id=
"selectPage"
resultType=
"cn.iocoder.mall.order.biz.dataobject.OrderDO"
>
SELECT
SELECT
<include
refid=
"FIELDS"
/>
<include
refid=
"FIELDS"
/>
FROM `order`
FROM `order
s
`
<where>
<where>
<include
refid=
"selectWhere"
/>
<include
refid=
"selectWhere"
/>
</where>
</where>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论