Update query in SettingsMapper to use internal_name instead of name for database identification.
This commit is contained in:
parent
dc65b19a8f
commit
745dab4d80
|
|
@ -3,6 +3,6 @@ package com.alttd.altitudeweb.database.web_db;
|
||||||
import org.apache.ibatis.annotations.Select;
|
import org.apache.ibatis.annotations.Select;
|
||||||
|
|
||||||
public interface SettingsMapper {
|
public interface SettingsMapper {
|
||||||
@Select("SELECT host, port, name, username, password FROM db_connection_settings WHERE name = #{database}")
|
@Select("SELECT host, port, name, username, password FROM db_connection_settings WHERE internal_name = #{database}")
|
||||||
DatabaseSettings getSettings(String database);
|
DatabaseSettings getSettings(String database);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user