AI报警-修复了AI报警App端角标问题

liujun-2024-05-23-接口漏洞修复
water_xu 2024-05-13 15:41:19 +08:00
parent a4a548b890
commit a1b2789de2
1 changed files with 12 additions and 1 deletions

View File

@ -1548,7 +1548,18 @@
bo.PUNISH_THE_PERSON LIKE CONCAT( CONCAT( '%', #{loginUserId} ), '%' )
OR boai.PUNISH_THE_PERSON LIKE CONCAT( CONCAT( '%', #{loginUserId} ), '%' )
)
) t ) as HIDDEN_COUNT,
) t ) +
(SELECT COUNT(t.HIDDEN_ID) FROM (
SELECT
f.HIDDEN_ID
FROM
`qa-gwj-prevention`.BUS_KEYPROJECT_HIDDEN f
WHERE
f.ISDELETE = '0'
AND f.SOURCE = '1'
AND f.CREATOR = #{loginUserId}
and f.ISPUNISH is null
) t ) as HIDDEN_COUNT,
( SELECT COUNT(DISTINCT t.HIDDEN_ID) FROM (
SELECT
f.HIDDEN_ID