package com.boman.report.service;

import com.alibaba.fastjson.JSONObject;
import com.boman.report.mapper.MysqlTableMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @author shiqian
 * @date 2021年08月31日 14:29
 **/
@Service
public class MysqlTableServiceImpl implements MysqlTableService {

    @Resource
    private MysqlTableMapper mysqlTableMapper;


    @Override
    public List<JSONObject> getColumnNames(String tableName, String dbName) {

        return mysqlTableMapper.getColumnNames(tableName, dbName);
    }
}
