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
e39e6b43
Commit
e39e6b43
authored
Apr 09, 2024
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
判断不存在
parent
78bbf8cf
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
20 additions
and
0 deletions
+20
-0
HYGFJPDayPowerImpl.java
...ouseholdapi/face/service/business/HYGFJPDayPowerImpl.java
+2
-0
HYGFJPInverterWarnImpl.java
...holdapi/face/service/business/HYGFJPInverterWarnImpl.java
+2
-0
HYGFJPStationPowerHistoryImpl.java
.../face/service/business/HYGFJPStationPowerHistoryImpl.java
+2
-0
TdHYGFInverterDayGenerateImpl.java
.../face/service/business/TdHYGFInverterDayGenerateImpl.java
+2
-0
TdHYGFInverterMonthGenerateImpl.java
...ace/service/business/TdHYGFInverterMonthGenerateImpl.java
+2
-0
TdHYGFInverterTotalGenerateImpl.java
...ace/service/business/TdHYGFInverterTotalGenerateImpl.java
+2
-0
TdHYGFInverterYearGenerateImpl.java
...face/service/business/TdHYGFInverterYearGenerateImpl.java
+2
-0
TdHYGFStationDayGenerateImpl.java
...i/face/service/business/TdHYGFStationDayGenerateImpl.java
+2
-0
TdHYGFStationMonthGenerateImpl.java
...face/service/business/TdHYGFStationMonthGenerateImpl.java
+2
-0
TdHYGFStationYearGenerateImpl.java
.../face/service/business/TdHYGFStationYearGenerateImpl.java
+2
-0
No files found.
amos-boot-data/amos-boot-data-housepvapi/src/main/java/com/yeejoin/amos/api/householdapi/face/service/business/HYGFJPDayPowerImpl.java
View file @
e39e6b43
...
@@ -45,6 +45,7 @@ public class HYGFJPDayPowerImpl implements AscriptionService {
...
@@ -45,6 +45,7 @@ public class HYGFJPDayPowerImpl implements AscriptionService {
for
(
HYGFJPDayPower
dayPower
:
hygfjpDayPower
)
{
for
(
HYGFJPDayPower
dayPower
:
hygfjpDayPower
)
{
JpStation
jpStation
=
jpStationMapper
.
selectOne
(
new
QueryWrapper
<
JpStation
>().
JpStation
jpStation
=
jpStationMapper
.
selectOne
(
new
QueryWrapper
<
JpStation
>().
eq
(
"third_station_id"
,
dayPower
.
getTationId
()));
eq
(
"third_station_id"
,
dayPower
.
getTationId
()));
if
(
jpStation
!=
null
)
{
dayPower
.
setAmosCompanyCode
(
jpStation
.
getAmosCompanyCode
());
dayPower
.
setAmosCompanyCode
(
jpStation
.
getAmosCompanyCode
());
dayPower
.
setRegionalCompaniesCode
(
jpStation
.
getRegionalCompaniesCode
());
dayPower
.
setRegionalCompaniesCode
(
jpStation
.
getRegionalCompaniesCode
());
dayPower
.
setStationName
(
jpStation
.
getName
());
dayPower
.
setStationName
(
jpStation
.
getName
());
...
@@ -52,6 +53,7 @@ public class HYGFJPDayPowerImpl implements AscriptionService {
...
@@ -52,6 +53,7 @@ public class HYGFJPDayPowerImpl implements AscriptionService {
hygfjpDayPowerMapper
.
insert
(
dayPower
);
hygfjpDayPowerMapper
.
insert
(
dayPower
);
}
}
}
}
}
...
...
amos-boot-data/amos-boot-data-housepvapi/src/main/java/com/yeejoin/amos/api/householdapi/face/service/business/HYGFJPInverterWarnImpl.java
View file @
e39e6b43
...
@@ -63,6 +63,7 @@ public class HYGFJPInverterWarnImpl implements AscriptionService {
...
@@ -63,6 +63,7 @@ public class HYGFJPInverterWarnImpl implements AscriptionService {
for
(
HYGFJPInverterWarn
dayPower
:
hygfjpDayPower
)
{
for
(
HYGFJPInverterWarn
dayPower
:
hygfjpDayPower
)
{
JpStation
jpStation
=
jpStationMapper
.
selectOne
(
new
QueryWrapper
<
JpStation
>().
JpStation
jpStation
=
jpStationMapper
.
selectOne
(
new
QueryWrapper
<
JpStation
>().
eq
(
"third_station_id"
,
dayPower
.
getThirdStationId
()));
eq
(
"third_station_id"
,
dayPower
.
getThirdStationId
()));
if
(
jpStation
!=
null
)
{
dayPower
.
setAmosCompanyCode
(
jpStation
.
getAmosCompanyCode
());
dayPower
.
setAmosCompanyCode
(
jpStation
.
getAmosCompanyCode
());
dayPower
.
setRegionalCompaniesCode
(
jpStation
.
getRegionalCompaniesCode
());
dayPower
.
setRegionalCompaniesCode
(
jpStation
.
getRegionalCompaniesCode
());
dayPower
.
setStationName
(
jpStation
.
getName
());
dayPower
.
setStationName
(
jpStation
.
getName
());
...
@@ -70,6 +71,7 @@ public class HYGFJPInverterWarnImpl implements AscriptionService {
...
@@ -70,6 +71,7 @@ public class HYGFJPInverterWarnImpl implements AscriptionService {
hygfjpInverterWarnMapper
.
insert
(
dayPower
);
hygfjpInverterWarnMapper
.
insert
(
dayPower
);
}
}
}
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
}
}
...
...
amos-boot-data/amos-boot-data-housepvapi/src/main/java/com/yeejoin/amos/api/householdapi/face/service/business/HYGFJPStationPowerHistoryImpl.java
View file @
e39e6b43
...
@@ -62,6 +62,7 @@ public class HYGFJPStationPowerHistoryImpl implements AscriptionService {
...
@@ -62,6 +62,7 @@ public class HYGFJPStationPowerHistoryImpl implements AscriptionService {
for
(
HYGFJPStationPowerHistory
dayPower
:
hygfjpDayPower
)
{
for
(
HYGFJPStationPowerHistory
dayPower
:
hygfjpDayPower
)
{
JpStation
jpStation
=
jpStationMapper
.
selectOne
(
new
QueryWrapper
<
JpStation
>().
JpStation
jpStation
=
jpStationMapper
.
selectOne
(
new
QueryWrapper
<
JpStation
>().
eq
(
"third_station_id"
,
dayPower
.
getThirdStationId
()));
eq
(
"third_station_id"
,
dayPower
.
getThirdStationId
()));
if
(
jpStation
!=
null
)
{
dayPower
.
setAmosCompanyCode
(
jpStation
.
getAmosCompanyCode
());
dayPower
.
setAmosCompanyCode
(
jpStation
.
getAmosCompanyCode
());
dayPower
.
setRegionalCompaniesCode
(
jpStation
.
getRegionalCompaniesCode
());
dayPower
.
setRegionalCompaniesCode
(
jpStation
.
getRegionalCompaniesCode
());
dayPower
.
setStationName
(
jpStation
.
getName
());
dayPower
.
setStationName
(
jpStation
.
getName
());
...
@@ -69,6 +70,7 @@ public class HYGFJPStationPowerHistoryImpl implements AscriptionService {
...
@@ -69,6 +70,7 @@ public class HYGFJPStationPowerHistoryImpl implements AscriptionService {
hygfjpStationPowerHistoryMapper
.
insert
(
dayPower
);
hygfjpStationPowerHistoryMapper
.
insert
(
dayPower
);
}
}
}
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
}
}
...
...
amos-boot-data/amos-boot-data-housepvapi/src/main/java/com/yeejoin/amos/api/householdapi/face/service/business/TdHYGFInverterDayGenerateImpl.java
View file @
e39e6b43
...
@@ -61,6 +61,7 @@ public class TdHYGFInverterDayGenerateImpl implements AscriptionService {
...
@@ -61,6 +61,7 @@ public class TdHYGFInverterDayGenerateImpl implements AscriptionService {
for
(
TdHYGFInverterDayGenerate
dayPower
:
hygfjpDayPower
)
{
for
(
TdHYGFInverterDayGenerate
dayPower
:
hygfjpDayPower
)
{
JpStation
jpStation
=
jpStationMapper
.
selectOne
(
new
QueryWrapper
<
JpStation
>().
JpStation
jpStation
=
jpStationMapper
.
selectOne
(
new
QueryWrapper
<
JpStation
>().
eq
(
"third_station_id"
,
dayPower
.
getThirdStationId
()));
eq
(
"third_station_id"
,
dayPower
.
getThirdStationId
()));
if
(
jpStation
!=
null
)
{
dayPower
.
setAmosCompanyCode
(
jpStation
.
getAmosCompanyCode
());
dayPower
.
setAmosCompanyCode
(
jpStation
.
getAmosCompanyCode
());
dayPower
.
setRegionalCompaniesCode
(
jpStation
.
getRegionalCompaniesCode
());
dayPower
.
setRegionalCompaniesCode
(
jpStation
.
getRegionalCompaniesCode
());
dayPower
.
setStationName
(
jpStation
.
getName
());
dayPower
.
setStationName
(
jpStation
.
getName
());
...
@@ -68,6 +69,7 @@ public class TdHYGFInverterDayGenerateImpl implements AscriptionService {
...
@@ -68,6 +69,7 @@ public class TdHYGFInverterDayGenerateImpl implements AscriptionService {
tdHYGFInverterDayGenerateMapper
.
insert
(
dayPower
);
tdHYGFInverterDayGenerateMapper
.
insert
(
dayPower
);
}
}
}
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
}
}
...
...
amos-boot-data/amos-boot-data-housepvapi/src/main/java/com/yeejoin/amos/api/householdapi/face/service/business/TdHYGFInverterMonthGenerateImpl.java
View file @
e39e6b43
...
@@ -52,6 +52,7 @@ public class TdHYGFInverterMonthGenerateImpl implements AscriptionService {
...
@@ -52,6 +52,7 @@ public class TdHYGFInverterMonthGenerateImpl implements AscriptionService {
for
(
TdHYGFInverterMonthGenerate
dayPower
:
hygfjpDayPower
)
{
for
(
TdHYGFInverterMonthGenerate
dayPower
:
hygfjpDayPower
)
{
JpStation
jpStation
=
jpStationMapper
.
selectOne
(
new
QueryWrapper
<
JpStation
>().
JpStation
jpStation
=
jpStationMapper
.
selectOne
(
new
QueryWrapper
<
JpStation
>().
eq
(
"third_station_id"
,
dayPower
.
getThirdStationId
()));
eq
(
"third_station_id"
,
dayPower
.
getThirdStationId
()));
if
(
jpStation
!=
null
)
{
dayPower
.
setAmosCompanyCode
(
jpStation
.
getAmosCompanyCode
());
dayPower
.
setAmosCompanyCode
(
jpStation
.
getAmosCompanyCode
());
dayPower
.
setRegionalCompaniesCode
(
jpStation
.
getRegionalCompaniesCode
());
dayPower
.
setRegionalCompaniesCode
(
jpStation
.
getRegionalCompaniesCode
());
dayPower
.
setStationName
(
jpStation
.
getName
());
dayPower
.
setStationName
(
jpStation
.
getName
());
...
@@ -59,6 +60,7 @@ public class TdHYGFInverterMonthGenerateImpl implements AscriptionService {
...
@@ -59,6 +60,7 @@ public class TdHYGFInverterMonthGenerateImpl implements AscriptionService {
tdHYGFInverterMonthGenerateMapper
.
insert
(
dayPower
);
tdHYGFInverterMonthGenerateMapper
.
insert
(
dayPower
);
}
}
}
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
}
}
...
...
amos-boot-data/amos-boot-data-housepvapi/src/main/java/com/yeejoin/amos/api/householdapi/face/service/business/TdHYGFInverterTotalGenerateImpl.java
View file @
e39e6b43
...
@@ -51,6 +51,7 @@ public class TdHYGFInverterTotalGenerateImpl implements AscriptionService {
...
@@ -51,6 +51,7 @@ public class TdHYGFInverterTotalGenerateImpl implements AscriptionService {
for
(
TdHYGFInverterTotalGenerate
dayPower
:
hygfjpDayPower
)
{
for
(
TdHYGFInverterTotalGenerate
dayPower
:
hygfjpDayPower
)
{
JpStation
jpStation
=
jpStationMapper
.
selectOne
(
new
QueryWrapper
<
JpStation
>().
JpStation
jpStation
=
jpStationMapper
.
selectOne
(
new
QueryWrapper
<
JpStation
>().
eq
(
"third_station_id"
,
dayPower
.
getThirdStationId
()));
eq
(
"third_station_id"
,
dayPower
.
getThirdStationId
()));
if
(
jpStation
!=
null
)
{
dayPower
.
setAmosCompanyCode
(
jpStation
.
getAmosCompanyCode
());
dayPower
.
setAmosCompanyCode
(
jpStation
.
getAmosCompanyCode
());
dayPower
.
setRegionalCompaniesCode
(
jpStation
.
getRegionalCompaniesCode
());
dayPower
.
setRegionalCompaniesCode
(
jpStation
.
getRegionalCompaniesCode
());
dayPower
.
setStationName
(
jpStation
.
getName
());
dayPower
.
setStationName
(
jpStation
.
getName
());
...
@@ -58,6 +59,7 @@ public class TdHYGFInverterTotalGenerateImpl implements AscriptionService {
...
@@ -58,6 +59,7 @@ public class TdHYGFInverterTotalGenerateImpl implements AscriptionService {
tdHYGFInverterTotalGenerateMapper
.
insert
(
dayPower
);
tdHYGFInverterTotalGenerateMapper
.
insert
(
dayPower
);
}
}
}
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
}
}
...
...
amos-boot-data/amos-boot-data-housepvapi/src/main/java/com/yeejoin/amos/api/householdapi/face/service/business/TdHYGFInverterYearGenerateImpl.java
View file @
e39e6b43
...
@@ -51,6 +51,7 @@ public class TdHYGFInverterYearGenerateImpl implements AscriptionService {
...
@@ -51,6 +51,7 @@ public class TdHYGFInverterYearGenerateImpl implements AscriptionService {
for
(
TdHYGFInverterYearGenerate
dayPower
:
hygfjpDayPower
)
{
for
(
TdHYGFInverterYearGenerate
dayPower
:
hygfjpDayPower
)
{
JpStation
jpStation
=
jpStationMapper
.
selectOne
(
new
QueryWrapper
<
JpStation
>().
JpStation
jpStation
=
jpStationMapper
.
selectOne
(
new
QueryWrapper
<
JpStation
>().
eq
(
"third_station_id"
,
dayPower
.
getThirdStationId
()));
eq
(
"third_station_id"
,
dayPower
.
getThirdStationId
()));
if
(
jpStation
!=
null
)
{
dayPower
.
setAmosCompanyCode
(
jpStation
.
getAmosCompanyCode
());
dayPower
.
setAmosCompanyCode
(
jpStation
.
getAmosCompanyCode
());
dayPower
.
setRegionalCompaniesCode
(
jpStation
.
getRegionalCompaniesCode
());
dayPower
.
setRegionalCompaniesCode
(
jpStation
.
getRegionalCompaniesCode
());
dayPower
.
setStationName
(
jpStation
.
getName
());
dayPower
.
setStationName
(
jpStation
.
getName
());
...
@@ -58,6 +59,7 @@ public class TdHYGFInverterYearGenerateImpl implements AscriptionService {
...
@@ -58,6 +59,7 @@ public class TdHYGFInverterYearGenerateImpl implements AscriptionService {
tdHYGFInverterYearGenerateMapper
.
insert
(
dayPower
);
tdHYGFInverterYearGenerateMapper
.
insert
(
dayPower
);
}
}
}
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
}
}
...
...
amos-boot-data/amos-boot-data-housepvapi/src/main/java/com/yeejoin/amos/api/householdapi/face/service/business/TdHYGFStationDayGenerateImpl.java
View file @
e39e6b43
...
@@ -52,6 +52,7 @@ public class TdHYGFStationDayGenerateImpl implements AscriptionService {
...
@@ -52,6 +52,7 @@ public class TdHYGFStationDayGenerateImpl implements AscriptionService {
for
(
TdHYGFStationDayGenerate
dayPower
:
hygfjpDayPower
)
{
for
(
TdHYGFStationDayGenerate
dayPower
:
hygfjpDayPower
)
{
JpStation
jpStation
=
jpStationMapper
.
selectOne
(
new
QueryWrapper
<
JpStation
>().
JpStation
jpStation
=
jpStationMapper
.
selectOne
(
new
QueryWrapper
<
JpStation
>().
eq
(
"third_station_id"
,
dayPower
.
getThirdStationId
()));
eq
(
"third_station_id"
,
dayPower
.
getThirdStationId
()));
if
(
jpStation
!=
null
){
dayPower
.
setAmosCompanyCode
(
jpStation
.
getAmosCompanyCode
());
dayPower
.
setAmosCompanyCode
(
jpStation
.
getAmosCompanyCode
());
dayPower
.
setRegionalCompaniesCode
(
jpStation
.
getRegionalCompaniesCode
());
dayPower
.
setRegionalCompaniesCode
(
jpStation
.
getRegionalCompaniesCode
());
dayPower
.
setStationName
(
jpStation
.
getName
());
dayPower
.
setStationName
(
jpStation
.
getName
());
...
@@ -59,6 +60,7 @@ public class TdHYGFStationDayGenerateImpl implements AscriptionService {
...
@@ -59,6 +60,7 @@ public class TdHYGFStationDayGenerateImpl implements AscriptionService {
tdHYGFStationDayGenerateMapper
.
insert
(
dayPower
);
tdHYGFStationDayGenerateMapper
.
insert
(
dayPower
);
}
}
}
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
}
}
...
...
amos-boot-data/amos-boot-data-housepvapi/src/main/java/com/yeejoin/amos/api/householdapi/face/service/business/TdHYGFStationMonthGenerateImpl.java
View file @
e39e6b43
...
@@ -51,6 +51,7 @@ public class TdHYGFStationMonthGenerateImpl implements AscriptionService {
...
@@ -51,6 +51,7 @@ public class TdHYGFStationMonthGenerateImpl implements AscriptionService {
for
(
TdHYGFStationMonthGenerate
dayPower
:
hygfjpDayPower
)
{
for
(
TdHYGFStationMonthGenerate
dayPower
:
hygfjpDayPower
)
{
JpStation
jpStation
=
jpStationMapper
.
selectOne
(
new
QueryWrapper
<
JpStation
>().
JpStation
jpStation
=
jpStationMapper
.
selectOne
(
new
QueryWrapper
<
JpStation
>().
eq
(
"third_station_id"
,
dayPower
.
getThirdStationId
()));
eq
(
"third_station_id"
,
dayPower
.
getThirdStationId
()));
if
(
jpStation
!=
null
){
dayPower
.
setAmosCompanyCode
(
jpStation
.
getAmosCompanyCode
());
dayPower
.
setAmosCompanyCode
(
jpStation
.
getAmosCompanyCode
());
dayPower
.
setRegionalCompaniesCode
(
jpStation
.
getRegionalCompaniesCode
());
dayPower
.
setRegionalCompaniesCode
(
jpStation
.
getRegionalCompaniesCode
());
dayPower
.
setStationName
(
jpStation
.
getName
());
dayPower
.
setStationName
(
jpStation
.
getName
());
...
@@ -58,6 +59,7 @@ public class TdHYGFStationMonthGenerateImpl implements AscriptionService {
...
@@ -58,6 +59,7 @@ public class TdHYGFStationMonthGenerateImpl implements AscriptionService {
tdHYGFStationMonthGenerateMapper
.
insert
(
dayPower
);
tdHYGFStationMonthGenerateMapper
.
insert
(
dayPower
);
}
}
}
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
}
}
...
...
amos-boot-data/amos-boot-data-housepvapi/src/main/java/com/yeejoin/amos/api/householdapi/face/service/business/TdHYGFStationYearGenerateImpl.java
View file @
e39e6b43
...
@@ -51,6 +51,7 @@ public class TdHYGFStationYearGenerateImpl implements AscriptionService {
...
@@ -51,6 +51,7 @@ public class TdHYGFStationYearGenerateImpl implements AscriptionService {
for
(
TdHYGFStationYearGenerate
dayPower
:
hygfjpDayPower
)
{
for
(
TdHYGFStationYearGenerate
dayPower
:
hygfjpDayPower
)
{
JpStation
jpStation
=
jpStationMapper
.
selectOne
(
new
QueryWrapper
<
JpStation
>().
JpStation
jpStation
=
jpStationMapper
.
selectOne
(
new
QueryWrapper
<
JpStation
>().
eq
(
"third_station_id"
,
dayPower
.
getThirdStationId
()));
eq
(
"third_station_id"
,
dayPower
.
getThirdStationId
()));
if
(
jpStation
!=
null
)
{
dayPower
.
setAmosCompanyCode
(
jpStation
.
getAmosCompanyCode
());
dayPower
.
setAmosCompanyCode
(
jpStation
.
getAmosCompanyCode
());
dayPower
.
setRegionalCompaniesCode
(
jpStation
.
getRegionalCompaniesCode
());
dayPower
.
setRegionalCompaniesCode
(
jpStation
.
getRegionalCompaniesCode
());
dayPower
.
setStationName
(
jpStation
.
getName
());
dayPower
.
setStationName
(
jpStation
.
getName
());
...
@@ -58,6 +59,7 @@ public class TdHYGFStationYearGenerateImpl implements AscriptionService {
...
@@ -58,6 +59,7 @@ public class TdHYGFStationYearGenerateImpl implements AscriptionService {
tdHYGFStationYearGenerateMapper
.
insert
(
dayPower
);
tdHYGFStationYearGenerateMapper
.
insert
(
dayPower
);
}
}
}
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
}
}
...
...
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