package com.gxwebsoft.cms.mapper;

import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gxwebsoft.cms.entity.CmsAppField;
import com.gxwebsoft.cms.param.CmsAppFieldParam;
import org.apache.ibatis.annotations.Param;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 应用参数Mapper
 *
 * @author 科技小王子
 * @since 2024-09-10 20:36:14
 */
public interface CmsAppFieldMapper extends BaseMapper<CmsAppField> {

    /**
     * 分页查询
     *
     * @param page  分页对象
     * @param param 查询参数
     * @return List<CmsAppField>
     */
    List<CmsAppField> selectPageRel(@Param("page") IPage<CmsAppField> page,
                             @Param("param") CmsAppFieldParam param);

    /**
     * 查询全部
     *
     * @param param 查询参数
     * @return List<User>
     */
    List<CmsAppField> selectListRel(@Param("param") CmsAppFieldParam param);


    @InterceptorIgnore(tenantLine = "true")
    List<CmsAppField> selectListAllRel(@Param("param") CmsAppFieldParam param);

}
