forked from integrated_whb/integrated_whb
修改分页总条数显示
parent
192810971f
commit
488ed3f01e
|
@ -242,7 +242,7 @@ public class IdentificationPartsController extends BaseController {
|
||||||
if (body != null) {
|
if (body != null) {
|
||||||
List<JSONObject> list = body.getJSONArray("rows").toJavaList(JSONObject.class);
|
List<JSONObject> list = body.getJSONArray("rows").toJavaList(JSONObject.class);
|
||||||
returnMap.put("varList", list);
|
returnMap.put("varList", list);
|
||||||
page.setTotalPage(body.getIntValue("total"));
|
page.setTotalResult(body.getIntValue("total"));
|
||||||
returnMap.put("page", page);
|
returnMap.put("page", page);
|
||||||
return returnMap;
|
return returnMap;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue