|
@@ -44,9 +44,10 @@ 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 user_type =#{userType}
|
|
|
+ <if test="userType !=null and userType !='' and userType !='2'.toString() ">
|
|
|
+ and ( user_type =#{userType} or user_type ='2')
|
|
|
</if>
|
|
|
+
|
|
|
</select>
|
|
|
|
|
|
<select id="selectAlertConfigurationById" parameterType="Long" resultMap="AlertConfigurationResult">
|