门诊换卡优化

This commit is contained in:
2025-11-24 09:22:11 +08:00
parent 60593233bc
commit c561586cfa
3 changed files with 26 additions and 25 deletions

View File

@@ -252,12 +252,10 @@ public class GenController extends BaseController {
InputStream is = file.getInputStream();
Workbook wb = WorkbookFactory.create(is);
StringBuilder sb = new StringBuilder();
// 遍历每个sheet页每个表
for (int i = 0; i < wb.getNumberOfSheets(); i++) {
sb.append("-- ----------------------------------------------------------------------------------\n");
Sheet st = wb.getSheetAt(i);
// 从第一行读取表名表注释
Row row0 = st.getRow(0);// 表名
String tableName = row0.getCell(4).toString();// 表名