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
ff0dc32d
Commit
ff0dc32d
authored
Jun 06, 2024
by
wujiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改时间问题
parent
2a9b420f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
TestController.java
...amos/boot/module/jxiop/biz/controller/TestController.java
+3
-3
HealthStatusIndicatorServiceImpl.java
...op/biz/service/impl/HealthStatusIndicatorServiceImpl.java
+2
-2
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/controller/TestController.java
View file @
ff0dc32d
...
...
@@ -128,7 +128,7 @@ public class TestController extends BaseController {
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
String
d
=
sdf
.
format
(
new
Date
());
LambdaQueryWrapper
<
FanWarningRecord
>
wf
=
new
LambdaQueryWrapper
<>();
wf
.
eq
(
FanWarningRecord:
:
getDisposotionState
,
"待
确认"
);
wf
.
ne
(
FanWarningRecord:
:
getDisposotionState
,
"已
确认"
);
List
<
FanWarningRecord
>
list
=
fanWaringRecordMapper
.
selectList
(
wf
);
if
(!
list
.
isEmpty
())
{
list
.
forEach
(
i
->
{
...
...
@@ -139,12 +139,12 @@ public class TestController extends BaseController {
}
LambdaQueryWrapper
<
PvWarningRecord
>
pf
=
new
LambdaQueryWrapper
<>();
pf
.
eq
(
PvWarningRecord:
:
getDisposotionState
,
"待
确认"
);
pf
.
ne
(
PvWarningRecord:
:
getDisposotionState
,
"已
确认"
);
List
<
PvWarningRecord
>
list1
=
pvWaringRecordMapper
.
selectList
(
pf
);
if
(!
list1
.
isEmpty
())
{
list1
.
forEach
(
i
->
{
i
.
setDisposotionState
(
"已确认"
);
i
.
setDisposotion
St
ate
(
d
);
i
.
setDisposotion
D
ate
(
d
);
});
pvWaringRecordMapper
.
saveBatchWarningRecords
(
list1
);
}
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/HealthStatusIndicatorServiceImpl.java
View file @
ff0dc32d
...
...
@@ -2715,7 +2715,7 @@ public class HealthStatusIndicatorServiceImpl {
riskBizInfoVo
.
setSourceAttribution
(
stationMap
.
get
(
idxBizPvWarningRecord
.
getGatewayId
()).
getProjectOrgCode
());
riskBizInfoVo
.
setSourceAttributionDesc
(
idxBizPvWarningRecord
.
getStation
());
riskBizInfoVo
.
setWarningObjectType
(
"equip"
);
riskBizInfoVo
.
setWarningTime
(
DateUtil
.
now
());
riskBizInfoVo
.
setWarningTime
(
idxBizPvWarningRecord
.
getRecDate
());
riskBizInfoVo
.
setBussId
(
String
.
valueOf
(
idxBizPvWarningRecord
.
getTs
()));
riskBizInfoVo
.
setWarningObjectLinkUrl
(
getJumpUrlByInfo
(
idxBizPvWarningRecord
.
getKks
(),
jumpConfigs
));
List
<
RiskDynamicDetailsVo
>
detailsVos
=
new
ArrayList
<>();
...
...
@@ -2781,7 +2781,7 @@ public class HealthStatusIndicatorServiceImpl {
riskBizInfoVo
.
setSourceAttribution
(
stationMap
.
get
(
idxBizFanWarningRecord
.
getGatewayId
()).
getProjectOrgCode
());
riskBizInfoVo
.
setSourceAttributionDesc
(
idxBizFanWarningRecord
.
getStation
());
riskBizInfoVo
.
setWarningObjectType
(
"equip"
);
riskBizInfoVo
.
setWarningTime
(
DateUtil
.
now
());
riskBizInfoVo
.
setWarningTime
(
idxBizFanWarningRecord
.
getRecDate
());
riskBizInfoVo
.
setWarningObjectLinkUrl
(
getJumpUrlByInfo
(
idxBizFanWarningRecord
.
getKks
(),
jumpConfigs
));
List
<
RiskDynamicDetailsVo
>
detailsVos
=
new
ArrayList
<>();
RiskDynamicDetailsVo
dynamicDetailsVo
=
new
RiskDynamicDetailsVo
();
...
...
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