!854 update 优化使用getFirst()替代get(0)以提高代码可读性

* update 优化使用getFirst()替代get(0)以提高代码可读性
This commit is contained in:
AprilWind
2026-06-10 02:18:35 +00:00
committed by 疯狂的狮子Li
parent 83eb74c56d
commit e38e99b7f8
12 changed files with 18 additions and 18 deletions
@@ -603,7 +603,7 @@ public class GenTableServiceImpl implements IGenTableService {
}
}
if (ObjectUtil.isNull(table.getPkColumn())) {
table.setPkColumn(table.getColumns().get(0));
table.setPkColumn(table.getColumns().getFirst());
}
}