Basf_TCC7/HJGL/BLL/Common/ConstValue.cs

29 lines
725 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BLL
{
public static class ConstValue
{
/// <summary>
/// 获取常量下拉框 根据常量组id
/// </summary>
/// <param name="groupId">常量组id</param>
/// <returns>常量集合</returns>
public static List<Model.Sys_Const> drpConstItemList(string groupId)
{
var list = (from x in Funs.DB.Sys_Const
where x.GroupId == groupId
orderby x.SortIndex
select x).ToList();
return list;
}
#region
#endregion
}
}