|
|
@@ -1,6 +1,8 @@
|
|
|
package com.jpsoft.employment.modules.job.dao;
|
|
|
|
|
|
import java.util.List;
|
|
|
+
|
|
|
+import com.jpsoft.employment.modules.job.entity.Recruitment;
|
|
|
import org.springframework.stereotype.Repository;
|
|
|
import com.jpsoft.employment.modules.job.entity.UserCollection;
|
|
|
import java.util.Map;
|
|
|
@@ -14,7 +16,9 @@ public interface UserCollectionDAO {
|
|
|
UserCollection get(String id);
|
|
|
int delete(String id);
|
|
|
List<UserCollection> list();
|
|
|
- List<UserCollection> search(Map<String,Object> searchParams,List<Sort> sortList);
|
|
|
- UserCollection findByUserIdAndRId(String userId,String recruitmentId);
|
|
|
+ List<UserCollection> search(Map<String, Object> searchParams, List<Sort> sortList);
|
|
|
+ UserCollection findByUserIdAndRId(String userId, String recruitmentId);
|
|
|
List<UserCollection> findByUserId(String userId);
|
|
|
+
|
|
|
+ List<Recruitment> loadUserCollection(Map<String, Object> searchParams, List<Sort> sortList);
|
|
|
}
|