Browse Source

预案查询接口,增加事件类型、事件子类型查询

develop
Mr.Wang 6 months ago
parent
commit
eb052468b5
  1. 3
      zc-business/src/main/resources/mapper/business/DcEmergencyPlansMapper.xml

3
zc-business/src/main/resources/mapper/business/DcEmergencyPlansMapper.xml

@ -116,6 +116,9 @@
<where> <where>
<if test="planName != null and planName != ''"> and plan_name like concat('%', #{planName}, '%')</if> <if test="planName != null and planName != ''"> and plan_name like concat('%', #{planName}, '%')</if>
<if test="eventType != 0 "> and event_type = #{eventType}</if> <if test="eventType != 0 "> and event_type = #{eventType}</if>
<if test="triggerMechanism != null and triggerMechanism != ''">
and trigger_mechanism =#{triggerMechanism}
</if>
</where> </where>
order by t1.id desc order by t1.id desc
</select> </select>

Loading…
Cancel
Save