This commit is contained in:
parent
011db142d3
commit
3cedef6f16
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue