37 lines
960 B
C#
37 lines
960 B
C#
using CRM.Core.Model;
|
|
using MySql.Data.MySqlClient;
|
|
using System;
|
|
using System.Data;
|
|
|
|
namespace CRM.Core.DAL.Yun
|
|
{
|
|
public class Yun_UPGradeVersion_Dal
|
|
{
|
|
public DataTable YunVersionGet()
|
|
{
|
|
try
|
|
{
|
|
MySqlParameter[] p = null;
|
|
var ds = MySqlDbHelper.DataQueray(ConStringHelper.ZxdCRMConn, CommandType.StoredProcedure, "GetYunVersion", p);
|
|
return ds.Tables[0];
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
throw;
|
|
}
|
|
}
|
|
public DataTable YunSettingGet()
|
|
{
|
|
try
|
|
{
|
|
MySqlParameter[] p = null;
|
|
var ds = MySqlDbHelper.DataQueray(ConStringHelper.ZxdCRMConn, CommandType.StoredProcedure, "GetSetting", p);
|
|
return ds.Tables[0];
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
throw;
|
|
}
|
|
}
|
|
}
|
|
} |