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

This commit is contained in:
RuoYi 2022-05-20 16:08:33 +08:00
parent fac6af168e
commit 5a7c33bd47

View File

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