|
@@ -4,6 +4,8 @@ import java.util.List;
|
|
|
import java.util.Map;
|
|
import java.util.Map;
|
|
|
import java.util.UUID;
|
|
import java.util.UUID;
|
|
|
import javax.annotation.Resource;
|
|
import javax.annotation.Resource;
|
|
|
|
|
+
|
|
|
|
|
+import com.jpsoft.employment.modules.job.entity.Recruitment;
|
|
|
import org.springframework.stereotype.Component;
|
|
import org.springframework.stereotype.Component;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
import com.jpsoft.employment.modules.job.dao.UserBrowseDAO;
|
|
import com.jpsoft.employment.modules.job.dao.UserBrowseDAO;
|
|
@@ -67,4 +69,13 @@ public class UserBrowseServiceImpl implements UserBrowseService {
|
|
|
|
|
|
|
|
return page;
|
|
return page;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ @Override
|
|
|
|
|
+ public Page<Recruitment> loadUserBrowses(Map<String, Object> searchParams, int pageNum, int pageSize, boolean count, List<Sort> sortList) {
|
|
|
|
|
+ Page<Recruitment> page = PageHelper.startPage(pageNum, pageSize, count).doSelectPage(() -> {
|
|
|
|
|
+ userBrowseDAO.loadUserBrowses(searchParams, sortList);
|
|
|
|
|
+ });
|
|
|
|
|
+
|
|
|
|
|
+ return page;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|