DemandService.java 3.4 KB

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