This commit is contained in:
parent
b41104432c
commit
1abacdc42b
|
@ -13,9 +13,7 @@ module.exports = Self => {
|
|||
}
|
||||
});
|
||||
Self.getAvailablePda = async() => {
|
||||
const models = Self.app.models;
|
||||
|
||||
return models.DeviceProduction.rawSql(
|
||||
return Self.app.models.DeviceProduction.rawSql(
|
||||
`SELECT d.*
|
||||
FROM deviceProduction d
|
||||
LEFT JOIN deviceProductionUser du ON du.deviceProductionFk = d.id
|
||||
|
|
Loading…
Reference in New Issue