Ejemplo n.º 1
0
        /// <summary>
        /// 代理商门店显示
        /// 负责人:xhr
        /// </summary>
        /// <param name="shopName"></param>
        /// <param name="pId"></param>
        /// <param name="cId"></param>
        /// <param name="aId"></param>
        /// <param name="channelGroupID"></param>
        /// <param name="page"></param>
        /// <param name="pageSize"></param>
        /// <param name="status"></param>
        /// <param name="statusXs"></param>
        /// <returns></returns>
        public JsonResult AgentGetList(string shopName = "", int pId = -1, int cId = -1, int aId = -1, int channelGroupID = -1, int page = 1, int pageSize = 1, int status = -1, int statusXs = 1, string rphone = "", int AgentID = 0)
        {
            ShopInfoViewBll shopBll      = new ShopInfoViewBll();
            string          EnterpriseID = LoginUser.UserBasic.EnterpriseID;

            return(Json(shopBll.GetList(shopName, pId, cId, aId, channelGroupID, page, pageSize, status, 2, EnterpriseID, statusXs, rphone, AgentID), JsonRequestBehavior.AllowGet));
        }
Ejemplo n.º 2
0
        /// <summary>
        /// 代理商门店列表
        /// 负责人:谢海荣
        /// </summary>
        /// <param name="shopName"></param>
        /// <param name="pId"></param>
        /// <param name="cId"></param>
        /// <param name="aId"></param>
        /// <param name="ChannelID"></param>
        /// <param name="page"></param>
        /// <param name="pageSize"></param>
        /// <param name="ShopInfoStatus"></param>
        /// <param name="rphone"></param>
        /// <returns></returns>
        public JsonResult GetList(string shopName = "", int pId = -1, int cId = -1, int aId = -1, int ChannelID = -1, int page = 1, int pageSize = 1, int ShopInfoStatus = -1, string rphone = "")
        {
            ShopInfoViewBll shopBll      = new ShopInfoViewBll();
            string          EnterpriseID = AgentLoginUser.UserBasic.EnterpriseID;

            return(Json(shopBll.GetList(shopName, pId, cId, aId, ChannelID, page, pageSize, ShopInfoStatus, 2, EnterpriseID, 3, rphone, AgentLoginUser.RoleID), JsonRequestBehavior.AllowGet));
        }
Ejemplo n.º 3
0
 /// <summary>
 /// 代理商门店列表
 /// 负责人:谢海荣
 /// </summary>
 /// <param name="shopName"></param>
 /// <param name="pId"></param>
 /// <param name="cId"></param>
 /// <param name="aId"></param>
 /// <param name="ChannelID"></param>
 /// <param name="page"></param>
 /// <param name="pageSize"></param>
 /// <param name="ShopInfoStatus"></param>
 /// <param name="rphone"></param>
 /// <returns></returns>
 public JsonResult GetList(string shopName = "", int pId = -1, int cId = -1, int aId = -1, int ChannelID = -1, int page = 1, int pageSize = 1, int ShopInfoStatus = -1, string rphone = "")
 {
     ShopInfoViewBll shopBll = new ShopInfoViewBll();
     string EnterpriseID = AgentLoginUser.UserBasic.EnterpriseID;
     return Json(shopBll.GetList(shopName, pId, cId, aId, ChannelID, page, pageSize, ShopInfoStatus, 2, EnterpriseID, 3, rphone, AgentLoginUser.RoleID), JsonRequestBehavior.AllowGet);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// 代理商门店显示
 /// 负责人:xhr
 /// </summary>
 /// <param name="shopName"></param>
 /// <param name="pId"></param>
 /// <param name="cId"></param>
 /// <param name="aId"></param>
 /// <param name="channelGroupID"></param>
 /// <param name="page"></param>
 /// <param name="pageSize"></param>
 /// <param name="status"></param>
 /// <param name="statusXs"></param>
 /// <returns></returns>
 public JsonResult AgentGetList(string shopName = "", int pId = -1, int cId = -1, int aId = -1, int channelGroupID = -1, int page = 1, int pageSize = 1, int status = -1, int statusXs = 1, string rphone = "", int AgentID = 0)
 {
     ShopInfoViewBll shopBll = new ShopInfoViewBll();
     string EnterpriseID = LoginUser.UserBasic.EnterpriseID;
     return Json(shopBll.GetList(shopName, pId, cId, aId, channelGroupID, page, pageSize, status, 2, EnterpriseID, statusXs, rphone, AgentID), JsonRequestBehavior.AllowGet);
 }