@enervance/insight-cim-model 1.0.26 → 1.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -9,7 +9,7 @@ class FeederDao extends EquipmentContainerDao_1.EquipmentContainerDao {
|
|
|
9
9
|
{
|
|
10
10
|
sql: `
|
|
11
11
|
insert into cim.feeder (mrid)
|
|
12
|
-
values (
|
|
12
|
+
values (?)
|
|
13
13
|
on conflict (mrid) do nothing
|
|
14
14
|
`,
|
|
15
15
|
params: [
|
|
@@ -26,8 +26,8 @@ class FeederDao extends EquipmentContainerDao_1.EquipmentContainerDao {
|
|
|
26
26
|
{
|
|
27
27
|
sql: `
|
|
28
28
|
update cim.feeder
|
|
29
|
-
set normal_energizing_substation_mrid =
|
|
30
|
-
where mrid =
|
|
29
|
+
set normal_energizing_substation_mrid = ?
|
|
30
|
+
where mrid = ?
|
|
31
31
|
`,
|
|
32
32
|
params: [
|
|
33
33
|
this.cimObject.getUUID(),
|
|
@@ -41,7 +41,7 @@ class SubstationDao extends EquipmentContainerDao_1.EquipmentContainerDao {
|
|
|
41
41
|
insert into cim.substation_normal_energized_feeder (
|
|
42
42
|
substation_mrid,
|
|
43
43
|
feeder_mrid
|
|
44
|
-
) values (
|
|
44
|
+
) values (?, ?)
|
|
45
45
|
on conflict (substation_mrid, feeder_mrid) do nothing
|
|
46
46
|
`,
|
|
47
47
|
params: [
|