|
@@ -27,9 +27,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<include refid="selectAlertConfigurationVo"/>
|
|
<include refid="selectAlertConfigurationVo"/>
|
|
|
<where>
|
|
<where>
|
|
|
<if test="isDelete != null "> and is_delete = #{isDelete}</if>
|
|
<if test="isDelete != null "> and is_delete = #{isDelete}</if>
|
|
|
- <if test="alertContent != null and alertContent != ''"> and alert_content = #{alertContent}</if>
|
|
|
|
|
- <if test="alertStartTime != null "> and alert_start_time = #{alertStartTime}</if>
|
|
|
|
|
- <if test="alertEndTime != null "> and alert_end_time = #{alertEndTime}</if>
|
|
|
|
|
|
|
+ <if test="alertContent != null and alertContent != ''"> and alert_content like concat('%', #{alertContent}, '%')</if>
|
|
|
|
|
+ <if test="alertStartTime != null "> and alert_start_time >= #{alertStartTime}</if>
|
|
|
|
|
+ <if test="alertEndTime != null "> and alert_end_time < #{alertEndTime}</if>
|
|
|
<if test="alertNum != null "> and alert_num = #{alertNum}</if>
|
|
<if test="alertNum != null "> and alert_num = #{alertNum}</if>
|
|
|
<if test="userType != null and userType != ''"> and user_type = #{userType}</if>
|
|
<if test="userType != null and userType != ''"> and user_type = #{userType}</if>
|
|
|
<if test="alertStatus != null and alertStatus != ''"> and alert_status = #{alertStatus}</if>
|
|
<if test="alertStatus != null and alertStatus != ''"> and alert_status = #{alertStatus}</if>
|