where actime > getdate() 
      and model = @model 
      and (title like '%' + @keywords + '%' -----##  
      or intro like '%' + @keywords + '%')  -----##

解决方案 »

  1.   


    你这样就好了!!!
    where actime > getdate() and model = @model and (title like '%' + @keywords + '%'  or intro like '%' + @keywords + '%')
      

  2.   

    where actime > getdate() and model = @model and title like '%' + @keywords + '%'  or intro like '%' + @keywords + '%'
    =
    where (
    actime > getdate() and model = @model and title like '%' + @keywords + '%' 
    )
     or
    ( intro like '%' + @keywords + '%')这样理解的话,你就明白为什么了呵呵