菠萝派接口-订单下载,不允许查询退款中的订单
正在显示
3 个修改的文件
包含
14 行增加
和
1 行删除
... | @@ -137,4 +137,8 @@ public interface IMDoingOrderDao { | ... | @@ -137,4 +137,8 @@ public interface IMDoingOrderDao { |
137 | int countPineAppleOrder(Map<String, Object> params); | 137 | int countPineAppleOrder(Map<String, Object> params); |
138 | 138 | ||
139 | List<DoingOrderDetailResponse> pagerPineAppleOrders(Map<String, Object> params); | 139 | List<DoingOrderDetailResponse> pagerPineAppleOrders(Map<String, Object> params); |
140 | |||
141 | |||
142 | //根据订单号获取订单详情 | ||
143 | DoingOrderDetailResponse getIMOrderDetailByMap(Map<String, Object> param); | ||
140 | } | 144 | } | ... | ... |
... | @@ -264,6 +264,15 @@ | ... | @@ -264,6 +264,15 @@ |
264 | where do.order_code = #{orderCode} AND do.delete_flag=1 | 264 | where do.order_code = #{orderCode} AND do.delete_flag=1 |
265 | </select> | 265 | </select> |
266 | 266 | ||
267 | |||
268 | <select id="getIMOrderDetailByMap" parameterType="map" resultMap="oneIMOrderDetailColumn"> | ||
269 | select <include refid="Select_DoingOrder_column"/>,do.transaction_id,do1.deduction_line_coupon_price,do1.deduction_line_vb_price | ||
270 | from ${doingOrderTable} do left join ${doingOrder1Table} do1 | ||
271 | on do.order_id=do1.order_id | ||
272 | where do.order_code = #{orderCode} AND do.delete_flag=1 and order_status IN ('1','3','4','5','8','100') | ||
273 | </select> | ||
274 | |||
275 | |||
267 | <!-- 根据main_order_code查询现金订单详情--> | 276 | <!-- 根据main_order_code查询现金订单详情--> |
268 | <select id="getIMOrderDetailByMainOrderCode" parameterType="map" resultMap="oneIMOrderDetailColumn"> | 277 | <select id="getIMOrderDetailByMainOrderCode" parameterType="map" resultMap="oneIMOrderDetailColumn"> |
269 | SELECT <include refid="Select_DoingOrder_column"/> FROM | 278 | SELECT <include refid="Select_DoingOrder_column"/> FROM | ... | ... |
... | @@ -410,7 +410,7 @@ public class IMDoingOrderService extends BaseServiceImpl implements IIMDoingOrde | ... | @@ -410,7 +410,7 @@ public class IMDoingOrderService extends BaseServiceImpl implements IIMDoingOrde |
410 | param.put("doingOrder1Table", "im_doing_order1_" + tableName); | 410 | param.put("doingOrder1Table", "im_doing_order1_" + tableName); |
411 | param.put("orderCode", orderCode); | 411 | param.put("orderCode", orderCode); |
412 | DBContextHolder.setDBType(redisMysqlDbConfig); | 412 | DBContextHolder.setDBType(redisMysqlDbConfig); |
413 | DoingOrderDetailResponse imDoingOrder = iMDoingOrderDao.getIMOrderDetailByOrderCode(param); | 413 | DoingOrderDetailResponse imDoingOrder = iMDoingOrderDao.getIMOrderDetailByMap(param); |
414 | imDoingOrder = this.getOrderDetailStatusStr(imDoingOrder); | 414 | imDoingOrder = this.getOrderDetailStatusStr(imDoingOrder); |
415 | return imDoingOrder; | 415 | return imDoingOrder; |
416 | } | 416 | } | ... | ... |
-
请 注册 或 登录 后发表评论