瀏覽代碼

过滤条件处理

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 != ''">-->