package org.dromara.generator.mapper; import com.baomidou.dynamic.datasource.annotation.DS; import com.baomidou.mybatisplus.annotation.InterceptorIgnore; import org.dromara.common.mybatis.core.mapper.BaseMapperPlus; import org.dromara.generator.domain.GenTableColumn; import java.util.List; /** * 业务字段 数据层 * * @author Lion Li */ @InterceptorIgnore(dataPermission = "true", tenantLine = "true") public interface GenTableColumnMapper extends BaseMapperPlus { /** * 根据表名称查询列信息 * * @param tableName 表名称 * @param dataName 数据源名称 * @return 列信息 */ @DS("#dataName") List selectDbTableColumnsByName(String tableName, String dataName); }