AI报警-修复了AI报警App端隐患惩罚相关问题

liujun-2024-05-23-接口漏洞修复
water_xu 2024-05-13 14:10:18 +08:00
parent 6f3b1796cf
commit a4a548b890
1 changed files with 1 additions and 1 deletions

View File

@ -1614,7 +1614,7 @@ FROM
WHERE
h.ISDELETE = '0'
<if test="pd.HANDLED==1">
and (P.HANDLED = '0' OR P.HANDLED IS NULL)
and (P.HANDLED = '0' OR P.HANDLED IS NULL) and (h.ISPUNISH != '2' or h.ISPUNISH is null)
</if>
<if test="pd.HANDLED==2">
and P.HANDLED = '1'