TG.WXCRM.V4/DAL/Yun/YUN_UPGRADEVERSION_DAL.cs

30 lines
763 B
C#

using System;
using System.Data;
using System.Data.OracleClient;
namespace WX.CRM.DAL.Yun
{
/// <summary>
///检查版本升级
/// </summary>
public class YUN_UPGRADEVERSION_DAL
{
public DataTable YunVersionGet()
{
try
{
OracleParameter[] p = new[]
{
new OracleParameter{ParameterName = "v_data",OracleType = OracleType.Cursor,Direction = ParameterDirection.Output}
};
var ds = OracleHelper.DataQueray(CommandType.StoredProcedure, "PACK_YUN.GetYunVersion", p);
return ds.Tables[0];
}
catch (Exception e)
{
throw;
}
}
}
}