SysCustomFieldMapper.java 1.1 KB
package com.skua.modules.system.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.skua.modules.system.entity.SysCustomField;
import com.skua.modules.system.entity.SysCustomTable;

/**
 * 字段维护mapper
 * @author liyy
 *
 */
public interface SysCustomFieldMapper extends BaseMapper<SysCustomField> {
	/**
	 * 字段同步mapper
	 * @param sysCustomTable
	 */
	public void syncSysCustomField(SysCustomTable sysCustomTable);
	/**
	 * 获取列表页表头字段
	 * @param sysCustomTable
	 * @return
	 */
	public List<SysCustomField> queryListPageHeadField(SysCustomTable sysCustomTable);
	/**
	 * 获取表单页字段
	 * @param sysCustomTable
	 * @return
	 */
	public List<SysCustomField> queryModelPageField(SysCustomTable sysCustomTable);
	
	/**
	 * 获取excel导出字段
	 * @param sysCustomTable
	 * @return
	 */
	public List<SysCustomField> queryExportField(SysCustomTable sysCustomTable);
	/**
	 * 获取所有字典类型的字段
	 * @param sysCustomTable
	 * @return
	 */
	public List<SysCustomField> queryDictField(SysCustomTable sysCustomTable);
}