24 lines
593 B
C#
24 lines
593 B
C#
using CRM.Core.Model.Entity;
|
|
using System.Linq;
|
|
|
|
namespace CRM.Core.BLL.Base
|
|
{
|
|
public class BAS_INNERUSERGROUP_BL
|
|
{
|
|
#region 获取实体
|
|
/// <summary>
|
|
/// 获取实体
|
|
/// </summary>
|
|
/// <param name="inneruserId"></param>
|
|
/// <returns></returns>
|
|
public BAS_INNERUSERGROUP GetModel(decimal inneruserId)
|
|
{
|
|
using (zxdContext db = new zxdContext())
|
|
{
|
|
return db.BAS_INNERUSERGROUP.FirstOrDefault(m => m.INNERUSERID == inneruserId);
|
|
}
|
|
}
|
|
#endregion
|
|
}
|
|
}
|