浏览代码

测试环境

njs 1 年之前
父节点
当前提交
38393b96f4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      suishenbang-system/src/main/resources/mapper/system/AlertConfigurationMapper.xml

+ 1 - 1
suishenbang-system/src/main/resources/mapper/system/AlertConfigurationMapper.xml

@@ -59,7 +59,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <include refid="selectAlertConfigurationVo"/>
         WHERE alert_status = 1
         <if test="userType !=null and userType !=''  ">
-            and user_type like concat('%', #{userType}, '%')
+            and ( user_type =#{userType}  or user_type ='2')
         </if>
     </select>