forked from integrated_whb/integrated_whb
修复bug
parent
19021b8999
commit
fd2daa6f02
|
@ -1555,13 +1555,13 @@
|
||||||
AND f.CREATOR = #{loginUserId}
|
AND f.CREATOR = #{loginUserId}
|
||||||
AND ifnull(bo.OUTSOURCED_ID,boai.OUTSOURCED_ID) IS NOT NULL
|
AND ifnull(bo.OUTSOURCED_ID,boai.OUTSOURCED_ID) IS NOT NULL
|
||||||
) t)CF_COUNT
|
) t)CF_COUNT
|
||||||
from `qa-gwj-regulatory`.bus_aiwarning f
|
from bus_aiwarning f
|
||||||
where f.ISDELETE = '0'
|
where f.ISDELETE = '0'
|
||||||
and f.STATUS = 0
|
and f.STATUS = 0
|
||||||
and VIDEOMANAGER_ID in (
|
and VIDEOMANAGER_ID in (
|
||||||
select vi.VIDEOMANAGER_ID
|
select vi.VIDEOMANAGER_ID
|
||||||
from `qa-gwj-regulatory`.bus_aiwarning_people aip
|
from bus_aiwarning_people aip
|
||||||
left join `qa-gwj-regulatory`. bus_videomanager vi on vi.OUTSOURCED_ID = aip.OUTSOURCED_ID
|
left join bus_videomanager vi on vi.OUTSOURCED_ID = aip.OUTSOURCED_ID
|
||||||
where aip.AIWARNING_PEOPLE = #{loginUserId}
|
where aip.AIWARNING_PEOPLE = #{loginUserId}
|
||||||
and aip.ISDELETE = 0
|
and aip.ISDELETE = 0
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue