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
5ab55f4d
Commit
5ab55f4d
authored
Apr 10, 2024
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改入参数
parent
e39e6b43
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
16 deletions
+21
-16
TdHYGFInverterMonthGenerateImpl.java
...ace/service/business/TdHYGFInverterMonthGenerateImpl.java
+6
-6
TdHYGFInverterYearGenerateImpl.java
...face/service/business/TdHYGFInverterYearGenerateImpl.java
+2
-2
TdHYGFStationDayGenerateImpl.java
...i/face/service/business/TdHYGFStationDayGenerateImpl.java
+6
-6
TdHYGFStationMonthGenerateImpl.java
...face/service/business/TdHYGFStationMonthGenerateImpl.java
+2
-2
GoLangDataAcquisitionServiceImpl.java
...i/face/service/impl/GoLangDataAcquisitionServiceImpl.java
+5
-0
No files found.
amos-boot-data/amos-boot-data-housepvapi/src/main/java/com/yeejoin/amos/api/householdapi/face/service/business/TdHYGFInverterMonthGenerateImpl.java
View file @
5ab55f4d
...
...
@@ -30,14 +30,14 @@ public class TdHYGFInverterMonthGenerateImpl implements AscriptionService {
public
void
updateAscription
(
String
timeNum
)
{
try
{
DateFormat
dft
=
new
SimpleDateFormat
(
"yyyy-MM-dd"
);
DateFormat
dfty
=
new
SimpleDateFormat
(
"yyyy-MM"
);
Date
star
=
dft
.
parse
(
timeNum
);
//开始时间
String
yearMonth
=
dfty
.
format
(
star
);
//
DateFormat dft = new SimpleDateFormat("yyyy-MM-dd");
//
DateFormat dfty = new SimpleDateFormat("yyyy-MM");
//
//
Date star = dft.parse(timeNum);//开始时间
//
String yearMonth= dfty.format(star);
List
<
TdHYGFInverterMonthGenerate
>
hygfjpDayPower
=
tdHYGFInverterMonthGenerateMapper
.
selectList
(
new
QueryWrapper
<
TdHYGFInverterMonthGenerate
>().
eq
(
"
year_month"
,
yearMonth
).
and
(
wrapper
->
{
eq
(
"
day_time"
,
timeNum
).
and
(
wrapper
->
{
wrapper
.
isNull
(
"regional_companies_code"
)
.
or
()
.
isNull
(
"amos_company_code"
)
...
...
amos-boot-data/amos-boot-data-housepvapi/src/main/java/com/yeejoin/amos/api/householdapi/face/service/business/TdHYGFInverterYearGenerateImpl.java
View file @
5ab55f4d
...
...
@@ -30,13 +30,13 @@ public class TdHYGFInverterYearGenerateImpl implements AscriptionService {
public
void
updateAscription
(
String
timeNum
)
{
try
{
DateFormat
dft
=
new
SimpleDateFormat
(
"yyyy-MM-dd"
);
DateFormat
dfty
=
new
SimpleDateFormat
(
"yyyy"
);
DateFormat
dfty
=
new
SimpleDateFormat
(
"yyyy
-MM
"
);
Date
star
=
dft
.
parse
(
timeNum
);
//开始时间
String
yearMonth
=
dfty
.
format
(
star
);
List
<
TdHYGFInverterYearGenerate
>
hygfjpDayPower
=
tdHYGFInverterYearGenerateMapper
.
selectList
(
new
QueryWrapper
<
TdHYGFInverterYearGenerate
>().
eq
(
"
year
"
,
yearMonth
).
and
(
wrapper
->
{
eq
(
"
month_time
"
,
yearMonth
).
and
(
wrapper
->
{
wrapper
.
isNull
(
"regional_companies_code"
)
.
or
()
.
isNull
(
"amos_company_code"
)
...
...
amos-boot-data/amos-boot-data-housepvapi/src/main/java/com/yeejoin/amos/api/householdapi/face/service/business/TdHYGFStationDayGenerateImpl.java
View file @
5ab55f4d
...
...
@@ -30,14 +30,14 @@ public class TdHYGFStationDayGenerateImpl implements AscriptionService {
@Override
public
void
updateAscription
(
String
timeNum
)
{
try
{
DateFormat
dft
=
new
SimpleDateFormat
(
"yyyy-MM-dd"
);
DateFormat
dfty
=
new
SimpleDateFormat
(
"yyyy-MM"
);
Date
star
=
dft
.
parse
(
timeNum
);
//开始时间
String
yearMonth
=
dfty
.
format
(
star
);
//
DateFormat dft = new SimpleDateFormat("yyyy-MM-dd");
//
DateFormat dfty = new SimpleDateFormat("yyyy-MM");
//
//
Date star = dft.parse(timeNum);//开始时间
//
String yearMonth= dfty.format(star);
List
<
TdHYGFStationDayGenerate
>
hygfjpDayPower
=
tdHYGFStationDayGenerateMapper
.
selectList
(
new
QueryWrapper
<
TdHYGFStationDayGenerate
>().
eq
(
"
year_month"
,
yearMonth
).
and
(
wrapper
->
{
eq
(
"
day_time"
,
timeNum
).
and
(
wrapper
->
{
wrapper
.
isNull
(
"regional_companies_code"
)
.
or
()
.
isNull
(
"amos_company_code"
)
...
...
amos-boot-data/amos-boot-data-housepvapi/src/main/java/com/yeejoin/amos/api/householdapi/face/service/business/TdHYGFStationMonthGenerateImpl.java
View file @
5ab55f4d
...
...
@@ -30,13 +30,13 @@ public class TdHYGFStationMonthGenerateImpl implements AscriptionService {
public
void
updateAscription
(
String
timeNum
)
{
try
{
DateFormat
dft
=
new
SimpleDateFormat
(
"yyyy-MM-dd"
);
DateFormat
dfty
=
new
SimpleDateFormat
(
"yyyy"
);
DateFormat
dfty
=
new
SimpleDateFormat
(
"yyyy
-MM
"
);
Date
star
=
dft
.
parse
(
timeNum
);
//开始时间
String
yearMonth
=
dfty
.
format
(
star
);
List
<
TdHYGFStationMonthGenerate
>
hygfjpDayPower
=
tdHYGFStationMonthGenerateMapper
.
selectList
(
new
QueryWrapper
<
TdHYGFStationMonthGenerate
>().
eq
(
"
year
"
,
yearMonth
).
and
(
wrapper
->
{
eq
(
"
month_time
"
,
yearMonth
).
and
(
wrapper
->
{
wrapper
.
isNull
(
"regional_companies_code"
)
.
or
()
.
isNull
(
"amos_company_code"
)
...
...
amos-boot-data/amos-boot-data-housepvapi/src/main/java/com/yeejoin/amos/api/householdapi/face/service/impl/GoLangDataAcquisitionServiceImpl.java
View file @
5ab55f4d
...
...
@@ -140,6 +140,11 @@ public class GoLangDataAcquisitionServiceImpl implements GoLangDataAcquisitionSe
TimeUnit
.
SECONDS
.
sleep
(
1
);
}
catch
(
InterruptedException
e
)
{
throw
new
RuntimeException
(
e
);
}
HashMap
<
String
,
Object
>
requestInfo
=
new
HashMap
<>();
requestInfo
.
put
(
"id"
,
Long
.
valueOf
(
stationIds
.
get
(
i
)));
...
...
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