Selaa lähdekoodia

移动端接口:招聘方【收藏简历】增加取消收藏接口

chenwen 4 vuotta sitten
vanhempi
commit
39d3ffae53

+ 16 - 2
common/src/main/java/com/jpsoft/employment/modules/job/service/RecruitmentCollectionService.java

@@ -2,10 +2,10 @@ package com.jpsoft.employment.modules.job.service;
 
 import java.util.List;
 import java.util.Map;
-import com.jpsoft.employment.modules.job.entity.RecruitmentCollection;
+
 import com.github.pagehelper.Page;
 import com.jpsoft.employment.modules.common.dto.Sort;
-import com.jpsoft.employment.modules.job.entity.ResumeVO;
+import com.jpsoft.employment.modules.job.entity.RecruitmentCollection;
 
 public interface RecruitmentCollectionService {
 	RecruitmentCollection get(String id);
@@ -16,6 +16,15 @@ public interface RecruitmentCollectionService {
 	List<RecruitmentCollection> list();
 	Page<RecruitmentCollection> pageSearch(Map<String, Object> searchParams, int pageNum, int pageSize, boolean count, List<Sort> sortList);
 
+	/**
+	 * 招聘方:收藏的简历
+	 * @param searchParams
+	 * @param pageNumber
+	 * @param pageSize
+	 * @param count
+	 * @param sortList
+	 * @return
+	 */
 	Page<Map<String,Object>> pagedLoadCollectResumes(Map<String, Object> searchParams, int pageNumber, int pageSize, boolean count, List<Sort> sortList);
 
 	/**
@@ -28,4 +37,9 @@ public interface RecruitmentCollectionService {
 	 * @return
 	 */
 	Page<Map<String,Object>> pagedLoadAllResumes(Map<String, Object> searchParams, int pageNumber, int pageSize, boolean count, List<Sort> sortList);
+	
+	/**
+	 * 招聘方:收藏的简历,取消收藏
+	 */
+	boolean updateCancelCollect(String resumeId);
 }