fix(mapper): 修复资源查询中的字段名大小写问题
- 修正 ConResourceMapper.xml 中 level 字段的大小写为 LEVEL - 确保数据库查询条件匹配正确的字段名称
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@
|
||||
AND cr.address LIKE CONCAT('%', #{conResource.province}, '%')
|
||||
</if>
|
||||
<if test="conResource.level != null and conResource.level != ''">
|
||||
AND cr."level" = #{conResource.level}
|
||||
AND cr."LEVEL" = #{conResource.level}
|
||||
</if>
|
||||
<if test="conResource.status != null and conResource.status != ''">
|
||||
AND cr.status = #{conResource.status}
|
||||
|
||||
Reference in New Issue
Block a user