/// <summary> /// 根据部门id集合得到对应人员 /// </summary> /// <param name="departids"></param> /// <returns></returns> public static IList <LoginInfo> getLoginInfoBydepatids(string departids) { string sql = "select * from LoginInfo where DepartId in (" + departids + ")"; return(LoginInfoService.getLoginInfosBySql(sql)); }
public static IList <LoginInfo> getLoginInfoByDeptId(int departid) { string sql = "select * from LoginInfo where DepartId=" + departid + ""; return(LoginInfoService.getLoginInfosBySql(sql)); }