Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
9e58f822
Commit
9e58f822
authored
Jan 03, 2025
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
日发电历史bug
parent
3e5bc895
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
HouseholdPvApiServiceImpl.java
...eholdapi/face/service/impl/HouseholdPvApiServiceImpl.java
+3
-1
No files found.
amos-boot-data/amos-boot-data-housepvapi/src/main/java/com/yeejoin/amos/api/householdapi/face/service/impl/HouseholdPvApiServiceImpl.java
View file @
9e58f822
...
@@ -51,12 +51,14 @@ public class HouseholdPvApiServiceImpl extends BaseService<HouseholdPvApiDto, Ho
...
@@ -51,12 +51,14 @@ public class HouseholdPvApiServiceImpl extends BaseService<HouseholdPvApiDto, Ho
.
eq
(
"day_time"
,
DateUtil
.
format
(
new
Date
(),
"yyyy-MM-dd"
))
.
eq
(
"day_time"
,
DateUtil
.
format
(
new
Date
(),
"yyyy-MM-dd"
))
.
eq
(
"hour"
,
currentTime
)
.
eq
(
"hour"
,
currentTime
)
.
eq
(
"year_month"
,
DateUtil
.
format
(
new
Date
(),
"yyyy-MM"
)));
.
eq
(
"year_month"
,
DateUtil
.
format
(
new
Date
(),
"yyyy-MM"
)));
Long
createdTime
=
tdHYGFStationDayGenerate
.
getCreatedTime
();
Long
createdTime
=
System
.
currentTimeMillis
();
boolean
flag
=
false
;
boolean
flag
=
false
;
if
(
ObjectUtils
.
isEmpty
(
tdHYGFStationDayGenerate
))
{
if
(
ObjectUtils
.
isEmpty
(
tdHYGFStationDayGenerate
))
{
tdHYGFStationDayGenerate
=
new
TdHYGFStationDayGenerate
();
tdHYGFStationDayGenerate
=
new
TdHYGFStationDayGenerate
();
flag
=
true
;
flag
=
true
;
}
else
{
createdTime
=
tdHYGFStationDayGenerate
.
getCreatedTime
();
}
}
BeanUtils
.
copyProperties
(
tdHYGFStationMonthGenerate
,
tdHYGFStationDayGenerate
);
BeanUtils
.
copyProperties
(
tdHYGFStationMonthGenerate
,
tdHYGFStationDayGenerate
);
tdHYGFStationDayGenerate
.
setHour
(
currentTime
);
tdHYGFStationDayGenerate
.
setHour
(
currentTime
);
...
...
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