浏览代码

bug修改

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">
 			<if test="searchParams.type != null">
 				and jre.approve_status = #{searchParams.type}
 				and jre.approve_status = #{searchParams.type}
 			</if>
 			</if>
+			<if test="searchParams.type = null">
+				and jre.approve_status > 0
+			</if>
 			<if test="searchParams.sex != null">
 			<if test="searchParams.sex != null">
 				and jre.sex_ = #{searchParams.sex}
 				and jre.sex_ = #{searchParams.sex}
 			</if>
 			</if>