Browse Source

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

chenwen 4 years ago
parent
commit
0ff15057f1

+ 11 - 5
common/src/main/java/com/jpsoft/employment/modules/job/service/impl/RecruitmentCollectionServiceImpl.java

@@ -2,18 +2,18 @@ package com.jpsoft.employment.modules.job.service.impl;
 
 import java.util.List;
 import java.util.Map;
-import java.util.UUID;
+
 import javax.annotation.Resource;
 
-import com.jpsoft.employment.modules.job.entity.ResumeVO;
 import org.springframework.stereotype.Component;
 import org.springframework.transaction.annotation.Transactional;
+
+import com.github.pagehelper.Page;
+import com.github.pagehelper.PageHelper;
+import com.jpsoft.employment.modules.common.dto.Sort;
 import com.jpsoft.employment.modules.job.dao.RecruitmentCollectionDAO;
 import com.jpsoft.employment.modules.job.entity.RecruitmentCollection;
 import com.jpsoft.employment.modules.job.service.RecruitmentCollectionService;
-import com.github.pagehelper.Page;
-import com.jpsoft.employment.modules.common.dto.Sort;
-import com.github.pagehelper.PageHelper;
 
 @Transactional
 @Component(value="recruitmentCollectionService")
@@ -87,4 +87,10 @@ public class RecruitmentCollectionServiceImpl implements RecruitmentCollectionSe
 
 		return page;
 	}
+
+	@Override
+	public boolean updateCancelCollect(String resumeId) {
+		int num=recruitmentCollectionDAO.updateCancelCollect(resumeId);
+		return num>0;
+	}
 }