package com.chinacreator.process.dao;

import com.chinacreator.process.util.DataSource;
import com.frameworkset.common.poolman.SQLExecutor;
import org.springframework.stereotype.Component;

import java.sql.SQLException;

@Component
public class KafkaMusicDao {
    public String queryValue(String kafkaMusic) throws SQLException {
        String sql="select value from TB_DICTIONRY_INFO where name= ? ";
        return SQLExecutor.queryFieldWithDBName(DataSource.NET3G,sql,kafkaMusic);
    }
}
