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
c4852fb9
Commit
c4852fb9
authored
Aug 02, 2024
by
yangyang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer' into developer
parents
2fc8f54a
acca8a3e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
IdxBizFanHealthIndexServiceImpl.java
...iop/biz/service/impl/IdxBizFanHealthIndexServiceImpl.java
+0
-1
SjglZsjZsbtzMapper.xml
.../src/main/resources/mapper/cluster/SjglZsjZsbtzMapper.xml
+7
-7
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/IdxBizFanHealthIndexServiceImpl.java
View file @
c4852fb9
...
@@ -102,7 +102,6 @@ public class IdxBizFanHealthIndexServiceImpl extends BaseService<IdxBizFanHealth
...
@@ -102,7 +102,6 @@ public class IdxBizFanHealthIndexServiceImpl extends BaseService<IdxBizFanHealth
SimpleDateFormat
dateFormat
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
SimpleDateFormat
dateFormat
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy-MM-dd"
);
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy-MM-dd"
);
Calendar
calendar
=
Calendar
.
getInstance
(
TimeZone
.
getTimeZone
(
"UTC"
));
Calendar
calendar
=
Calendar
.
getInstance
(
TimeZone
.
getTimeZone
(
"UTC"
));
sdf
.
setTimeZone
(
TimeZone
.
getTimeZone
(
"UTC"
));
//限制必须是区间时间段
//限制必须是区间时间段
if
(
startTime
==
null
||
endTime
==
null
){
if
(
startTime
==
null
||
endTime
==
null
){
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-bigscreen-biz/src/main/resources/mapper/cluster/SjglZsjZsbtzMapper.xml
View file @
c4852fb9
...
@@ -73,7 +73,7 @@
...
@@ -73,7 +73,7 @@
count( 1 ) as value
count( 1 ) as value
FROM
FROM
sjgl_zsj_zsbtz a
sjgl_zsj_zsbtz a
INNER
JOIN privilege_company b on a.WERKS = b.COMPANY_CODE and b.IS_DELETED = false AND b.`LEVEL` = 'station'
LEFT
JOIN privilege_company b on a.WERKS = b.COMPANY_CODE and b.IS_DELETED = false AND b.`LEVEL` = 'station'
<where>
<where>
<if
test=
"parentCode != null and parentCode != ''"
>
<if
test=
"parentCode != null and parentCode != ''"
>
b.ORG_CODE like concat(#{parentCode},'%')
b.ORG_CODE like concat(#{parentCode},'%')
...
@@ -89,7 +89,7 @@
...
@@ -89,7 +89,7 @@
count(1) as value
count(1) as value
FROM
FROM
fdgl_job_main a
fdgl_job_main a
INNER
JOIN privilege_company b on a.WERKS = b.COMPANY_CODE and b.IS_DELETED = false AND b.`LEVEL` = 'station'
LEFT
JOIN privilege_company b on a.WERKS = b.COMPANY_CODE and b.IS_DELETED = false AND b.`LEVEL` = 'station'
<where>
<where>
<if
test=
"parentCode != null and parentCode != ''"
>
<if
test=
"parentCode != null and parentCode != ''"
>
b.ORG_CODE like concat(#{parentCode},'%')
b.ORG_CODE like concat(#{parentCode},'%')
...
@@ -110,7 +110,7 @@
...
@@ -110,7 +110,7 @@
else 3 end) as sort
else 3 end) as sort
FROM
FROM
sjgl_zsj_zsbtz a
sjgl_zsj_zsbtz a
INNER
JOIN privilege_company b ON a.WERKS = b.COMPANY_CODE and b.IS_DELETED = false AND b.`LEVEL` = 'station'
LEFT
JOIN privilege_company b ON a.WERKS = b.COMPANY_CODE and b.IS_DELETED = false AND b.`LEVEL` = 'station'
<where>
<where>
<if
test=
"parentCode != null and parentCode != ''"
>
<if
test=
"parentCode != null and parentCode != ''"
>
AND b.ORG_CODE like concat(#{parentCode},'%')
AND b.ORG_CODE like concat(#{parentCode},'%')
...
@@ -122,9 +122,9 @@
...
@@ -122,9 +122,9 @@
AND a.QRCODE_COLOR = #{qrCodeColor}
AND a.QRCODE_COLOR = #{qrCodeColor}
</if>
</if>
<if
test=
"ne != null and ne != ''"
>
<if
test=
"ne != null and ne != ''"
>
AND a.QRCODE_COLOR != #{ne}
</if>
</if>
</where>
</where>
AND a.QRCODE_COLOR != #{ne}
ORDER BY sort asc, a.UPDATE_STAMP DESC
ORDER BY sort asc, a.UPDATE_STAMP DESC
limit #{current},#{size}
limit #{current},#{size}
</select>
</select>
...
@@ -134,7 +134,7 @@
...
@@ -134,7 +134,7 @@
count(1)
count(1)
FROM
FROM
sjgl_zsj_zsbtz a
sjgl_zsj_zsbtz a
INNER
JOIN privilege_company b ON a.WERKS = b.COMPANY_CODE and b.IS_DELETED = false AND b.`LEVEL` = 'station'
LEFT
JOIN privilege_company b ON a.WERKS = b.COMPANY_CODE and b.IS_DELETED = false AND b.`LEVEL` = 'station'
<where>
<where>
<if
test=
"parentCode != null and parentCode != ''"
>
<if
test=
"parentCode != null and parentCode != ''"
>
AND b.ORG_CODE like concat(#{parentCode},'%')
AND b.ORG_CODE like concat(#{parentCode},'%')
...
@@ -165,7 +165,7 @@
...
@@ -165,7 +165,7 @@
else 3 end as sort
else 3 end as sort
FROM
FROM
fdgl_job_main a
fdgl_job_main a
INNER
JOIN privilege_company b ON a.WERKS = b.COMPANY_CODE and b.IS_DELETED = false AND b.`LEVEL` = 'station'
LEFT
JOIN privilege_company b ON a.WERKS = b.COMPANY_CODE and b.IS_DELETED = false AND b.`LEVEL` = 'station'
left join sjgl_zsj_zsbtz c on a.EQUIP_DBID = c.DBID
left join sjgl_zsj_zsbtz c on a.EQUIP_DBID = c.DBID
<where>
<where>
<if
test=
"parentCode != null and parentCode != ''"
>
<if
test=
"parentCode != null and parentCode != ''"
>
...
@@ -190,7 +190,7 @@
...
@@ -190,7 +190,7 @@
count(1)
count(1)
FROM
FROM
fdgl_job_main a
fdgl_job_main a
INNER
JOIN privilege_company b ON a.WERKS = b.COMPANY_CODE and b.IS_DELETED = false AND b.`LEVEL` = 'station'
LEFT
JOIN privilege_company b ON a.WERKS = b.COMPANY_CODE and b.IS_DELETED = false AND b.`LEVEL` = 'station'
<where>
<where>
<if
test=
"parentCode != null and parentCode != ''"
>
<if
test=
"parentCode != null and parentCode != ''"
>
AND b.ORG_CODE like concat(#{parentCode},'%')
AND b.ORG_CODE like concat(#{parentCode},'%')
...
...
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