导读:public class DaoHelper { /** * 按照LastName顺序排序 * @param firstname * @return */ public static List select(String firstname) { return userDao.queryBuilder() .where(Properties.FirstName.eq(firstname)) .orderAsc(Properties.LastName) .list...
public class DaoHelper {
/**
* 按照LastName顺序排序
* @param firstname
* @return
*/
public static List select(String firstname)
{
returnuserDao.queryBuilder()
.where(Properties.FirstName.eq(firstname))
.orderAsc(Properties.LastName)
.list();
}
}