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>