关键在于 not  exists(select   1   from   [WBISCommon].[dbo].[WBIS_CommDisc]
   where   RepCode=c.RepCode   )  

 

起了过滤

相关文章: