1.pmsbug调整

This commit is contained in:
wr
2024-03-13 14:00:49 +08:00
parent 5c42afe87d
commit 4ed31bd4b1
10 changed files with 22 additions and 36 deletions

View File

@@ -44,6 +44,10 @@ public class PmsStatationStatInfoDTO implements Serializable {
* 电站名称
*/
private String powerName;
/**
* 母线名称
*/
private String busBarName;
/**
* 变电站电压等级

View File

@@ -9,12 +9,14 @@
pm.Org_Name AS orgName,
pm.Powerr_Id AS powerId,
pm.Powerr_Name AS powerName,
pgw.name AS busBarName,
pm.Id AS monitorId,
pm.`Name` AS monitorName,
pss.Voltage_Level AS powerVoltageLevel
FROM
pms_monitor AS pm
LEFT JOIN pms_statation_stat AS pss ON pss.Power_Id = pm.Powerr_Id
LEFT JOIN pms_generatrix_wire AS pgw ON pgw.id = pm.Line_Id
WHERE
pm.Status = 1
AND pss.Status = 1