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
dc4fd4d6
Commit
dc4fd4d6
authored
Mar 29, 2023
by
lisong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新
parent
6f53e667
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
HouseholdPvServiceImpl.java
...module/jxiop/biz/service/impl/HouseholdPvServiceImpl.java
+3
-2
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/HouseholdPvServiceImpl.java
View file @
dc4fd4d6
...
...
@@ -10,6 +10,7 @@ import com.yeejoin.amos.boot.biz.common.bo.ReginParams;
import
com.yeejoin.amos.boot.biz.common.utils.DateUtils
;
import
com.yeejoin.amos.boot.biz.common.utils.RedisKey
;
import
com.yeejoin.amos.boot.biz.common.utils.RedisUtils
;
import
com.yeejoin.amos.boot.module.jxiop.api.Enum.EquipType
;
import
com.yeejoin.amos.boot.module.jxiop.api.Enum.LevelType
;
import
com.yeejoin.amos.boot.module.jxiop.api.dto.*
;
import
com.yeejoin.amos.boot.module.jxiop.api.entity.*
;
...
...
@@ -257,11 +258,11 @@ public class HouseholdPvServiceImpl extends BaseService<HouseholdPvDto, Househol
stringBuilder
.
append
(
" 名称:"
).
append
(
ObjectUtils
.
isEmpty
(
item
.
getName
())
?
""
:
item
.
getName
());
stringBuilder
.
append
(
" 品牌:"
).
append
(
ObjectUtils
.
isEmpty
(
item
.
getBrand
())
?
""
:
item
.
getBrand
());
stringBuilder
.
append
(
" SN编码:"
).
append
(
ObjectUtils
.
isEmpty
(
item
.
getSNCode
())
?
""
:
item
.
getSNCode
());
if
(!
ObjectUtils
.
isEmpty
(
item
.
getType
())
&&
item
.
getType
().
equals
(
"逆变器"
))
{
if
(!
ObjectUtils
.
isEmpty
(
item
.
getType
())
&&
item
.
getType
().
equals
(
EquipType
.
INVERTER
.
getName
()
))
{
stringBuilder
.
append
(
" 序列号:"
).
append
(
ObjectUtils
.
isEmpty
(
item
.
getSerialNumber
())
?
""
:
item
.
getSerialNumber
());
stringBuilder
.
append
(
" 功率:"
).
append
(
ObjectUtils
.
isEmpty
(
item
.
getPower
())
?
""
:
item
.
getPower
());
}
if
(!
ObjectUtils
.
isEmpty
(
item
.
getType
())
&&
item
.
getType
().
equals
(
"其他"
))
{
if
(!
ObjectUtils
.
isEmpty
(
item
.
getType
())
&&
item
.
getType
().
equals
(
EquipType
.
OTHER
.
getName
()
))
{
stringBuilder
.
append
(
" 描述:"
).
append
(
ObjectUtils
.
isEmpty
(
item
.
getDescription
())
?
""
:
item
.
getDescription
());
}
stringBuilder
.
append
(
"\r\n"
);
...
...
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