完成工程管理模块前端页面与SQL脚本开发

This commit is contained in:
2026-06-12 14:21:54 +08:00
parent 41720e624c
commit 81d3c03f09
72 changed files with 9926 additions and 319 deletions

View File

@@ -43,6 +43,23 @@ public class TableDataInfo implements Serializable
this.total = total;
}
/**
* 构建分页数据
*
* @param list 列表数据
* @param total 总记录数
* @return 分页数据对象
*/
public static TableDataInfo build(List<?> list, long total)
{
TableDataInfo rspData = new TableDataInfo();
rspData.setCode(200);
rspData.setMsg("查询成功");
rspData.setRows(list);
rspData.setTotal(total);
return rspData;
}
public long getTotal()
{
return total;