|
@@ -52,6 +52,7 @@
|
|
|
JOIN tld_invite_f b ON a.ask_goods_id = b.ask_goods_id
|
|
|
LEFT JOIN tld_department c ON b.department = c.code
|
|
|
JOIN tld_material e ON a.material_id = e.tld_id
|
|
|
+
|
|
|
WHERE
|
|
|
( a.num + 0 ) <![CDATA[>]]> (
|
|
|
IFNULL( a.out_num, 0 ) + 0) and e.part_type != '半成品' and e.part_type != '产成品'
|