|
|
@@ -594,7 +594,10 @@
|
|
|
<if test="query.warnAnalgesicPoor == true">and warn_analgesic_poor=1 </if>
|
|
|
<if test="query.warnLowBattery == true"> and warn_low_battery=1 </if>
|
|
|
<if test="query.warnFlow !=null">
|
|
|
- and warn_flow= #{query.warnFlow}
|
|
|
+ and warn_flow in
|
|
|
+ <foreach item="warn" index="index" collection="query.warnFlow" open="(" separator="," close=")">
|
|
|
+ #{warn, jdbcType=VARCHAR}
|
|
|
+ </foreach>
|
|
|
</if>
|
|
|
<if test="query.deviceRunState != null">
|
|
|
and run_state = #{query.deviceRunState}
|