首页bug修改
This commit is contained in:
parent
c21fc355a6
commit
9e4d29f9c9
|
@ -27,6 +27,7 @@
|
|||
SELECT d.sn AS "sn",
|
||||
p.dept_name AS "factoryName",
|
||||
pp.dept_name AS "gangqu",
|
||||
r.report_time as "reportTime",
|
||||
r.ds AS "ds",
|
||||
r.zt AS "level"
|
||||
FROM th_device d
|
||||
|
@ -34,7 +35,7 @@
|
|||
JOIN sys_dept p ON d.dept_id = p.dept_id
|
||||
LEFT JOIN sys_dept pp ON p.parent_id = pp.dept_id
|
||||
WHERE
|
||||
r.REPORT_TIME = TO_DATE(#{date}, 'YYYY-MM-DD')
|
||||
TRUNC(r.REPORT_TIME) = TO_DATE(#{date}, 'YYYY-MM-DD')
|
||||
AND (r.zt = '一级报警' OR r.zt = '二级报警')
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue