|
@@ -242,16 +242,16 @@
|
|
|
) t
|
|
|
<where>
|
|
|
<if test="minMultipleFaceCount != null and minMultipleFaceCount != '' or minMultipleFaceCount == 0">
|
|
|
- and t.multipleFaceCount <= #{minMultipleFaceCount}
|
|
|
+ and t.multipleFaceCount >= #{minMultipleFaceCount}
|
|
|
</if>
|
|
|
<if test="maxMultipleFaceCount != null and maxMultipleFaceCount != '' or maxMultipleFaceCount == 0">
|
|
|
- and t.multipleFaceCount >= #{maxMultipleFaceCount}
|
|
|
+ and t.multipleFaceCount <= #{maxMultipleFaceCount}
|
|
|
</if>
|
|
|
<if test="minExceptionCount != null and minExceptionCount != '' or minExceptionCount == 0">
|
|
|
- and t.exceptionCount <= #{minExceptionCount}
|
|
|
+ and t.exceptionCount >= #{minExceptionCount}
|
|
|
</if>
|
|
|
<if test="maxExceptionCount != null and maxExceptionCount != '' or maxExceptionCount == 0">
|
|
|
- and t.exceptionCount >= #{maxExceptionCount}
|
|
|
+ and t.exceptionCount <= #{maxExceptionCount}
|
|
|
</if>
|
|
|
</where>
|
|
|
,(SELECT @i := 0) as i
|
|
@@ -337,16 +337,16 @@
|
|
|
) t,(SELECT @i := 0) as i
|
|
|
<where>
|
|
|
<if test="minMultipleFaceCount != null and minMultipleFaceCount != '' or minMultipleFaceCount == 0">
|
|
|
- and t.multipleFaceCount <= #{minMultipleFaceCount}
|
|
|
+ and t.multipleFaceCount >= #{minMultipleFaceCount}
|
|
|
</if>
|
|
|
<if test="maxMultipleFaceCount != null and maxMultipleFaceCount != '' or maxMultipleFaceCount == 0">
|
|
|
- and t.multipleFaceCount >= #{maxMultipleFaceCount}
|
|
|
+ and t.multipleFaceCount <= #{maxMultipleFaceCount}
|
|
|
</if>
|
|
|
<if test="minExceptionCount != null and minExceptionCount != '' or minExceptionCount == 0">
|
|
|
- and t.exceptionCount <= #{minExceptionCount}
|
|
|
+ and t.exceptionCount >= #{minExceptionCount}
|
|
|
</if>
|
|
|
<if test="maxExceptionCount != null and maxExceptionCount != '' or maxExceptionCount == 0">
|
|
|
- and t.exceptionCount >= #{maxExceptionCount}
|
|
|
+ and t.exceptionCount <= #{maxExceptionCount}
|
|
|
</if>
|
|
|
</where>
|
|
|
order by t.roomCode
|