refs #5244 fix: add id
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Vicent Llopis 2023-06-29 15:22:53 +02:00
parent 011db142d3
commit 3cedef6f16
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ module.exports = Self => {
}
const stmt = new ParameterizedSQL(
`SELECT DISTINCT w.code, u.name, u.nickname
`SELECT DISTINCT w.id, w.code, u.name, u.nickname
FROM worker w
JOIN account.user u ON u.id = w.id
JOIN business b ON b.workerFk = w.id