소스 검색

过滤条件处理

yzc 1 년 전
부모
커밋
f921506768
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml

+ 1 - 1
ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml

@@ -59,7 +59,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 		<if test="status != null and status != ''">
 			AND d.status = #{status}
 		</if>
-		<if test="type != null and type != ''">
+		<if test="type != null">
 			AND d.type = #{type}
 		</if>
 <!--		<if test="tenantId != null and tenantId != ''">-->