|
|
|
@ -343,7 +343,6 @@ FROM
|
|
|
|
|
inner join basic_udirel on ipd.relId = basic_udirel.id
|
|
|
|
|
inner join basic_products bp on basic_udirel.uuid = bp.uuid
|
|
|
|
|
inner join io_order io on io.billNo = ipd.orderId
|
|
|
|
|
left join basic_corp on ipd.supId = basic_corp.erpId
|
|
|
|
|
<where>
|
|
|
|
|
<if test="mainAction != null and mainAction != ''">
|
|
|
|
|
AND io.mainAction = #{mainAction}
|
|
|
|
@ -359,9 +358,6 @@ FROM
|
|
|
|
|
</if>
|
|
|
|
|
<if test="ggxh != null and ggxh != ''">
|
|
|
|
|
AND bp.ggxh like concat('%', #{ggxh}, '%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="corpType != null">
|
|
|
|
|
AND basic_corp.corpType = #{corpType}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="fromCorp != null and fromCorp != ''">
|
|
|
|
|
AND ipd.deptCode = #{fromCorp}
|
|
|
|
|