String sql=" FROM shop_food_order o,shop_restaurant r ,security_user u where o.sEmpCode=r.id and u.user_info_id=o.memberId and sn like '%'".concat("?").concat("%'");
//sb.append(" and sn like '%").append(sn).append("%'");
list = Db.paginate(pageNumber, PAGE_SIZE,"SELECT o.*,r.name as rname,u.realname ",sql,sn);
带条件查询出不来
list = Db.paginate(pageNumber, PAGE_SIZE,"SELECT o.*,r.name as rname,u.realname "," FROM shop_food_order o,shop_restaurant r ,security_user u where o.sEmpCode=r.id and u.user_info_id=o.memberId ");
没有条件的没报错,求指点
项目:JFinal