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
7c7fc89d
Commit
7c7fc89d
authored
May 31, 2024
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
83545ad3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
9 deletions
+14
-9
HealthStatusIndicatorServiceImpl.java
...op/biz/service/impl/HealthStatusIndicatorServiceImpl.java
+1
-0
PersonBasicMapper.xml
...jxiop-api/src/main/resources/mapper/PersonBasicMapper.xml
+1
-1
McbWarningMapper.xml
...pi/src/main/resources/mapper/warning/McbWarningMapper.xml
+11
-7
McbWarningServiceImpl.java
.../module/jxiop/biz/service/impl/McbWarningServiceImpl.java
+1
-1
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/HealthStatusIndicatorServiceImpl.java
View file @
7c7fc89d
...
...
@@ -2762,6 +2762,7 @@ public class HealthStatusIndicatorServiceImpl {
bizMessage
.
setIndexValue
(
idxBizFanWarningRecord
.
getPointName
());
// bizMessage.setTraceId(idxBizFanWarningRecord.getSequenceNbr());
RiskBizInfoVo
riskBizInfoVo
=
new
RiskBizInfoVo
();
riskBizInfoVo
.
setBussId
(
String
.
valueOf
(
idxBizFanWarningRecord
.
getTs
()));
riskBizInfoVo
.
setWarningObjectName
(
idxBizFanWarningRecord
.
getEquipmentName
());
riskBizInfoVo
.
setWarningObjectCode
(
idxBizFanWarningRecord
.
getKks
());
riskBizInfoVo
.
setSourceAttribution
(
stationMap
.
get
(
idxBizFanWarningRecord
.
getGatewayId
()).
getProjectOrgCode
());
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-api/src/main/resources/mapper/PersonBasicMapper.xml
View file @
7c7fc89d
...
...
@@ -290,7 +290,7 @@
IFNULL(b.project_name, '') as stationName,
'' as unitName,
IFNULL(a.qrcode_color, 'green') as qrCodeColor,
IFNULL(a.rec_date,
''
) AS recDate,
IFNULL(a.rec_date,
a.qrcode_date
) AS recDate,
IFNULL(head_photo, '') AS headPhoto
FROM
person_basic a
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-api/src/main/resources/mapper/warning/McbWarningMapper.xml
View file @
7c7fc89d
...
...
@@ -240,13 +240,19 @@
(SELECT
QUESTION_NUM
FROM
amos_mcb.
mcb_warning_warning_info
mcb_warning_warning_info
WHERE
mcb_warning_warning_info.PROCESSING_STATUS = 2
AND QUESTION_NUM IS NOT NULL
AND mcb_warning_warning_info.WARNING_SOURCE_TYPE_CODE IN ( SELECT CODE FROM amos_mcb.mcb_data_dictionary WHERE remark = 'OVERVIEW' )
) warnNum LEFT join amos_mcb.mcb_warning_question_info question on question.NUM = warnNum.QUESTION_NUM
LEFT JOIN amos_mcb.mcb_warning_base_source_attribution source ON source.CODE = question.SOURCE_ATTRIBUTION
AND mcb_warning_warning_info.WARNING_SOURCE_TYPE_CODE IN ( SELECT CODE FROM mcb_data_dictionary WHERE remark = 'OVERVIEW' )
) warnNum inner join mcb_warning_question_info question on question.NUM = warnNum.QUESTION_NUM
<if
test=
"completionStatus != null and completionStatus == 0"
>
AND question.COMPLETION_STATUS in (0,2)
</if>
<if
test=
"completionStatus != null and completionStatus != 0"
>
AND question.COMPLETION_STATUS = #{completionStatus}
</if>
LEFT JOIN mcb_warning_base_source_attribution source ON source.CODE = question.SOURCE_ATTRIBUTION
<where>
<if
test=
"projectOrgCodes != null and projectOrgCodes.size() > 0"
>
AND question.SOURCE_ATTRIBUTION IN
...
...
@@ -254,9 +260,7 @@
#{item}
</foreach>
</if>
<if
test=
"completionStatus != null and completionStatus == 0"
>
AND question.COMPLETION_STATUS in (0,2)
</if>
<if
test=
"startTime != null and startTime != ''"
>
AND question.CREATE_DATE
>
= concat(#{startTime}, ' 00:00:00')
</if>
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/McbWarningServiceImpl.java
View file @
7c7fc89d
...
...
@@ -305,7 +305,7 @@ public class McbWarningServiceImpl implements IMcbWarningService {
private
List
<
String
>
getProjectOrgCodes
()
{
List
<
String
>
projectOrgCodes
=
permissionService
.
getCurrentUserProjectOrgCodes
();
if
(
Objects
.
isNull
(
projectOrgCodes
))
{
projectOrgCodes
=
Collections
.
emptyList
();
projectOrgCodes
=
new
ArrayList
<>
();
}
log
.
info
(
JSON
.
toJSONString
(
"当前用户转换获取的orgcode列表是 "
+
projectOrgCodes
));
return
projectOrgCodes
;
...
...
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