package com.landtool.lanbase.modules.res.dao; import java.util.List; import java.util.Map; import org.apache.ibatis.annotations.Mapper; import com.landtool.lanbase.modules.res.entity.Res_Catalog; import com.landtool.lanbase.modules.res.entity.Res_MainInfo; import com.landtool.lanbase.modules.res.entity.UserDefined.CatlogJoinActionrecord; import org.apache.ibatis.annotations.Param; @Mapper public interface Res_CatalogMapper { int deleteByPrimaryKey(int catlogid); int insert(Res_Catalog record); int insertSelective(Res_Catalog record); Res_Catalog selectByPrimaryKey(Integer catlogid); List selectResCatalogToParentid(int parentid); Res_MainInfo selectResMainInfoToCatlogid(int Catlogid); int updateByPrimaryKeySelective(Res_Catalog record); int updateByPrimaryKey(Res_Catalog record); int selectResCatalogIsExistsSon(@Param("parentId") int parentId, @Param("spcStatus") String spcStatus); Res_Catalog getResCatalogInfoById(int catlogId); String getMaxOrderId(int id); String getMaxCATLOGCODE (int id); String getMaxId(); String getMinCATLOGCODE(int id); String getMinOrderId(int id); String getMaxOrderIdFromMainIndex(int id); String getMinOrderIdFromMainIndex(int id); String getMaxCATLOGCODEFromMainIndex(int id); String getMinCATLOGCODEFromMainIndex(int id); List selectFilterResCatalogToParentid(Res_MainInfo info); List getYWJCMuLuTree(int id); List SelectMuLuCount(Map map); List getMuLuTreeData(Map map); List getResourceClassTreeData(Map map); List getParentCatalogsById(int id); List selectMuLuZiYuanList(int parentId); int selectMuLuZiYuanCount(int parentId); List getMuLuTreeDataByResourceType(Map map); List selectResCatalogExistsSon(); }