#7187 add pda freelancers #2298

Merged
pablone merged 19 commits from 7187-addPdaFreelancers into dev 2024-05-17 11:35:20 +00:00
1 changed files with 1 additions and 3 deletions
Showing only changes of commit 1abacdc42b - Show all commits

View File

@ -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