Explorar el Código

移动端:招聘方[求职管理]接口修改

wkyy hace 4 años
padre
commit
dde8a042dc

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

@@ -179,7 +179,8 @@
 			  sdde.name_ education,
 			  jj.head_image_url headImage,
 			  jj.real_name name,
-			  jre.dream_add dreamAdd
+			  jre.dream_add dreamAdd,
+			  jre.approve_status approveStatus
 			FROM
 			  job_resume jre
 			LEFT JOIN job_work_category jwc ON jre.position_category_id = jwc.id_
@@ -197,6 +198,9 @@
 			<if test="searchParams.id != null">
 				and su.id_ like #{searchParams.id}
 			</if>
+			<if test="searchParams.type != null">
+				and jre.approve_status = #{searchParams.type}
+			</if>
 		</where>
 		<foreach item="sort" collection="sortList"  open="order by" separator=",">
 			${sort.name} ${sort.order}

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

@@ -198,10 +198,11 @@ public class RecruiterApiController {
     @PostMapping("loadJobManagement")
     @ApiOperation(value = "招聘方[求职管理]")
     @ApiImplicitParams({
-            @ApiImplicitParam(name = "id", value = "id", required = true, paramType = "query")
+            @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(
-            String id,String token,
+            String id,String token,String type,
             @RequestParam(value="pageIndex",defaultValue="1") int pageIndex,
             @RequestParam(value="pageSize",defaultValue="20") int pageSize,
             @RequestAttribute  String subject) {
@@ -218,6 +219,8 @@ public class RecruiterApiController {
             searchParams.put("id","%" + id + "%");
         }
 
+        searchParams.put("type",type);
+
         Page<Map> page = resumeService.foundJobManagement(searchParams,pageIndex,pageSize,true,sortList);
 
         msgResult.setResult(true);