zhangyuewww 1 jaar geleden
bovenliggende
commit
1c9a1950fd

+ 1 - 0
winsea-haixin-plugin-yiliangyiyun/src/main/resources/mapper/WarehouseBaseInfoMapper.xml

@@ -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>