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
567b5c0d
Commit
567b5c0d
authored
May 09, 2024
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
逆变器详情
parent
2c7bd70f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
JpInverterController.java
...boot/module/hygf/biz/controller/JpInverterController.java
+2
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/controller/JpInverterController.java
View file @
567b5c0d
...
...
@@ -428,6 +428,8 @@ public class JpInverterController extends BaseController {
queryWrapper
.
eq
(
JpInverterElectricity:
:
getSnCode
,
snCode
);
queryWrapper
.
eq
(
JpInverterElectricity:
:
getThirdStationId
,
jpInverter
.
getThirdStationId
());
queryWrapper
.
and
(
q
->
q
.
eq
(
JpInverterElectricity:
:
getType
,
"交流"
).
or
().
in
(
JpInverterElectricity:
:
getName
,
list
));
queryWrapper
.
orderByDesc
(
BaseEntity:
:
getSequenceNbr
);
queryWrapper
.
last
(
"limit 7"
);
List
<
JpInverterElectricity
>
jpInverterElectricities
=
jpInverterElectricityService
.
getBaseMapper
().
selectList
(
queryWrapper
);
Map
<
String
,
List
<
JpInverterElectricity
>>
collect
=
jpInverterElectricities
.
stream
().
collect
(
Collectors
.
groupingBy
(
JpInverterElectricity:
:
getType
));
...
...
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