Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
15811d9e
Commit
15811d9e
authored
Nov 30, 2023
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
科士达电量值重复问题修复。
parent
d4de3201
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
KsolarDataAcquisitionServiceImpl.java
...i/face/service/impl/KsolarDataAcquisitionServiceImpl.java
+8
-8
No files found.
amos-boot-data/amos-boot-data-housepvapi/src/main/java/com/yeejoin/amos/api/householdapi/face/service/impl/KsolarDataAcquisitionServiceImpl.java
View file @
15811d9e
...
@@ -569,7 +569,7 @@ public class KsolarDataAcquisitionServiceImpl implements KSolarDataAcquisitionSe
...
@@ -569,7 +569,7 @@ public class KsolarDataAcquisitionServiceImpl implements KSolarDataAcquisitionSe
for
(
int
k1
=
1
;
k1
<
13
;
k1
++)
{
for
(
int
k1
=
1
;
k1
<
13
;
k1
++)
{
JpInverterElectricity
jpInverterElectricity
=
jpInverterElectricityMapper
.
selectOne
(
new
QueryWrapper
<
JpInverterElectricity
>().
JpInverterElectricity
jpInverterElectricity
=
jpInverterElectricityMapper
.
selectOne
(
new
QueryWrapper
<
JpInverterElectricity
>().
eq
(
"sn_code"
,
jpInverter
.
getSnCode
()).
like
(
"sn_code"
,
jpInverter
.
getSnCode
().
trim
()).
eq
(
"type"
,
"直流"
).
eq
(
"type"
,
"直流"
).
eq
(
"name"
,
"PV"
+
k1
)
eq
(
"name"
,
"PV"
+
k1
)
);
);
...
@@ -593,7 +593,7 @@ public class KsolarDataAcquisitionServiceImpl implements KSolarDataAcquisitionSe
...
@@ -593,7 +593,7 @@ public class KsolarDataAcquisitionServiceImpl implements KSolarDataAcquisitionSe
}
}
JpInverterElectricity
jpInverterElectricityR
=
jpInverterElectricityMapper
.
selectOne
(
new
QueryWrapper
<
JpInverterElectricity
>().
JpInverterElectricity
jpInverterElectricityR
=
jpInverterElectricityMapper
.
selectOne
(
new
QueryWrapper
<
JpInverterElectricity
>().
eq
(
"sn_code"
,
jpInverter
.
getSnCode
()).
like
(
"sn_code"
,
jpInverter
.
getSnCode
().
trim
()).
eq
(
"type"
,
"交流"
).
eq
(
"type"
,
"交流"
).
eq
(
"name"
,
"RS"
)
eq
(
"name"
,
"RS"
)
);
);
...
@@ -616,7 +616,7 @@ public class KsolarDataAcquisitionServiceImpl implements KSolarDataAcquisitionSe
...
@@ -616,7 +616,7 @@ public class KsolarDataAcquisitionServiceImpl implements KSolarDataAcquisitionSe
}
}
JpInverterElectricity
jpInverterElectricityS
=
jpInverterElectricityMapper
.
selectOne
(
new
QueryWrapper
<
JpInverterElectricity
>().
JpInverterElectricity
jpInverterElectricityS
=
jpInverterElectricityMapper
.
selectOne
(
new
QueryWrapper
<
JpInverterElectricity
>().
eq
(
"sn_code"
,
jpInverter
.
getSnCode
()).
like
(
"sn_code"
,
jpInverter
.
getSnCode
().
trim
()).
eq
(
"type"
,
"交流"
).
eq
(
"type"
,
"交流"
).
eq
(
"name"
,
"ST"
)
eq
(
"name"
,
"ST"
)
);
);
...
@@ -639,7 +639,7 @@ public class KsolarDataAcquisitionServiceImpl implements KSolarDataAcquisitionSe
...
@@ -639,7 +639,7 @@ public class KsolarDataAcquisitionServiceImpl implements KSolarDataAcquisitionSe
JpInverterElectricity
jpInverterElectricityT
=
jpInverterElectricityMapper
.
selectOne
(
new
QueryWrapper
<
JpInverterElectricity
>().
JpInverterElectricity
jpInverterElectricityT
=
jpInverterElectricityMapper
.
selectOne
(
new
QueryWrapper
<
JpInverterElectricity
>().
eq
(
"sn_code"
,
jpInverter
.
getSnCode
()).
like
(
"sn_code"
,
jpInverter
.
getSnCode
().
trim
()).
eq
(
"type"
,
"交流"
).
eq
(
"type"
,
"交流"
).
eq
(
"name"
,
"TR"
)
eq
(
"name"
,
"TR"
)
);
);
...
@@ -760,7 +760,7 @@ public class KsolarDataAcquisitionServiceImpl implements KSolarDataAcquisitionSe
...
@@ -760,7 +760,7 @@ public class KsolarDataAcquisitionServiceImpl implements KSolarDataAcquisitionSe
for
(
int
k1
=
1
;
k1
<
13
;
k1
++)
{
for
(
int
k1
=
1
;
k1
<
13
;
k1
++)
{
JpInverterElectricity
jpInverterElectricity
=
jpInverterElectricityMapper
.
selectOne
(
new
QueryWrapper
<
JpInverterElectricity
>().
JpInverterElectricity
jpInverterElectricity
=
jpInverterElectricityMapper
.
selectOne
(
new
QueryWrapper
<
JpInverterElectricity
>().
eq
(
"sn_code"
,
ksolarStationCollectData
.
getInverterId
()).
like
(
"sn_code"
,
ksolarStationCollectData
.
getInverterId
().
trim
()).
eq
(
"type"
,
"直流"
).
eq
(
"type"
,
"直流"
).
eq
(
"name"
,
"PV"
+
k1
)
eq
(
"name"
,
"PV"
+
k1
)
);
);
...
@@ -784,7 +784,7 @@ public class KsolarDataAcquisitionServiceImpl implements KSolarDataAcquisitionSe
...
@@ -784,7 +784,7 @@ public class KsolarDataAcquisitionServiceImpl implements KSolarDataAcquisitionSe
}
}
JpInverterElectricity
jpInverterElectricityR
=
jpInverterElectricityMapper
.
selectOne
(
new
QueryWrapper
<
JpInverterElectricity
>().
JpInverterElectricity
jpInverterElectricityR
=
jpInverterElectricityMapper
.
selectOne
(
new
QueryWrapper
<
JpInverterElectricity
>().
eq
(
"sn_code"
,
ksolarStationCollectData
.
getInverterId
()).
like
(
"sn_code"
,
ksolarStationCollectData
.
getInverterId
().
trim
()).
eq
(
"type"
,
"交流"
).
eq
(
"type"
,
"交流"
).
eq
(
"name"
,
"RS"
)
eq
(
"name"
,
"RS"
)
);
);
...
@@ -807,7 +807,7 @@ public class KsolarDataAcquisitionServiceImpl implements KSolarDataAcquisitionSe
...
@@ -807,7 +807,7 @@ public class KsolarDataAcquisitionServiceImpl implements KSolarDataAcquisitionSe
}
}
JpInverterElectricity
jpInverterElectricityS
=
jpInverterElectricityMapper
.
selectOne
(
new
QueryWrapper
<
JpInverterElectricity
>().
JpInverterElectricity
jpInverterElectricityS
=
jpInverterElectricityMapper
.
selectOne
(
new
QueryWrapper
<
JpInverterElectricity
>().
eq
(
"sn_code"
,
ksolarStationCollectData
.
getInverterId
().
trim
()).
like
(
"sn_code"
,
ksolarStationCollectData
.
getInverterId
().
trim
()).
eq
(
"type"
,
"交流"
).
eq
(
"type"
,
"交流"
).
eq
(
"name"
,
"ST"
)
eq
(
"name"
,
"ST"
)
);
);
...
@@ -830,7 +830,7 @@ public class KsolarDataAcquisitionServiceImpl implements KSolarDataAcquisitionSe
...
@@ -830,7 +830,7 @@ public class KsolarDataAcquisitionServiceImpl implements KSolarDataAcquisitionSe
JpInverterElectricity
jpInverterElectricityT
=
jpInverterElectricityMapper
.
selectOne
(
new
QueryWrapper
<
JpInverterElectricity
>().
JpInverterElectricity
jpInverterElectricityT
=
jpInverterElectricityMapper
.
selectOne
(
new
QueryWrapper
<
JpInverterElectricity
>().
eq
(
"sn_code"
,
ksolarStationCollectData
.
getInverterId
()).
like
(
"sn_code"
,
ksolarStationCollectData
.
getInverterId
().
trim
()).
eq
(
"type"
,
"交流"
).
eq
(
"type"
,
"交流"
).
eq
(
"name"
,
"TR"
)
eq
(
"name"
,
"TR"
)
);
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment