init:米东项目初始化

This commit is contained in:
Yuan
2025-07-23 09:55:50 +08:00
commit 6b49fbfaca
355 changed files with 392953 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
package com.saye.hospitalgd.commons.page;
import com.github.pagehelper.PageInfo;
import java.util.List;
public class PageUtil {
public static TemplatePage loadJsonPage(PageInfo pageInfo){
TemplatePage templetJson = new TemplatePage();
try {
List list = pageInfo.getList();
int i = (int) pageInfo.getTotal();
templetJson.setCount(i);
templetJson.setCode(0);
templetJson.setMsg("");
templetJson.setData(list);
} catch (Exception e) {
templetJson.setCode(1);
}
return templetJson;
}
}