mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-26 10:54:55 +00:00
Fix SQL query in getPowerClampData method to use 'fact_daily_energy_consumed'
This commit is contained in:
@ -11,7 +11,7 @@ export class PowerClampService {
|
|||||||
|
|
||||||
async getPowerClampData() {
|
async getPowerClampData() {
|
||||||
const sql = this.sqlLoader.loadQuery(
|
const sql = this.sqlLoader.loadQuery(
|
||||||
'power-clamp',
|
'fact_daily_energy_consumed',
|
||||||
'fact_daily_energy_consumed',
|
'fact_daily_energy_consumed',
|
||||||
);
|
);
|
||||||
return this.dataSource.manager.query(sql);
|
return this.dataSource.manager.query(sql);
|
||||||
|
|||||||
Reference in New Issue
Block a user