fix:采购列表返回字段修改
parent
abcd3c1c6f
commit
e251f3fccb
|
|
@ -72,7 +72,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
, t1.purchaser_mobile, t1.purchaser_email, t1.warehouse_id, t1.pay_method, t1.owner_id, t1.owner_name, t1.remark, t1.total_amount,t1.flow_type
|
, t1.purchaser_mobile, t1.purchaser_email, t1.warehouse_id, t1.pay_method, t1.owner_id, t1.owner_name, t1.remark, t1.total_amount,t1.flow_type
|
||||||
, t1.status, t1.approve_status, t1.approve_time, t1.approve_node, t1.confirm_status, t1.create_time, t1.update_time, t1.del_flag,t1.version
|
, t1.status, t1.approve_status, t1.approve_time, t1.approve_node, t1.confirm_status, t1.create_time, t1.update_time, t1.del_flag,t1.version
|
||||||
, t1.file_id
|
, t1.file_id
|
||||||
,t2.vendor_name,t2.vendor_user,t2.vendor_code,t2.vendor_phone,t2.vendor_email,t3.warehouse_name
|
,t2.vendor_address as vendor_name,t2.vendor_user,t2.vendor_code,t2.vendor_phone,t2.vendor_email,t3.warehouse_name
|
||||||
from oms_purchase_order t1
|
from oms_purchase_order t1
|
||||||
left join oms_vendor_info t2 on t1.vendor_id = t2.vendor_id
|
left join oms_vendor_info t2 on t1.vendor_id = t2.vendor_id
|
||||||
left join oms_warehouse_info t3 on t1.warehouse_id = t3.id
|
left join oms_warehouse_info t3 on t1.warehouse_id = t3.id
|
||||||
|
|
@ -88,7 +88,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="confirmStatus != null "> and t1.confirm_status = #{confirmStatus}</if>
|
<if test="confirmStatus != null "> and t1.confirm_status = #{confirmStatus}</if>
|
||||||
<if test="approveStatus != null "> and t1.approve_status = #{approveStatus}</if>
|
<if test="approveStatus != null "> and t1.approve_status = #{approveStatus}</if>
|
||||||
<if test="flowType != null "> and t1.flow_type = #{flowType}</if>
|
<if test="flowType != null "> and t1.flow_type = #{flowType}</if>
|
||||||
<if test="vendorName != null "> and t2.vendor_name = #{vendorName}</if>
|
<if test="vendorName != null "> and t2.vendor_address = #{vendorName}</if>
|
||||||
<if test="ownerName != null "> and t1.owner_name = #{ownerName}</if>
|
<if test="ownerName != null "> and t1.owner_name = #{ownerName}</if>
|
||||||
<if test="productCode != null and productCode!='' "> and t1.id in (select purchase_id from oms_purchase_order_item where product_code =#{productCode})</if>
|
<if test="productCode != null and productCode!='' "> and t1.id in (select purchase_id from oms_purchase_order_item where product_code =#{productCode})</if>
|
||||||
<if test="productModel != null and productModel!=''"> and t1.id in
|
<if test="productModel != null and productModel!=''"> and t1.id in
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue