package com.goafanti.demand.service; import java.util.List; import com.goafanti.achievement.bo.AchievementDemandListBo; import com.goafanti.common.model.Demand; import com.goafanti.core.mybatis.page.Pagination; import com.goafanti.demand.bo.DemandImportBo; import com.goafanti.demand.bo.DemandListBo; import com.goafanti.demand.bo.DemandManageDetailBo; import com.goafanti.demand.bo.DemandPartnerListBo; import com.goafanti.demand.bo.ObjectInterestListBo; import com.goafanti.portal.bo.DemandPortalDetailBo; import com.goafanti.portal.bo.DemandPortalSimilarListBo; import com.goafanti.portal.bo.DemandSearchDetailBo; import com.goafanti.portal.bo.DemandSearchListBo; public interface DemandService { void saveUserDemand(Demand d, String validityPeriodFormattedDate, String[] keywords); int updateUserDemand(Demand d, String validityPeriodFormattedDate, String[] keywords, Integer switchSign); DemandManageDetailBo selectUserDemandDetail(String id); int deleteByPrimaryKey(List asList); DemandManageDetailBo selectOrgDemandDetail(String id); Demand selectByPrimaryKey(String id); int updateReleaseStatus(Demand d); int updateAuditDemand(Demand d, String techBroderId, Integer auditStatus); void saveDemand(Demand d, String validityPeriodFormattedDate, String keywords[],List webPages, List appPages); List selectAchievementDemandListByDemandId(String id); void insertImport(List data); DemandSearchDetailBo selectDemandSearchDetail(String uid, String id); int updateMatchAchievement(Demand d); Pagination lisePartnerDemand(String employerId, Integer pNo, Integer pSize); DemandPortalDetailBo findUserPortalDemandDetail(String id); DemandPortalDetailBo findOrgPortalDemandDetail(String id); List findByIndustryCategoryA(Integer industryCategoryA, String id); int updateByPrimaryKeySelective(Demand d); DemandListBo selectDemandDetail( String id); Pagination listAppDemand(Integer auditStatus, Integer serialNumber, String name, String keyword, Integer demandType,Integer industryCategoryA, String validityPeriodStartDate, String validityPeriodEndDate, Integer status, Integer releaseStatus, String releaseDateStartDate, String releaseDateEndDate,String employerId, Integer pNo, Integer pSize); Pagination selectinterest(Integer type,Integer pageNo, Integer pageSize); Pagination listMyDemand(Integer pNo, Integer pSize); int saveAppUserDemand(Demand d, String validityPeriodFormattedDate, String[] keywords); Demand DemandFollowDetails(String id); //科技需求首页列表 List recentDemand(int size); List companyDemand(int size); List getUrgentDemand(int size); List getHotDemand(int size); List areaDemand(int size); List proLearnStudyDemand(int size); List getFundCrowdDemand(int size); List getPersonnelDemand(int size); }