bug修复
This commit is contained in:
parent
c4a2f9876f
commit
dfa1adfd79
@ -50,7 +50,7 @@
|
|||||||
ifnull((CASE
|
ifnull((CASE
|
||||||
WHEN a.status = 5 THEN (select rectify_time
|
WHEN a.status = 5 THEN (select rectify_time
|
||||||
from xz_security_quality_rectify_record
|
from xz_security_quality_rectify_record
|
||||||
where quality_id = a.id and type = 3 and status = 2) > a.change_limit_time
|
where quality_id = a.id and type = 3 and status = 2 ORDER BY create_time desc LIMIT 1) > a.change_limit_time
|
||||||
ELSE a.change_limit_time <![CDATA[<]]> now() END),0) overTime
|
ELSE a.change_limit_time <![CDATA[<]]> now() END),0) overTime
|
||||||
from xz_security_quality_inspection_record a
|
from xz_security_quality_inspection_record a
|
||||||
LEFT JOIN enterprise_info b ON a.enterprise_sn = b.enterprise_sn
|
LEFT JOIN enterprise_info b ON a.enterprise_sn = b.enterprise_sn
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user