package com.xcong.farmer.cms.modules.system.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.xcong.farmer.cms.modules.system.entity.ColumnEntity; import com.xcong.farmer.cms.modules.system.vo.AdminColumnVo; import com.xcong.farmer.cms.modules.system.vo.WebColumnVo; import org.apache.ibatis.annotations.Param; import java.util.List; public interface ColumnMapper extends BaseMapper { IPage selectAdminColumnVoInPage(Page page, @Param("record") ColumnEntity columnEntity); List selectColumnInListByParentId(@Param("parentId") Long parentidDefault, @Param("companyId") Long companyId); ColumnEntity selectByCodeAndCompanyId(@Param("code") String code, @Param("companyId") Long companyId); List selectColumnByParentId(@Param("parentId") Long parentId, @Param("companyId") Long companyId, @Param("isNav") Integer isNav); IPage selectColumnInPage(Page page, @Param("record") ColumnEntity column); List selectWebColumnInListByParentId(@Param("parentId") Long parentidDefault, @Param("companyId") Long companyId); List selectColumnIdsByParentId(@Param("parentId") Long parentId, @Param("companyId") Long companyId); }