using LeaRun.Application.Entity.AuthorizeManage;
using LeaRun.Application.IService.AuthorizeManage;
using LeaRun.Application.Service.AuthorizeManage;
namespace LeaRun.Application.Busines.AuthorizeManage
{
///
/// 版 本 6.1
/// Copyright (c) 2013-2016 上海力软信息技术有限公司
/// 创建人:陈彬彬
/// 日 期:2016.04.14 09:16
/// 描 述:系统表单实例
///
public class ModuleFormInstanceBLL
{
private IModuleFormInstanceService server = new ModuleFormInstanceService();
#region 获取数据
///
/// 获取一个实体类
///
///
///
public ModuleFormInstanceEntity GetEntityByObjectId(string objectId)
{
try
{
if (!string.IsNullOrEmpty(objectId))
{
return server.GetEntityByObjectId(objectId);
}
else
{
return null;
}
}
catch
{
throw;
}
}
#endregion
#region 提交数据
///
/// 保存一个实体
///
///
///
///
public int SaveEntity(string keyValue, ModuleFormInstanceEntity entity)
{
try
{
return server.SaveEntity(keyValue,entity);
}
catch
{
throw;
}
}
#endregion
}
}