2019-01-11 10:08
@JFinal #sql("findorder")
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 and o.sn like concat('%', #para(0), '%')
#end
SqlPara sqlPara = Db.getSqlPara("findorder", sn);
list =Db.paginate(pageNumber, PAGE_SIZE, sqlPara);
System.out.print(list);
结果
pageNumber : 1
pageSize : 20
totalPage : 1
totalRow : 3 为什么结果还是出不来呢