怎么通过生日来查询女神的信息?
GoddessDao gd =new GoddessDao();
List<Map<String,Object>> params = new ArrayList<Map<String,Object>>();
Map<String,Object> param = new HashMap<String, Object>();
param.put("name","birthday");
param.put("relat","=");
param.put("value",2017-06-18);
params.add(param);
List<Goddess> goddesses = gd.queryByParam(params);
for (Goddess g : goddesses){
System.out.println(g.toString());
}
为什么我这么做查询不到呢?