@@ -123,6 +123,7 @@
<if test="modelid !=null and modelid !=''">
and a.modelid = #{modelid}
</if>
+ and a.enabled = true
</where>
</select>
<select id="getById" parameterType="java.util.Map" resultType="com.gyee.wisdom.alarm.sharding.entity.Alertrule2">