5244-component_workerAutocomplete #1679
|
@ -41,7 +41,7 @@ module.exports = Self => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const stmt = new ParameterizedSQL(
|
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
|
FROM worker w
|
||||||
JOIN account.user u ON u.id = w.id
|
JOIN account.user u ON u.id = w.id
|
||||||
JOIN business b ON b.workerFk = w.id
|
JOIN business b ON b.workerFk = w.id
|
||||||
|
|
Loading…
Reference in New Issue