package com.landtool.lanbase.modules.res.service; import java.util.List; import java.util.Map; import com.landtool.lanbase.modules.res.entity.Res_MainInfo; import com.landtool.lanbase.modules.res.entity.Res_QueryAround; import com.landtool.lanbase.modules.res.entity.UserDefined.MainInfoJoinAudit; import com.landtool.lanbase.modules.res.entity.UserDefined.MainInfoJoinJcdt; import com.landtool.lanbase.modules.res.entity.ZiYuanTongJi.GroupByDanWei; import com.landtool.lanbase.modules.res.entity.ZiYuanTongJi.GroupByDataSources; import com.landtool.lanbase.modules.res.entity.ZiYuanTongJi.GroupByGongXiangXieYi; import com.landtool.lanbase.modules.res.entity.ZiYuanTongJi.GroupByMuLu; import com.landtool.lanbase.modules.res.entity.ZiYuanTongJi.GroupByPubDate; import com.landtool.lanbase.modules.res.entity.ZiYuanTongJi.GroupByXingZhengQuHua; import com.landtool.lanbase.modules.res.entity.ZiYuanTongJi.GroupByZiYuanLeiXing; /** * @Date: 2018-03-02 14:10 * @param * @Description:ResMainInfo表服务层接口 * */ public interface ResMainInfoService { int insertSelective(Res_MainInfo record); Res_MainInfo selectByPrimaryKey(int id); List selectResMainInfojoinCatalog(Res_MainInfo resMainInfo); List selectResMainInfoFangWenPaiHang(Res_MainInfo resMainInfo); Integer selectResMainInfojoinCatalogCount(Res_MainInfo resMainInfo); List selectResMainInfojoinAudit(Res_MainInfo resMainInfo); Integer selectResMainInfojoinAuditCount(Res_MainInfo resMainInfo); List selectZyByMuLuId(int muluid); int updateByPrimaryKeySelective(Res_MainInfo record); int deleteByPrimaryKey(int resourceid); List getAll(); List selectResMainInfo(Res_MainInfo model); List selectZTDTList(Map map); List selectTwtcForZiYuan(Res_MainInfo resMainInfoTWO); List getYWJCTreeData(Res_MainInfo resMainInfoTWO); int selectZTDTCount(String leixiId); int queryResMainInfoIdentCurrent(); List selectDATASOURCES(); List selectJcdtList(MainInfoJoinJcdt model); List selectAllOrderByTime(); int insertHotSearch(String key); String selectHotSearch(String key); int updateHotSearch(String key); List selectTopHotSearch(); List selectResMainInfoGroupByLeiXing(); List selectResMainInfoGroupByDataSources(); List selectResMainInfoGroupByMuLu(); List selectResMainInfoGroupByPubDate(int year); List selectResMainInfoGroupByGongXiangXieYi(); List selectResMainInfoGroupByXingZhengQuHua(); List selectResMainInfoGroupByDanWei(); String selectshenheCount(); String selectshenqingCount(); String selectShoucangCount(int Id); String selectZhituCount(int Id); /** * 获取 N 条最新资源 */ // List getTopList(Integer num,String isDiTuFuwu); List selectTiTle(Res_MainInfo resMainInfo); int ZiYuanZhouBianGuanLianAdd(Res_QueryAround res_queryAround); int ZiYuanZhouBianGuanLianDelete(Res_QueryAround res_queryAround); // List selectMainInfoByYWTC(Res_MainInfo resMainInfo); int checkZiYuanQuanXian(Map map); List selectAllMainInfo(Res_MainInfo resMainInfo); Integer updateStatusByPrimaryKey(Map map); List pingyin(String keyWord); List getListByMap(Map map); Integer getAllTotal(); int getCountByResourceClass(String key); Integer getCountByresCatalogId(Map map); int getCountBySpcName(List childrenNames); Map queryForApply(Map param); }