package com.goafanti.business.service; import java.util.List; import java.util.Map; import com.goafanti.business.bo.JtBusinessCategoryBo; import com.goafanti.business.bo.JtBusinessCategoryTree; import com.goafanti.business.bo.JtBusinessProjectResult; import com.goafanti.business.bo.makeMoneyCategoryListBo; import com.goafanti.common.bo.MyCollection; import com.goafanti.common.model.JtBusinessCategory; import com.goafanti.common.model.JtBusinessProject; import com.goafanti.core.mybatis.page.Pagination; public interface JtBusinessService { JtBusinessCategory getBusinessCategoryByLayerAndName(Integer layer,String name); List getBusinessCategoryBySuperId(String id,Integer size); ListgetBusinessProjectByCategoryId(String id,Integer size,Integer isHot); JtBusinessProjectResult getBusinessProjectDetail(String id); JtBusinessCategoryTree getCategoryTree(String id); ListgetCategoryBoList(Integer module); PaginationgetProjects(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); int insertCategory(JtBusinessCategory jtBusinessCategory); int deleteCategoryById(String id); JtBusinessCategory getCategoryById(String id); int updateCategory(JtBusinessCategory jtBusinessCategory); int insertProject(JtBusinessProject jtBusinessProject); int deleteProjectById(String id); int updateProject(JtBusinessProject jtBusinessProject); ListgetProjectsLimit(Integer size); int deleteByIdAndUid(String id); PaginationlistProjectIInterestedIn(Integer pageNo,Integer pageSize); Pagination myCollectionProject(Integer pageNo, Integer pageSize); List makeMoneyCategoryList(); Pagination recommendedApplication( Integer type,Integer pageNo, Integer pageSize); /** * 获得某模块的所有业务数据 * @param module * @return */ List getCategoryByModule(Integer module); }