JtBusinessService.java 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. package com.goafanti.business.service;
  2. import java.util.List;
  3. import java.util.Map;
  4. import com.goafanti.business.bo.JtBusinessCategoryBo;
  5. import com.goafanti.business.bo.JtBusinessCategoryTree;
  6. import com.goafanti.business.bo.JtBusinessProjectResult;
  7. import com.goafanti.business.bo.makeMoneyCategoryListBo;
  8. import com.goafanti.common.bo.MyCollection;
  9. import com.goafanti.common.model.JtBusinessCategory;
  10. import com.goafanti.common.model.JtBusinessProject;
  11. import com.goafanti.core.mybatis.page.Pagination;
  12. public interface JtBusinessService {
  13. JtBusinessCategory getBusinessCategoryByLayerAndName(Integer layer,String name);
  14. List<JtBusinessCategory> getBusinessCategoryBySuperId(String id,Integer size);
  15. List<JtBusinessProject>getBusinessProjectByCategoryId(String id,Integer size,Integer isHot);
  16. JtBusinessProjectResult getBusinessProjectDetail(String id);
  17. JtBusinessCategoryTree getCategoryTree(String id);
  18. List<JtBusinessCategoryBo>getCategoryBoList(Integer module);
  19. Pagination<JtBusinessProjectResult>getProjects(String tag,String topId,String secondId,String name, Integer pageSize,Integer pageNo,Integer privateProject,Integer auditStatus,Integer module,Integer isHot,Integer orderType,Integer orderSort,String ownerId);
  20. int insertCategory(JtBusinessCategory jtBusinessCategory);
  21. int deleteCategoryById(String id);
  22. JtBusinessCategory getCategoryById(String id);
  23. int updateCategory(JtBusinessCategory jtBusinessCategory);
  24. int insertProject(JtBusinessProject jtBusinessProject);
  25. int deleteProjectById(String id);
  26. int updateProject(JtBusinessProject jtBusinessProject);
  27. List<JtBusinessProject>getProjectsLimit(Integer size);
  28. int deleteByIdAndUid(String id);
  29. Pagination<JtBusinessProject>listProjectIInterestedIn(Integer pageNo,Integer pageSize);
  30. Pagination<MyCollection> myCollectionProject(Integer pageNo, Integer pageSize);
  31. List<makeMoneyCategoryListBo> makeMoneyCategoryList();
  32. Pagination<MyCollection> recommendedApplication( Integer type,Integer pageNo, Integer pageSize);
  33. /**
  34. * 获得某模块的所有业务数据
  35. * @param module
  36. * @return
  37. */
  38. List<JtBusinessCategory> getCategoryByModule(Integer module);
  39. }