第一种方法:
第二种:
eg:
int a[] = new int[]{1,2};
select * from tepd.functions where functionsid in (a) or topfuncid in (a)
第二种:
int b =6;
select * from tepd.functions a where a.functionsid=b union select * from tepd.functions b where b.topfuncid=b