增加角标
parent
d59a9f1dfe
commit
63d831eba9
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue