1
0
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:
2025-06-20 21:47:07 +02:00
parent c82a4f2efd
commit e8d4b36d13

View File

@ -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()
),