DemandMapper.java 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. package com.goafanti.common.dao;
  2. import java.util.List;
  3. import org.apache.ibatis.annotations.Param;
  4. import com.goafanti.common.model.Demand;
  5. import com.goafanti.demand.bo.DemandDetailBo;
  6. import com.goafanti.demand.bo.DemandListBo;
  7. import com.goafanti.demand.bo.DemandRecommended;
  8. import com.goafanti.portal.bo.DemandPortalDetailBo;
  9. import com.goafanti.portal.bo.DemandPortalSimilarListBo;
  10. import com.goafanti.portal.bo.DemandSearchDetailBo;
  11. public interface DemandMapper {
  12. int deleteByPrimaryKey(String id);
  13. int insert(Demand record);
  14. int insertSelective(Demand record);
  15. Demand selectByPrimaryKey(String id);
  16. int updateByPrimaryKeySelective(Demand record);
  17. int updateByPrimaryKey(Demand record);
  18. DemandDetailBo selectUserDemandDetail(String id);
  19. int batchDeleteByPrimaryKey(List<String> id);
  20. DemandDetailBo selectOrgDemandDetail(String id);
  21. int updateReleaseDate(String id);
  22. void insertBatch(List<Demand> demandList);
  23. DemandSearchDetailBo selectDemandSearchDetail(String uid, String id);
  24. Integer findDemandNumByUid(String uid);
  25. DemandPortalDetailBo findOrgPortalDemandDetail(@Param("id")String id, @Param("uid")String uid);
  26. DemandPortalDetailBo findUserPortalDemandDetail(@Param("id")String id, @Param("uid")String uid);
  27. List<DemandPortalSimilarListBo> findByIndustryCategoryA(@Param("industryCategoryA") Integer industryCategoryA,
  28. @Param("id") String id);
  29. int updateEmployerId(String id);
  30. int countInterest(String demandId);
  31. DemandDetailBo selectDemandDetail(String id);
  32. DemandListBo selectAppByPrimaryKey(String id);
  33. List<DemandRecommended> getAppHomeRecommended();
  34. Demand selectDemandFollow(String id);
  35. List<DemandListBo> selectRecentDemand(int size);
  36. List<DemandListBo> selectCompanyDemand(int size);
  37. List<DemandListBo> getUrgentDemand(int size);
  38. List<DemandListBo> getHotDemand(int size);
  39. List<DemandListBo> getAreaDemand(int size);
  40. List<DemandListBo> getProLearnStudyDemand(int size);
  41. List<DemandListBo> getFundCrowdDemand(int size);
  42. List<DemandListBo> getPersonnelDemand(int size);
  43. }