소스 검색

bug修改

wkyy 3 년 전
부모
커밋
93d8a8233b

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

@@ -226,9 +226,6 @@
 			<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>

+ 1 - 1
web/src/main/java/com/jpsoft/employment/modules/mobile/controller/RecruiterApiController.java

@@ -303,7 +303,7 @@ public class RecruiterApiController {
             searchParams.put("id","%" + id + "%");
         }
 
-        if (StringUtils.isNotEmpty(id)) {
+        if (StringUtils.isNotEmpty(type)) {
             searchParams.put("type",type);
         }