瀏覽代碼

修改完全弹窗判断

yousongbo 5 天之前
父節點
當前提交
18bafbfcea
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      suishenbang-system/src/main/resources/mapper/system/AlertConfigurationMapper.xml

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

@@ -45,8 +45,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     <select id="selectAlertConfigurationListFilter" parameterType="Long" resultMap="AlertConfigurationResult">
         <include refid="selectAlertConfigurationVo"/>
         WHERE alert_status = 1
-        <if test="userType !=null and userType !='' and userType !='2'.toString() ">
-          and ( user_type =#{userType}  or user_type ='2')
+        <if test="userType !=null and userType !='' ">
+          and ( user_type =#{userType})
         </if>