Commit 05fbbf9e by liulianglang

接口修改

parent e3e1bd11
......@@ -323,7 +323,13 @@ public class GjServiceImpl implements GjService {
@Override
public Map<String, Object> getThr(HttpServletRequest request, XyrParam xyrParam) throws Exception {
Map<String, Object> returnMap = new HashMap<>();
EasyUIPage easyUIPage = new EasyUIPage();
easyUIPage.setPage(xyrParam.getPage());
easyUIPage.setPagePara(xyrParam.getLimit());
int begin = easyUIPage.getBegin();
int end = easyUIPage.getEnd();
xyrParam.setPage(begin);
xyrParam.setLimit(end);
String sql = "SELECT HH FROM people_type01 where _type= " +
"'zaczrkhzls' AND " +
......@@ -350,7 +356,9 @@ public class GjServiceImpl implements GjService {
sql = "SELECT STATE,HH,XM,XB,ZJHM,YHZGX,RHSJ FROM " +
"people_type01 where _type= " +
"'zaczrkhzls' " +
" AND HH in " + hh + " limit 0,100";
" AND HH in " + hh + " ";
sql += " limit " + xyrParam.getPage() + "," + xyrParam.getLimit() + " " +
"order by RHSJ desc";
//获取户籍下面的全部人员 STATE 状态,HH:户口,YHZGX:与户主关系,RHSJ:入户时间
map = EsUtils.newQueryEs(request, sql);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment