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
26220b21
Commit
26220b21
authored
Sep 20, 2023
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改返回值
parent
72899a60
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
JpStationController.java
.../boot/module/hygf/biz/controller/JpStationController.java
+3
-3
TdHygfJpInverterWarnController.java
...e/hygf/biz/controller/TdHygfJpInverterWarnController.java
+6
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/controller/JpStationController.java
View file @
26220b21
...
...
@@ -136,7 +136,7 @@ public class JpStationController extends BaseController {
if
(
pPersonStation
!=
null
&&!
pPersonStation
.
isEmpty
()){
reviewDto
.
setStatioId
(
pPersonStation
.
isEmpty
()?
null
:
pPersonStation
);
}
else
{
ResponseHelper
.
buildResponse
(
null
);
return
ResponseHelper
.
buildResponse
(
null
);
}
// }
Page
<
JpStationDto
>
page
=
jpStationServiceImpl
.
queryForJpStationPage
(
current
,
size
,
reviewDto
);
...
...
@@ -170,7 +170,7 @@ public class JpStationController extends BaseController {
if
(
pPersonStation
!=
null
&&!
pPersonStation
.
isEmpty
()){
reviewDto
.
setStatioId
(
pPersonStation
.
isEmpty
()?
null
:
pPersonStation
);
}
else
{
ResponseHelper
.
buildResponse
(
null
);
return
ResponseHelper
.
buildResponse
(
null
);
}
List
<
Map
<
String
,
Object
>>
listCollector
=
jpCollectorMapper
.
queryCollectorCountStatus
(
reviewDto
);
List
<
Map
<
String
,
Object
>>
listInverter
=
jpInverterMapper
.
queryInverterCountStatus
(
reviewDto
);
...
...
@@ -235,7 +235,7 @@ public class JpStationController extends BaseController {
if
(
pPersonStation
!=
null
&&!
pPersonStation
.
isEmpty
()){
reviewDto
.
setStatioId
(
pPersonStation
.
isEmpty
()?
null
:
pPersonStation
);
}
else
{
ResponseHelper
.
buildResponse
(
null
);
return
ResponseHelper
.
buildResponse
(
null
);
}
}
return
ResponseHelper
.
buildResponse
(
jpStationMapper
.
queryCount
(
reviewDto
));
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/controller/TdHygfJpInverterWarnController.java
View file @
26220b21
...
...
@@ -163,6 +163,12 @@ public class TdHygfJpInverterWarnController extends BaseController {
LambdaQueryWrapper
<
JpPersonStation
>
qug
=
new
LambdaQueryWrapper
<>();
qug
.
eq
(
JpPersonStation:
:
getPersonId
,
getUserInfo
().
getUserId
());
List
<
JpPersonStation
>
pPersonStation
=
pPersonStationMapper
.
selectList
(
qug
);
if
(
pPersonStation
==
null
||
pPersonStation
.
isEmpty
()){
return
ResponseHelper
.
buildResponse
(
null
);
}
List
ids
=
null
;
if
(
pPersonStation
!=
null
&&!
pPersonStation
.
isEmpty
()){
ids
=
new
ArrayList
();
...
...
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