|
|
|
@ -13,7 +13,7 @@ public class YunXiaoModel {
|
|
|
|
|
*
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
public List<com.jfinal.plugin.activerecord.Record> getStandardSchoolList() {
|
|
|
|
|
public List<Record> getStandardSchoolList() {
|
|
|
|
|
String sql = "select organization_no,organization_name,gather_regionc from 教基1001 where a=1 and length(organization_no)=10 order by gather_regionc";
|
|
|
|
|
return Db.find(sql);
|
|
|
|
|
}
|
|
|
|
@ -25,9 +25,10 @@ public class YunXiaoModel {
|
|
|
|
|
* @param pageSize 每页数量
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
public Page<com.jfinal.plugin.activerecord.Record> matchSchoolNameList(int pageNum, int pageSize) {
|
|
|
|
|
public Page<Record> matchSchoolNameList(int pageNum, int pageSize) {
|
|
|
|
|
SqlPara sqlPara = Db.getSqlPara("YunXiao.matchSchoolNameList");
|
|
|
|
|
return Db.paginate(pageNum, pageSize, sqlPara);
|
|
|
|
|
Page<Record> page=Db.paginate(pageNum, pageSize, sqlPara);
|
|
|
|
|
return page;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|