放到后面注释掉?select * from A a where a.DEP='参数' and a.ORG_ID like'%参数%' -- and a.ORG_ID='参数'
用OR链接?select * from A a where (a.ORG_ID='参数') or (a.DEP='参数' and a.ORG_ID like'%参数%')
删掉
要么删掉它 要么满足它没其它的办法