Pre Merge pull request !242 from kagome2014/N/A
This commit is contained in:
commit
84bf1663ac
|
|
@ -107,7 +107,7 @@ public class BaseController
|
|||
protected TableDataInfo getDataTable(List<?> list)
|
||||
{
|
||||
TableDataInfo rspData = new TableDataInfo();
|
||||
rspData.setCode(0);
|
||||
rspData.setCode(Type.SUCCESS.value());
|
||||
rspData.setRows(list);
|
||||
rspData.setTotal(new PageInfo(list).getTotal());
|
||||
return rspData;
|
||||
|
|
|
|||
Loading…
Reference in New Issue