Explorar o código

修复操作日志查询类型条件为0时会查到所有数据

RuoYi %!s(int64=3) %!d(string=hai) anos
pai
achega
386f3eb016

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

@@ -38,7 +38,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
38 38
 			<if test="title != null and title != ''">
39 39
 				AND title like concat('%', #{title}, '%')
40 40
 			</if>
41
-			<if test="businessType != null and businessType != ''">
41
+			<if test="businessType != null">
42 42
 				AND business_type = #{businessType}
43 43
 			</if>
44 44
 			<if test="businessTypes != null and businessTypes.length > 0">