DemandService.java 3.2 KB

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