|
@@ -440,7 +440,7 @@
|
|
LEFT JOIN bus_supplier_release c ON b.uuid = c.demand_uuid
|
|
LEFT JOIN bus_supplier_release c ON b.uuid = c.demand_uuid
|
|
LEFT JOIN sys_supplier e ON c.code = e.code
|
|
LEFT JOIN sys_supplier e ON c.code = e.code
|
|
JOIN bus_private_ordering_type a ON (order_type = '4' or order_type = '5' or order_type = '14') and b.uuid = a.demand_uuid and c.code = a.code
|
|
JOIN bus_private_ordering_type a ON (order_type = '4' or order_type = '5' or order_type = '14') and b.uuid = a.demand_uuid and c.code = a.code
|
|
- where b.code = #{code} and b.uuid not in (select demand_uuid from bus_travel where code = #{code} and state_type = '1')
|
|
|
|
|
|
+ where b.code = #{code} and b.uuid not in (select demand_uuid from bus_travel where code = #{code} and state_type = '1' and demand_uuid is not null )
|
|
</select>
|
|
</select>
|
|
<!-- 查询指定定制单内容 -->
|
|
<!-- 查询指定定制单内容 -->
|
|
<select id="getTravelVal" resultType="PrivateOrder">
|
|
<select id="getTravelVal" resultType="PrivateOrder">
|