update 更新查询sql

This commit is contained in:
Guoqs
2026-04-21 16:14:12 +08:00
parent f87f2f5176
commit d9c2e19ad1
3 changed files with 8 additions and 1 deletions

View File

@@ -2005,7 +2005,8 @@
<if test="vinCode != null and vinCode != ''">
and t1.vin_code = #{vinCode,jdbcType=VARCHAR}
</if>
<if test="params != null and params.roleId != null and params.roleId > 2">
<if test="(params != null and params.roleId != null and params.roleId > 2)
or (reviewFlag != null and reviewFlag != '')">
and t1.review_flag = '1'
</if>
<if test="plateNumber != null and plateNumber != ''">