DemandMapper.java 2.3 KB

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