|
@@ -473,6 +473,7 @@
|
|
|
left join source_relation_info sri on iowt.id = sri.task_id and sri.delete_flag = 0
|
|
|
WHERE s.delete_flag = '0'
|
|
|
AND s.comp_id = #{compId}
|
|
|
+ and w.in_out_type='销售出库'
|
|
|
<if test="warehouseName != null and warehouseName != ''">
|
|
|
AND s.warehouse_name= #{warehouseName}
|
|
|
</if>
|