修改分页总条数显示

pull/4/head
fangjiakai 2024-02-20 17:58:13 +08:00
parent 192810971f
commit 488ed3f01e
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }