Просмотр исходного кода

移动端:招聘方接口修改

wkyy 3 лет назад
Родитель
Сommit
7ded3d8ad9

+ 1 - 1
common/src/main/resources/mapper/job/JobUser.xml

@@ -170,7 +170,7 @@
 		]]>
 		<where>
 			<if test="searchParams.id != null">
-				and su.id_ like #{searchParams.id}
+				and su.id = #{searchParams.id}
 			</if>
 		</where>
 		<foreach item="sort" collection="sortList"  open="order by" separator=",">

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

@@ -197,7 +197,7 @@
 		]]>
 		<where>
 			<if test="searchParams.id != null">
-				and su.id_ like #{searchParams.id}
+				and su.id = #{searchParams.id}
 			</if>
 			<if test="searchParams.type != null">
 				and jre.approve_status = #{searchParams.type}

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

@@ -232,9 +232,6 @@ public class RecruiterApiController {
 
     @PostMapping("loadInterestList")
     @ApiOperation(value = "招聘方[对您感兴趣]")
-    @ApiImplicitParams({
-            @ApiImplicitParam(name = "id", value = "id", required = true, paramType = "query")
-    })
     public MessageResult<Map> loadInterestList(
             String id,String token,
             @RequestParam(value="pageIndex",defaultValue="1") int pageIndex,
@@ -264,7 +261,6 @@ public class RecruiterApiController {
     @PostMapping("loadJobManagement")
     @ApiOperation(value = "招聘方[求职管理]")
     @ApiImplicitParams({
-            @ApiImplicitParam(name = "id", value = "id", required = true, paramType = "query"),
             @ApiImplicitParam(name = "type", value = "类型(1:已投递,2:邀沟通,3:邀面试,4:邀入职,5:已入职,6:不合适)", required = false, paramType = "query")
     })
     public MessageResult<Map> loadJobManagement(
@@ -285,9 +281,7 @@ public class RecruiterApiController {
             searchParams.put("id","%" + id + "%");
         }
 
-        if (StringUtils.isNotEmpty(type)) {
-            searchParams.put("type",type);
-        }
+        searchParams.put("type",type);
 
         Page<Map> page = resumeService.foundJobManagement(searchParams,pageIndex,pageSize,true,sortList);