想法,能支持in查询和 =查询的 公共方法,类似下面实现用 泛型 实现 参数 getList(String[] params,Object[] values){}for(int i=0;i<valuse.length;i++){ if(values[i] instance of Object){ ... }else if(values[i] instance of Object[]{ }else if(values[i] instance of Set){ } }