| | |
| | | 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.CmsTemplateEntity; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | public interface CmsTemplateMapper extends BaseMapper<CmsTemplateEntity> { |
| | | |
| | | IPage<CmsTemplateEntity> selectInPage(IPage<CmsTemplateEntity> page, @Param("record") CmsTemplateEntity cmsTemplateEntity); |
| | | |
| | | int delete(@Param("id") Long id, @Param("companyId") Long companyId); |
| | | |
| | | CmsTemplateEntity selectByIdAndCompanyId(@Param("id") Long id, @Param("companyId") Long companyId); |
| | | } |