using Central.Control.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MES.Production.Service.IService
{
///
/// 岗位用户关系业务接口
/// add 作者: 季健国 QQ:181589805 by 2016-09-08
///
public interface IPostUserManage:IRepository
{
///
/// 根据岗位ID获取人员集合,可传递多个岗位ID
///
List GetUserListByPostId(string postId);
///
/// 根据人员ID获取岗位集合,可传递多个
///
List GetPostListByUserId(string userId);
///
/// 添加岗位人员关系
///
/// 人员ID
/// 岗位ID集合
///
bool SavePostUser(int userId, string postId);
///
/// 根据岗位集合获取岗位名称,部门-岗位模式
///
dynamic GetPostNameBySysPostUser(ICollection collection);
}
}