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
fbe6a474
Commit
fbe6a474
authored
Sep 22, 2023
by
wujiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改逆变器电流查询
parent
26d8aa51
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
JpInverterElectricityServiceImpl.java
...gf/biz/service/impl/JpInverterElectricityServiceImpl.java
+11
-1
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/JpInverterElectricityServiceImpl.java
View file @
fbe6a474
...
@@ -8,6 +8,7 @@ import com.yeejoin.amos.boot.module.hygf.api.dto.JpInverterElectricityDto;
...
@@ -8,6 +8,7 @@ import com.yeejoin.amos.boot.module.hygf.api.dto.JpInverterElectricityDto;
import
org.typroject.tyboot.core.foundation.utils.Bean
;
import
org.typroject.tyboot.core.foundation.utils.Bean
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
...
@@ -24,6 +25,13 @@ import java.util.List;
...
@@ -24,6 +25,13 @@ import java.util.List;
public
class
JpInverterElectricityServiceImpl
public
class
JpInverterElectricityServiceImpl
extends
BaseService
<
JpInverterElectricityDto
,
JpInverterElectricity
,
JpInverterElectricityMapper
>
extends
BaseService
<
JpInverterElectricityDto
,
JpInverterElectricity
,
JpInverterElectricityMapper
>
implements
IJpInverterElectricityService
{
implements
IJpInverterElectricityService
{
@Autowired
private
JpStationServiceImpl
jpStationServiceImpl
;
@Autowired
private
JpInverterServiceImpl
JpInverterServiceImpl
;
/**
/**
* 分页查询
* 分页查询
*/
*/
...
@@ -35,8 +43,10 @@ public class JpInverterElectricityServiceImpl
...
@@ -35,8 +43,10 @@ public class JpInverterElectricityServiceImpl
* 列表查询 示例
* 列表查询 示例
*/
*/
public
List
<
JpInverterElectricityDto
>
queryForJpInverterElectricityList
(
String
id
)
{
public
List
<
JpInverterElectricityDto
>
queryForJpInverterElectricityList
(
String
id
)
{
JpInverter
jpInverter
=
JpInverterServiceImpl
.
getById
(
id
);
LambdaQueryWrapper
<
JpInverterElectricity
>
wrapper
=
new
LambdaQueryWrapper
<>();
LambdaQueryWrapper
<
JpInverterElectricity
>
wrapper
=
new
LambdaQueryWrapper
<>();
wrapper
.
eq
(
JpInverterElectricity:
:
getInverterId
,
id
);
wrapper
.
eq
(
JpInverterElectricity:
:
getSnCode
,
jpInverter
.
getSnCode
());
wrapper
.
eq
(
JpInverterElectricity:
:
getThirdStationId
,
jpInverter
.
getThirdStationId
());
List
<
JpInverterElectricity
>
list
=
this
.
list
(
wrapper
);
List
<
JpInverterElectricity
>
list
=
this
.
list
(
wrapper
);
return
Bean
.
toModels
(
list
,
this
.
getModelClass
());
return
Bean
.
toModels
(
list
,
this
.
getModelClass
());
}
}
...
...
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