Browse Source

测试环境

njs 1 year ago
parent
commit
38393b96f4

+ 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>