DemandService.java 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. package com.goafanti.demand.service;
  2. import java.util.List;
  3. import com.goafanti.common.bo.MyCollection;
  4. import com.goafanti.common.model.Demand;
  5. import com.goafanti.core.mybatis.page.Pagination;
  6. import com.goafanti.demand.bo.AppDemandBo;
  7. import com.goafanti.demand.bo.DemandDetailBo;
  8. import com.goafanti.demand.bo.DemandImportBo;
  9. import com.goafanti.demand.bo.DemandListBo;
  10. import com.goafanti.demand.bo.ObjectInterestListBo;
  11. import com.goafanti.portal.bo.DemandSearchDetailBo;
  12. import com.goafanti.portal.bo.DemandSearchListBo;
  13. public interface DemandService {
  14. Pagination<DemandListBo> listMyDemand(String name,String startDate,String endDate,Integer pageNo, Integer pageSize);
  15. Pagination<DemandListBo> listDemand(String name,String employerName,Integer demandType,
  16. Integer auditStatus,Integer status,String startDate, String endDate,Integer pageNo, Integer pageSize);
  17. int updateUserDemand(Demand d, String validityPeriodFormattedDate, String[] keywords,List<String> webPages,List<String> appPages);
  18. DemandDetailBo selectUserDemandDetail(String id);
  19. int deleteByPrimaryKey(List<String> asList);
  20. DemandDetailBo selectOrgDemandDetail(String id);
  21. Demand selectByPrimaryKey(String id);
  22. int updateReleaseStatus(Demand d);
  23. int updateAuditDemand(Demand d, String techBroderId, Integer auditStatus);
  24. void saveDemand(Demand d, String validityPeriodFormattedDate, String keywords[],List<String> webPages, List<String> appPages);
  25. void insertImport(List<DemandImportBo> data);
  26. DemandSearchDetailBo selectDemandDetail(String uid, String id);
  27. int updateMatchAchievement(Demand d);
  28. int updateByPrimaryKeySelective(Demand d);
  29. AppDemandBo selectAppDemandDetail( String id);
  30. Pagination<DemandSearchListBo> listAppDemand(Integer auditStatus, Integer serialNumber, String name, String keyword, Integer demandType,Integer industryCategoryA,
  31. String validityPeriodStartDate, String validityPeriodEndDate, Integer status, Integer releaseStatus,
  32. String releaseDateStartDate, String releaseDateEndDate,String employerId, Integer pNo, Integer pSize);
  33. Pagination<ObjectInterestListBo> selectinterest(Integer type,Integer pageNo, Integer pageSize);
  34. Pagination<AppDemandBo> listMyDemand(Integer pNo, Integer pSize);
  35. int saveAppUserDemand(Demand d, String validityPeriodFormattedDate, String[] keywords);
  36. Demand DemandFollowDetails(String id);
  37. //科技需求首页列表
  38. List<DemandListBo> recentDemand(int size,String pattern,String showLocation);
  39. List<DemandListBo> companyDemand(int size,String pattern,String showLocation);
  40. List<DemandListBo> getUrgentDemand(int size,String pattern,String showLocation);
  41. List<DemandListBo> getHotDemand(int size,String pattern,String showLocation, int deletedSign);
  42. List<DemandListBo> areaDemand(int size,String pattern,String showLocation);
  43. List<DemandListBo> proLearnStudyDemand(int size,String pattern,String showLocation);
  44. List<DemandListBo> getFundCrowdDemand(int size,String pattern,String showLocation);
  45. List<DemandListBo> getPersonnelDemand(int size,String pattern,String showLocation);
  46. DemandListBo getDemandDetail(String id,Integer type);
  47. int getInterestCount(String id);
  48. List<DemandListBo>getBoutiqueDemandList(int i,String pattern,String showLocation);
  49. DemandDetailBo selectDemandDetail(String id);
  50. Pagination<DemandListBo>getDemandObjects(DemandListBo demandListBo,Integer pageNo,Integer pageSize);
  51. Pagination<DemandListBo>listInterestedDemand(Integer pageNo,Integer pageSize);
  52. Pagination<MyCollection> myCollectionDemand(Integer pageNo, Integer pageSize);
  53. }