|
@@ -328,6 +328,12 @@
|
|
|
<if test="query.deviceId != null">
|
|
<if test="query.deviceId != null">
|
|
|
and device_id like concat('%',#{query.deviceId},'%')
|
|
and device_id like concat('%',#{query.deviceId},'%')
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="query.deviceRunState != null">
|
|
|
|
|
+ and run_state = #{query.deviceRunState}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="query.deviceAlarm != null">
|
|
|
|
|
+ and alarm = #{query.deviceAlarm}
|
|
|
|
|
+ </if>
|
|
|
<if test="query.validPcaCountRange != null and query.validPcaCountRange.size > 0">
|
|
<if test="query.validPcaCountRange != null and query.validPcaCountRange.size > 0">
|
|
|
and pca_valid_count >= #{query.validPcaCountRange[0]}
|
|
and pca_valid_count >= #{query.validPcaCountRange[0]}
|
|
|
<if test="query.validPcaCountRange.size >1 ">
|
|
<if test="query.validPcaCountRange.size >1 ">
|