fix
This commit is contained in:
parent
fb86c830c0
commit
468956451c
|
|
@ -25,7 +25,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<select id="selectOrderInfoList" parameterType="com.bonus.zlpt.common.core.domain.order.vo.OrderInfoVo" resultType="com.bonus.zlpt.common.core.domain.order.vo.OrderInfoVo">
|
<select id="selectOrderInfoList" parameterType="com.bonus.zlpt.common.core.domain.order.vo.OrderInfoVo" resultType="com.bonus.zlpt.common.core.domain.order.vo.OrderInfoVo">
|
||||||
select o.*,d.phone as order_phone,d.ma_id,co.company_name as supplier_company
|
select o.*,d.phone as order_phone,d.ma_id,co.company_name as supplier_company
|
||||||
from ma_order_info o
|
from ma_order_info o
|
||||||
left join ma_order_details d on o.order_id=d.order_id
|
left join ma_order_details d on o.order_id=d.id
|
||||||
left join bm_company_info co on o.supplier=co.company_id
|
left join bm_company_info co on o.supplier=co.company_id
|
||||||
<where>
|
<where>
|
||||||
<if test="orderId != null "> and o.order_id = #{orderId}</if>
|
<if test="orderId != null "> and o.order_id = #{orderId}</if>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue