Merge remote-tracking branch 'origin/main'

This commit is contained in:
haozq 2024-12-25 10:46:24 +08:00
commit bb4f14ac07
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>