DELETE FROM ptype WHERE ParId<>'root' AND sonnum=0 AND rec NOT IN (SELECT prec FROM  dbo.IniGoodsStocks)--ڳ״̬ɾΪƷϢִнűǰݱ