mirror of
https://github.com/hs-web/hsweb-framework.git
synced 2026-05-07 21:55:57 +08:00
refactor: 优化findColumn方法
This commit is contained in:
@@ -122,7 +122,8 @@ public interface QueryAnalyzer {
|
||||
for (Column col : columnList) {
|
||||
if (Objects.equals(col.name, name)
|
||||
|| Objects.equals(col.name, snake)
|
||||
|| Objects.equals(QueryHelperUtils.toSnake(col.alias), snake)) {
|
||||
|| Objects.equals(QueryHelperUtils.toSnake(col.alias), snake)
|
||||
|| Objects.equals(col.getFullName(), snake)) {
|
||||
return Optional.of(col);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user