7430_devToTest #2490
|
@ -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