SELECT * FROM gateway WHERE createTime BETWEEN '2012-2-2' AND '2012-2-15' AND gatewayName='FPTEE93852K3'
Cnd能拼出来嘛
dao.query(Gateway.class, Cnd.where("createTime", "BETWEEN", new String[]{"2012-2-2", "2012-2-15"}).and("gatewayName", "=", "FPTEE93852K3"));
oo,我理解错了.3Q~