Page<Record> result = model.getPaging(pageNum, pageSize,where)
Tag tag=new Tag();
for (Record res : result.getList()) {
String courseId = res.get("courseId");
List<Record> re = tag.showList(pageNum, pageSize, courseId);
}
renderJSON(true,"请求成功",result.getList())
我要怎样返回result 以及result 所对应的re呢
项目:JFinal
for(Record res : result.getList()){
String courseId = res.get("courseId");
List re = tag.showList(pageNum, pageSize, courseId);
res.set("re', re );
}
就好。