fix
This commit is contained in:
parent
f504601071
commit
32dfc0b0de
|
|
@ -16,7 +16,5 @@ public class OrderInfoVo extends OrderInfo {
|
|||
private String deviceName;
|
||||
private Long maId;
|
||||
private String orderPhone;
|
||||
|
||||
|
||||
|
||||
private String supplierCompany;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,9 +23,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
</sql>
|
||||
|
||||
<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
|
||||
select o.*,d.phone as order_phone,d.ma_id,co.company_name as supplier_company
|
||||
from ma_order_info o
|
||||
left join ma_order_details d on o.order_id=d.order_id
|
||||
left join bm_company_info co on o.supplier=co.company_id
|
||||
<where>
|
||||
<if test="orderId != null "> and o.order_id = #{orderId}</if>
|
||||
<if test="pId != null "> and o.p_id = #{pId}</if>
|
||||
|
|
|
|||
Loading…
Reference in New Issue