@@ -292,7 +292,7 @@
|
|||||||
}),
|
}),
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
if(res && res.code === 200 && res.data) {
|
if(res && res.code === 200 && res.data) {
|
||||||
$("#tableData").datagrid('loadData', res.data.rows);
|
$("#tableData").datagrid('loadData', res.data);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//此处添加错误处理
|
//此处添加错误处理
|
||||||
|
|||||||
@@ -292,7 +292,7 @@
|
|||||||
}),
|
}),
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
if(res && res.code === 200 && res.data) {
|
if(res && res.code === 200 && res.data) {
|
||||||
$("#tableData").datagrid('loadData', res.data.rows);
|
$("#tableData").datagrid('loadData', res.data);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//此处添加错误处理
|
//此处添加错误处理
|
||||||
|
|||||||
@@ -209,7 +209,9 @@ public class DepotHeadController {
|
|||||||
Map<String, Object> map = new HashMap<String, Object>();
|
Map<String, Object> map = new HashMap<String, Object>();
|
||||||
try {
|
try {
|
||||||
List<DepotHeadVo4InDetail> resList = new ArrayList<DepotHeadVo4InDetail>();
|
List<DepotHeadVo4InDetail> resList = new ArrayList<DepotHeadVo4InDetail>();
|
||||||
List<DepotHeadVo4InDetail> list = depotHeadService.findByAll(beginTime, endTime, type, pid, dids, oId, currentPage, pageSize);
|
Integer limitStart = (currentPage-1)*pageSize;
|
||||||
|
Integer limitEnd = pageSize;
|
||||||
|
List<DepotHeadVo4InDetail> list = depotHeadService.findByAll(beginTime, endTime, type, pid, dids, oId, limitStart, limitEnd);
|
||||||
int total = depotHeadService.findByAllCount(beginTime, endTime, type, pid, dids, oId);
|
int total = depotHeadService.findByAllCount(beginTime, endTime, type, pid, dids, oId);
|
||||||
map.put("total", total);
|
map.put("total", total);
|
||||||
//存放数据json数组
|
//存放数据json数组
|
||||||
|
|||||||
Reference in New Issue
Block a user