#7187 add pda freelancers #2298
|
@ -13,9 +13,7 @@ module.exports = Self => {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
Self.getAvailablePda = async() => {
|
Self.getAvailablePda = async() => {
|
||||||
const models = Self.app.models;
|
return Self.app.models.DeviceProduction.rawSql(
|
||||||
|
|
||||||
return models.DeviceProduction.rawSql(
|
|
||||||
`SELECT d.*
|
`SELECT d.*
|
||||||
FROM deviceProduction d
|
FROM deviceProduction d
|
||||||
LEFT JOIN deviceProductionUser du ON du.deviceProductionFk = d.id
|
LEFT JOIN deviceProductionUser du ON du.deviceProductionFk = d.id
|
||||||
|
|
Loading…
Reference in New Issue