Ejemplo n.º 1
0
        /// <summary>
        /// 根据用户编号集合获取用户信息
        /// </summary>
        /// <param name="context"></param>
        public void User_ByUserIDs_List(HttpContext context)
        {
            IES.JW.Model.User model = new IES.JW.Model.User
            {
                UserIDS = context.Request["UserIDS"]
            };
            IES.G2S.JW.BLL.UserBLL   userbll = new IES.G2S.JW.BLL.UserBLL();
            List <IES.JW.Model.User> list    = userbll.User_ByUserIDs_List(model);

            if (list != null)
            {
                context.Response.Write(Newtonsoft.Json.JsonConvert.SerializeObject(list));
            }
            else
            {
                context.Response.Write("False");
            }
        }
Ejemplo n.º 2
0
 /// <summary>
 /// 根据用户编号集合获取用户信息
 /// </summary>
 /// <param name="context"></param>
 public void User_ByUserIDs_List(HttpContext context)
 {
     IES.JW.Model.User model = new IES.JW.Model.User
     {
         UserIDS = context.Request["UserIDS"]
     };
     IES.G2S.JW.BLL.UserBLL userbll = new IES.G2S.JW.BLL.UserBLL();
     List<IES.JW.Model.User> list = userbll.User_ByUserIDs_List(model);
     if (list != null)
     {
         context.Response.Write(Newtonsoft.Json.JsonConvert.SerializeObject(list));
     }
     else
     {
         context.Response.Write("False");
     }
 }