wangliang 4 жил өмнө
parent
commit
8d3a758d08

+ 8 - 8
themis-business/src/main/resources/mapper/TOeExamRecordMapper.xml

@@ -242,16 +242,16 @@
 		) t
 		<where>
 			<if test="minMultipleFaceCount != null and minMultipleFaceCount != '' or minMultipleFaceCount == 0">
-				and t.multipleFaceCount &lt;= #{minMultipleFaceCount}
+				and t.multipleFaceCount &gt;= #{minMultipleFaceCount}
 			</if>
 			<if test="maxMultipleFaceCount != null and maxMultipleFaceCount != '' or maxMultipleFaceCount == 0">
-				and t.multipleFaceCount &gt;= #{maxMultipleFaceCount}
+				and t.multipleFaceCount &lt;= #{maxMultipleFaceCount}
 			</if>
 			<if test="minExceptionCount != null and minExceptionCount != '' or minExceptionCount == 0">
-				and t.exceptionCount &lt;= #{minExceptionCount}
+				and t.exceptionCount &gt;= #{minExceptionCount}
 			</if>
 			<if test="maxExceptionCount != null and maxExceptionCount != '' or maxExceptionCount == 0">
-				and t.exceptionCount &gt;= #{maxExceptionCount}
+				and t.exceptionCount &lt;= #{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 &lt;= #{minMultipleFaceCount}
+				and t.multipleFaceCount &gt;= #{minMultipleFaceCount}
 			</if>
 			<if test="maxMultipleFaceCount != null and maxMultipleFaceCount != '' or maxMultipleFaceCount == 0">
-				and t.multipleFaceCount &gt;= #{maxMultipleFaceCount}
+				and t.multipleFaceCount &lt;= #{maxMultipleFaceCount}
 			</if>
 			<if test="minExceptionCount != null and minExceptionCount != '' or minExceptionCount == 0">
-				and t.exceptionCount &lt;= #{minExceptionCount}
+				and t.exceptionCount &gt;= #{minExceptionCount}
 			</if>
 			<if test="maxExceptionCount != null and maxExceptionCount != '' or maxExceptionCount == 0">
-				and t.exceptionCount &gt;= #{maxExceptionCount}
+				and t.exceptionCount &lt;= #{maxExceptionCount}
 			</if>
 		</where>
 		order by t.roomCode