JtBusinessService.java 1.6 KB

12345678910111213141516171819202122232425262728293031
  1. package com.goafanti.business.service;
  2. import java.util.List;
  3. import com.goafanti.business.bo.JtBusinessCategoryBo;
  4. import com.goafanti.business.bo.JtBusinessCategoryTree;
  5. import com.goafanti.business.bo.JtBusinessProjectResult;
  6. import com.goafanti.common.model.JtBusinessCategory;
  7. import com.goafanti.common.model.JtBusinessProject;
  8. import com.goafanti.core.mybatis.page.Pagination;
  9. public interface JtBusinessService {
  10. JtBusinessCategory getBusinessCategoryByLayerAndName(Integer layer,String name);
  11. List<JtBusinessCategory> getBusinessCategoryBySuperId(String id,Integer size);
  12. List<JtBusinessProject>getBusinessProjectByCategoryId(String id,Integer size,Integer isHot);
  13. JtBusinessProjectResult getBusinessProjectDetail(String id);
  14. JtBusinessCategoryTree getCategoryTree(String id);
  15. List<JtBusinessCategoryBo>getCategoryBoList(Integer module);
  16. Pagination<JtBusinessProjectResult>getProjects(String topId,String secondId,String name,Integer pageSize,Integer pageNo,Integer privateProject,Integer auditStatus,Integer module,Integer isHot,Integer orderType,Integer orderSort,String ownerId);
  17. int insertCategory(JtBusinessCategory jtBusinessCategory);
  18. int deleteCategoryById(String id);
  19. JtBusinessCategory getCategoryById(String id);
  20. int updateCategory(JtBusinessCategory jtBusinessCategory);
  21. int insertProject(JtBusinessProject jtBusinessProject);
  22. int deleteProjectById(String id);
  23. int updateProject(JtBusinessProject jtBusinessProject);
  24. List<JtBusinessProject>getProjectsLimit(Integer size);
  25. int deleteByIdAndUid(String id);
  26. Pagination<JtBusinessProject>listProjectIInterestedIn(Integer pageNo,Integer pageSize);
  27. }