from student t
where t.mobile in ('18682288909','13040856614', '13428921785', '18565820773',
'15626162406','18566621621')
就这样
在service中把参数放到hashmap中
list
list.add("x");
list.add("y");
list.add("z");
string s = "a"
date d = new date();
hashmap
param.put("list",list);
param.put("s",s);
param.put("d",d);
xxxdao.queryxxx(param);
在mybatis的mapper中是这么写: