天津投入产出系统后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

83 lines
2.0 KiB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QMFrameWork.Data;
using QMAPP.Entity.Sys;
using QMAPP.DAL.Sys;
using System.Collections;
namespace QMAPP.BLL.Sys
{
/// 用户组织机构信息管理
/// 创建者:郭佳伟
/// 创建日期:2013.7.2
public class UserOrgaizationManageBLL : BaseBLL
{
#region 获取用户信息列表
/// <summary>
/// 获取用户与组织机构信息列表
/// </summary>
/// <param name="condition">条件</param>
/// <param name="page">数据页</param>
/// <returns>数据页</returns>
public DataPage GetList(User condition, DataPage page)
{
try
{
return new UserOrgaizationManageDAL().GetList(condition, page);
}
catch (Exception ex)
{
throw ex;
}
}
#endregion
#region 获取用户与组织机构信息
/// <summary>
/// 获取用户与组织机构信息
/// </summary>
/// <param name="user">条件</param>
/// <returns>用户信息</returns>
public User Get(User user)
{
try
{
return new UserOrgaizationManageDAL().Get(user);
}
catch (Exception ex)
{
throw ex;
}
}
#endregion
#region 更新用户与组织机构信息
/// <summary>
/// 更新用户与组织机构信息
/// </summary>
/// <param name="user">用户信息信息</param>
/// <returns>更新个数</returns>
public int Update(UserOrgaization orga)
{
try
{
return new UserOrgaizationManageDAL().Update(orga);
}
catch (Exception ex)
{
throw ex;
}
}
#endregion
}
}