mirror of
https://github.com/pcvolkmer/mv64e-onkostar-data.git
synced 2025-07-02 02:22:54 +00:00
fix: ambiguous column id
This commit is contained in:
@ -31,7 +31,7 @@ public abstract class AbstractDataCatalogue implements DataCatalogue {
|
||||
public ResultSet getById(int id) {
|
||||
var result = this.jdbcTemplate.query(
|
||||
String.format(
|
||||
"SELECT * FROM %s JOIN prozedur ON (prozedur.id = %s.id) WHERE geloescht = 0 AND id = ?",
|
||||
"SELECT * FROM %s JOIN prozedur ON (prozedur.id = %s.id) WHERE geloescht = 0 AND prozedur.id = ?",
|
||||
getTableName(),
|
||||
getTableName()
|
||||
),
|
||||
|
Reference in New Issue
Block a user