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