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
59ab010a
Commit
59ab010a
authored
Jun 20, 2024
by
wujiang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://36.40.66.175:5000/moa/jxdj_zx/amos-boot-zx-biz
into developer
parents
9f05c8d5
d37c256c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
11 deletions
+33
-11
WorkOrderServiceImpl.java
...ot/module/hygf/biz/service/impl/WorkOrderServiceImpl.java
+17
-8
AppletMonitorController.java
.../module/jxiop/biz/controller/AppletMonitorController.java
+1
-1
AppletMonitorServiceImpl.java
...dule/jxiop/biz/service/impl/AppletMonitorServiceImpl.java
+15
-2
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/WorkOrderServiceImpl.java
View file @
59ab010a
...
@@ -613,20 +613,15 @@ public class WorkOrderServiceImpl extends BaseService<WorkOrderDto,WorkOrder,Wor
...
@@ -613,20 +613,15 @@ public class WorkOrderServiceImpl extends BaseService<WorkOrderDto,WorkOrder,Wor
}
else
{
}
else
{
surveyInfoAllDto
.
setSurveyDetails
(
BeanDtoUtils
.
convert
(
surveyDetails
,
SurveyDetailsDto
.
class
));
surveyInfoAllDto
.
setSurveyDetails
(
BeanDtoUtils
.
convert
(
surveyDetails
,
SurveyDetailsDto
.
class
));
}
}
QueryWrapper
<
Information
>
informationQueryWrapper
=
new
QueryWrapper
<>();
informationQueryWrapper
.
eq
(
"survey_information_id"
,
surveyInformationId
);
// 商务信息
Information
information
=
informationService
.
getBaseMapper
().
selectOne
(
informationQueryWrapper
);
if
(
information
==
null
){
surveyInfoAllDto
.
setInformation
(
new
InformationDto
());
}
else
{
surveyInfoAllDto
.
setInformation
(
BeanDtoUtils
.
convert
(
information
,
InformationDto
.
class
));
}
QueryWrapper
<
Commercial
>
commercialQueryWrapper
=
new
QueryWrapper
<>();
QueryWrapper
<
Commercial
>
commercialQueryWrapper
=
new
QueryWrapper
<>();
commercialQueryWrapper
.
eq
(
"survey_information_id"
,
surveyInformationId
);
commercialQueryWrapper
.
eq
(
"survey_information_id"
,
surveyInformationId
);
Commercial
commercial
=
commercialService
.
getBaseMapper
().
selectOne
(
commercialQueryWrapper
);
Commercial
commercial
=
commercialService
.
getBaseMapper
().
selectOne
(
commercialQueryWrapper
);
if
(
commercial
==
null
){
if
(
commercial
==
null
){
commercial
=
new
Commercial
();
commercial
=
new
Commercial
();
}
}
commercial
.
setApplicant
(
peasantHousehold
.
getOwnersName
());
commercial
.
setApplicant
(
peasantHousehold
.
getOwnersName
());
commercial
.
setIdCard
(
peasantHousehold
.
getIdCard
());
commercial
.
setIdCard
(
peasantHousehold
.
getIdCard
());
commercial
.
setTelephone
(
peasantHousehold
.
getTelephone
());
commercial
.
setTelephone
(
peasantHousehold
.
getTelephone
());
...
@@ -634,6 +629,20 @@ public class WorkOrderServiceImpl extends BaseService<WorkOrderDto,WorkOrder,Wor
...
@@ -634,6 +629,20 @@ public class WorkOrderServiceImpl extends BaseService<WorkOrderDto,WorkOrder,Wor
commercial
.
setProjectAddressName
(
peasantHousehold
.
getProjectAddressName
());
commercial
.
setProjectAddressName
(
peasantHousehold
.
getProjectAddressName
());
commercial
.
setProjectAddressDetail
(
peasantHousehold
.
getProjectAddressDetail
());
commercial
.
setProjectAddressDetail
(
peasantHousehold
.
getProjectAddressDetail
());
commercial
.
setLegalContactTelephone
(
peasantHousehold
.
getTelephone
());
commercial
.
setLegalContactTelephone
(
peasantHousehold
.
getTelephone
());
// 资料归档
QueryWrapper
<
Information
>
informationQueryWrapper
=
new
QueryWrapper
<>();
informationQueryWrapper
.
eq
(
"survey_information_id"
,
surveyInformationId
);
Information
information
=
informationService
.
getBaseMapper
().
selectOne
(
informationQueryWrapper
);
if
(
information
==
null
){
surveyInfoAllDto
.
setInformation
(
new
InformationDto
());
}
else
{
// 将商务信息的房产证明文件数据赋值给资料归档的房产证明文件
information
.
setCardFile
(
commercial
.
getIdCardCredit
());
surveyInfoAllDto
.
setInformation
(
BeanDtoUtils
.
convert
(
information
,
InformationDto
.
class
));
}
if
(
information
==
null
){
if
(
information
==
null
){
CommercialDto
commercialDto
=
BeanDtoUtils
.
convert
(
commercial
,
CommercialDto
.
class
);
CommercialDto
commercialDto
=
BeanDtoUtils
.
convert
(
commercial
,
CommercialDto
.
class
);
commercialDto
.
setType
(
"zrr"
);
commercialDto
.
setType
(
"zrr"
);
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/controller/AppletMonitorController.java
View file @
59ab010a
...
@@ -41,7 +41,7 @@ public class AppletMonitorController {
...
@@ -41,7 +41,7 @@ public class AppletMonitorController {
StationBasicMapper
stationBasicMapper
;
StationBasicMapper
stationBasicMapper
;
@TycloudOperation
(
needAuth
=
false
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
false
,
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
value
=
"
风机布置图-总概览
"
)
@ApiOperation
(
value
=
"
座舱
"
)
@GetMapping
(
"/CockpitData"
)
@GetMapping
(
"/CockpitData"
)
public
ResponseModel
<
Map
<
String
,
Object
>>
getData
(
@RequestParam
(
value
=
"code"
)
String
code
,
public
ResponseModel
<
Map
<
String
,
Object
>>
getData
(
@RequestParam
(
value
=
"code"
)
String
code
,
@RequestParam
(
value
=
"level"
)
String
level
)
{
@RequestParam
(
value
=
"level"
)
String
level
)
{
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/AppletMonitorServiceImpl.java
View file @
59ab010a
...
@@ -82,9 +82,22 @@ public class AppletMonitorServiceImpl {
...
@@ -82,9 +82,22 @@ public class AppletMonitorServiceImpl {
List
<
ESEquipmentsDTO
>
equipmentsDTOS
=
monitorFanIndicator
.
getFanStatusList
(
String
.
valueOf
(
stationBasic
.
getSequenceNbr
()));
List
<
ESEquipmentsDTO
>
equipmentsDTOS
=
monitorFanIndicator
.
getFanStatusList
(
String
.
valueOf
(
stationBasic
.
getSequenceNbr
()));
Map
<
String
,
Long
>
countMap
=
equipmentsDTOS
.
stream
()
Map
<
String
,
Long
>
countMap
=
equipmentsDTOS
.
stream
()
.
collect
(
Collectors
.
groupingBy
(
ESEquipmentsDTO:
:
getAddress
,
Collectors
.
counting
()));
.
collect
(
Collectors
.
groupingBy
(
ESEquipmentsDTO:
:
getAddress
,
Collectors
.
counting
()));
data
.
put
(
"closeNum"
,
countMap
.
containsKey
(
"停机状态"
)
?
String
.
valueOf
(
countMap
.
get
(
"停机状态"
))
:
"0"
);
data
.
put
(
"operationNum"
,
Integer
.
parseInt
(
num
)
-
Integer
.
parseInt
(
data
.
get
(
"closeNum"
).
toString
()));
HashMap
<
String
,
Object
>
colorMap
=
new
HashMap
<>();
colorMap
.
put
(
"正常运行"
,
0
);
colorMap
.
put
(
"报警运行"
,
0
);
colorMap
.
put
(
"停机状态"
,
0
);
colorMap
.
put
(
"故障状态"
,
0
);
colorMap
.
put
(
"限功率"
,
0
);
colorMap
.
put
(
"待机状态"
,
0
);
colorMap
.
put
(
"维护状态"
,
0
);
colorMap
.
put
(
"通讯中断"
,
0
);
countMap
.
keySet
().
forEach
(
e
->{
colorMap
.
put
(
e
,
countMap
.
get
(
e
));
});
data
.
put
(
"statusMap"
,
colorMap
);
Map
<
String
,
Object
>
stationMark
=
idxFeign
.
getStationMarkList
(
stationBasic
.
getProjectOrgCode
(),
"1"
,
"4"
);
Map
<
String
,
Object
>
stationMark
=
idxFeign
.
getStationMarkList
(
stationBasic
.
getProjectOrgCode
(),
"1"
,
"4"
);
// Map<String, Object> result = stationMark.getResult();
// Map<String, Object> result = stationMark.getResult();
List
<
String
>
list
=
Arrays
.
asList
(
"P1"
,
"S1"
,
"H2"
,
"V1"
);
List
<
String
>
list
=
Arrays
.
asList
(
"P1"
,
"S1"
,
"H2"
,
"V1"
);
...
...
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