DemandService.java 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. package com.goafanti.demand.service;
  2. import java.util.List;
  3. import com.goafanti.achievement.bo.AchievementDemandListBo;
  4. import com.goafanti.common.model.Demand;
  5. import com.goafanti.core.mybatis.page.Pagination;
  6. import com.goafanti.demand.bo.DemandImportBo;
  7. import com.goafanti.demand.bo.DemandListBo;
  8. import com.goafanti.demand.bo.DemandManageDetailBo;
  9. import com.goafanti.demand.bo.DemandPartnerListBo;
  10. import com.goafanti.demand.bo.ObjectInterestListBo;
  11. import com.goafanti.portal.bo.DemandPortalDetailBo;
  12. import com.goafanti.portal.bo.DemandPortalSimilarListBo;
  13. import com.goafanti.portal.bo.DemandSearchDetailBo;
  14. import com.goafanti.portal.bo.DemandSearchListBo;
  15. public interface DemandService {
  16. void saveUserDemand(Demand d, String validityPeriodFormattedDate, String[] keywords);
  17. int updateUserDemand(Demand d, String validityPeriodFormattedDate, String[] keywords, Integer switchSign);
  18. DemandManageDetailBo selectUserDemandDetail(String id);
  19. int deleteByPrimaryKey(List<String> asList);
  20. DemandManageDetailBo 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. List<AchievementDemandListBo> selectAchievementDemandListByDemandId(String id);
  26. void insertImport(List<DemandImportBo> data);
  27. DemandSearchDetailBo selectDemandSearchDetail(String uid, String id);
  28. int updateMatchAchievement(Demand d);
  29. Pagination<DemandPartnerListBo> lisePartnerDemand(String employerId, Integer pNo, Integer pSize);
  30. DemandPortalDetailBo findUserPortalDemandDetail(String id);
  31. DemandPortalDetailBo findOrgPortalDemandDetail(String id);
  32. List<DemandPortalSimilarListBo> findByIndustryCategoryA(Integer industryCategoryA, String id);
  33. int updateByPrimaryKeySelective(Demand d);
  34. DemandListBo selectDemandDetail( String id);
  35. Pagination<DemandSearchListBo> listAppDemand(Integer auditStatus, Integer serialNumber, String name, String keyword, Integer demandType,Integer industryCategoryA,
  36. String validityPeriodStartDate, String validityPeriodEndDate, Integer status, Integer releaseStatus,
  37. String releaseDateStartDate, String releaseDateEndDate,String employerId, Integer pNo, Integer pSize);
  38. Pagination<ObjectInterestListBo> selectinterest(Integer type,Integer pageNo, Integer pageSize);
  39. Pagination<DemandSearchListBo> listMyDemand(Integer pNo, Integer pSize);
  40. int saveAppUserDemand(Demand d, String validityPeriodFormattedDate, String[] keywords);
  41. Demand DemandFollowDetails(String id);
  42. //科技需求首页列表
  43. List<DemandListBo> recentDemand(int size);
  44. List<DemandListBo> companyDemand(int size);
  45. List<DemandListBo> getUrgentDemand(int size);
  46. List<DemandListBo> getHotDemand(int size);
  47. List<DemandListBo> areaDemand(int size);
  48. List<DemandListBo> proLearnStudyDemand(int size);
  49. List<DemandListBo> getFundCrowdDemand(int size);
  50. List<DemandListBo> getPersonnelDemand(int size);
  51. }