Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
sibu-v-mall
/
sibu-v-mall-third-api
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
构建
提交
问题看板
文件
提交
网络
比较
分支
标签
017cea9f
由
刘嘉
编写于
2018-04-13 17:00:41 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
菠萝派接口-订单下载,不允许查询退款中的订单
1 个父辈
89909241
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
14 行增加
和
1 行删除
com.sibu.orderHelper.dao/src/main/java/com/sibu/orderHelper/integral/dao/IMDoingOrderDao.java
com.sibu.orderHelper.integralMall/src/main/resources/mapper/IMDoingOrderMapper.xml
com.sibu.orderHelper.service/src/main/java/com/sibu/orderHelper/integral/service/impl/IMDoingOrderService.java
com.sibu.orderHelper.dao/src/main/java/com/sibu/orderHelper/integral/dao/IMDoingOrderDao.java
查看文件 @
017cea9
...
...
@@ -137,4 +137,8 @@ public interface IMDoingOrderDao {
int
countPineAppleOrder
(
Map
<
String
,
Object
>
params
);
List
<
DoingOrderDetailResponse
>
pagerPineAppleOrders
(
Map
<
String
,
Object
>
params
);
//根据订单号获取订单详情
DoingOrderDetailResponse
getIMOrderDetailByMap
(
Map
<
String
,
Object
>
param
);
}
...
...
com.sibu.orderHelper.integralMall/src/main/resources/mapper/IMDoingOrderMapper.xml
查看文件 @
017cea9
...
...
@@ -264,6 +264,15 @@
where do.order_code = #{orderCode} AND do.delete_flag=1
</select>
<select
id=
"getIMOrderDetailByMap"
parameterType=
"map"
resultMap=
"oneIMOrderDetailColumn"
>
select
<include
refid=
"Select_DoingOrder_column"
/>
,do.transaction_id,do1.deduction_line_coupon_price,do1.deduction_line_vb_price
from ${doingOrderTable} do left join ${doingOrder1Table} do1
on do.order_id=do1.order_id
where do.order_code = #{orderCode} AND do.delete_flag=1 and order_status IN ('1','3','4','5','8','100')
</select>
<!-- 根据main_order_code查询现金订单详情-->
<select
id=
"getIMOrderDetailByMainOrderCode"
parameterType=
"map"
resultMap=
"oneIMOrderDetailColumn"
>
SELECT
<include
refid=
"Select_DoingOrder_column"
/>
FROM
...
...
com.sibu.orderHelper.service/src/main/java/com/sibu/orderHelper/integral/service/impl/IMDoingOrderService.java
查看文件 @
017cea9
...
...
@@ -410,7 +410,7 @@ public class IMDoingOrderService extends BaseServiceImpl implements IIMDoingOrde
param
.
put
(
"doingOrder1Table"
,
"im_doing_order1_"
+
tableName
);
param
.
put
(
"orderCode"
,
orderCode
);
DBContextHolder
.
setDBType
(
redisMysqlDbConfig
);
DoingOrderDetailResponse
imDoingOrder
=
iMDoingOrderDao
.
getIMOrderDetailBy
OrderCode
(
param
);
DoingOrderDetailResponse
imDoingOrder
=
iMDoingOrderDao
.
getIMOrderDetailBy
Map
(
param
);
imDoingOrder
=
this
.
getOrderDetailStatusStr
(
imDoingOrder
);
return
imDoingOrder
;
}
...
...
请
注册
或
登录
后发表评论