|
|
@@ -4,6 +4,8 @@ import java.util.List;
|
|
|
import java.util.Map;
|
|
|
import java.util.UUID;
|
|
|
import javax.annotation.Resource;
|
|
|
+
|
|
|
+import com.jpsoft.employment.modules.job.entity.RecruitmentVO;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
import com.jpsoft.employment.modules.job.dao.RecruitmentDAO;
|
|
|
@@ -54,6 +56,8 @@ public class RecruitmentServiceImpl implements RecruitmentService {
|
|
|
return page;
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+
|
|
|
@Override
|
|
|
public boolean exist(String id) {
|
|
|
// TODO Auto-generated method stub
|
|
|
@@ -76,4 +80,19 @@ public class RecruitmentServiceImpl implements RecruitmentService {
|
|
|
|
|
|
return page;
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public Page<RecruitmentVO> loadForRecruiter(Map<String, Object> searchParams, int pageNum, int pageSize, boolean count, List<Sort> sortList) {
|
|
|
+ Page<RecruitmentVO> page = PageHelper.startPage(pageNum,pageSize,count).doSelectPage(()->{
|
|
|
+ recruitmentDAO.loadForRecruiter(searchParams,sortList);
|
|
|
+ });
|
|
|
+
|
|
|
+ return page;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public Map<String,Object> rptMyRecruitmentCount(String hrId) {
|
|
|
+ return recruitmentDAO.rptMyRecruitmentCount(hrId);
|
|
|
+ }
|
|
|
+
|
|
|
}
|