select * from usertable where 1=1 and (name=@name or @name='') and (page=@page or @page='')
Reproduced in: https: //www.cnblogs.com/muxueyuan/p/11067336.html
select * from usertable where 1=1 and (name=@name or @name='') and (page=@page or @page='')
Reproduced in: https: //www.cnblogs.com/muxueyuan/p/11067336.html