增加角标

main
zhaoyu 2023-12-18 14:23:18 +08:00
parent d59a9f1dfe
commit 63d831eba9
1 changed files with 14 additions and 1 deletions

View File

@ -1556,7 +1556,20 @@
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
AND (bo.ISDELETE = '0' or boai.ISDELETE = '0') AND (bo.ISDELETE = '0' or boai.ISDELETE = '0')
) t)CF_COUNT ) t)CF_COUNT,
(SELECT
COUNT( DISTINCT t.OUTSOURCED_ID )
FROM
(
SELECT
b.OUTSOURCED_ID
FROM
`qa-gwj-regulatory`.BUS_OUTSOURCED b
WHERE
b.ISDELETE = '0'
AND ( b.STATE = '-1' OR b.STATE = '-2' )
AND b.CREATOR = #{loginUserId}
) t) GC_COUNT
from `qa-gwj-regulatory`.bus_aiwarning f from `qa-gwj-regulatory`.bus_aiwarning f
where f.ISDELETE = '0' where f.ISDELETE = '0'
and f.STATUS = 0 and f.STATUS = 0