using Microsoft.Data.SqlClient;
using System.Data;
namespace RB_MES_API.Controllers
{
///
/// 直接SQL帮助类
///
public interface IKDSqlHelper
{
///
/// 获取多个结果集
///
///
///
///
///
public DataSet? GetDataSet(CommandType cmdType, string cmdText, SqlParameter[]? sqlParams, ref string? mess, bool KD = false);
///
/// 并返回由查询返回的结果集中第一行的第一列
///
///
///
///
///
public object? ExecuteScalar(CommandType cmdType, string cmdText, SqlParameter[] sqlParams, ref string? mess, bool KD = false);
///
/// 执行存储过程,并获得返回值
///
///
///
///
public Dictionary