Esempio n. 1
0
        private void Member_list()
        {
            MemberBLL    member = new MemberBLL();
            MemberEntity entity = new MemberEntity();

            entity.MemberName = Request["MemberName"];
            int count = 0;
            List <MemberEntity> list = member.list(entity, int.Parse(Request["PageInt"]), int.Parse(Request["PageSize"]), out count);

            Response.Write(count + "||" + MyJson.ToJsJson(list));
            Response.End();
        }
Esempio n. 2
0
        private void User_list()
        {
            MyUserBLL    myUserBLL  = new MyUserBLL();
            MyUserEntity userEntity = new MyUserEntity();

            userEntity.UserAccount  = Request["UserAccount"];
            userEntity.UserRealName = Request["UserRealName"];
            int count = 0;
            List <MyUserEntity> list = myUserBLL.list(userEntity, int.Parse(Request["PageInt"]), int.Parse(Request["PageSize"]), out count);

            Response.Write(count + "||" + MyJson.ToJsJson(list));
            Response.End();
        }
Esempio n. 3
0
        private void Order_list()
        {
            MyOrderBLL orderBLL = new MyOrderBLL();
            string     date     = "";

            if (!string.IsNullOrWhiteSpace(Request["startdate"]) || !string.IsNullOrWhiteSpace(Request["enddate"]))
            {
                date = Request["startdate"] + "," + Request["enddate"];
            }
            MyOrderEntity orderEntity = new MyOrderEntity();
            int           count       = 0;

            orderEntity.OrderStatus = Convert.ToInt32(Request["OrderStatus"]);
            List <MyOrderEntity> list = orderBLL.list(date, orderEntity, int.Parse(Request["PageInt"]), int.Parse(Request["Pagesize"]), out count);

            Response.Write(count + "||" + MyJson.ToJsJson(list));
            Response.End();
        }