BUG修复

This commit is contained in:
cwchen 2024-12-24 16:24:05 +08:00
parent bb8a29ab31
commit 7ba0ac1b0a
1 changed files with 7 additions and 5 deletions

View File

@ -28,11 +28,13 @@
<if test="riskLevel!=null and riskLevel!=''">
AND tnv.risk_level = #{riskLevel}
</if>
<if test="isRect == 0">
AND tnv.`status` = '1'
</if>
<if test="isRect == 1">
AND tnv.`status` IN ('2','3','4','5','6')
<if test="isRect!=null and isRect!=''">
<if test="isRect == 0">
AND tnv.`status` = '1'
</if>
<if test="isRect == 1">
AND tnv.`status` IN ('2','3','4','5','6')
</if>
</if>
ORDER BY tnv.iss_time DESC
</select>