wkyy 3 роки тому
батько
коміт
a4692eadb7
1 змінених файлів з 3 додано та 0 видалено
  1. 3 0
      common/src/main/resources/mapper/job/Resume.xml

+ 3 - 0
common/src/main/resources/mapper/job/Resume.xml

@@ -226,6 +226,9 @@
 			<if test="searchParams.type != null">
 				and jre.approve_status = #{searchParams.type}
 			</if>
+			<if test="searchParams.type = null">
+				and jre.approve_status > 0
+			</if>
 			<if test="searchParams.sex != null">
 				and jre.sex_ = #{searchParams.sex}
 			</if>