Пример #1
0
        //返回用户对应的商店id
        int getStoreid(int wid)
        {
            int id = 0;

            BLL.wx_ucard_store           storeBll = new BLL.wx_ucard_store();
            IList <Model.wx_ucard_store> usList   = storeBll.GetModelList(" wid='" + wid + "' order by createDate desc,id desc");

            if (usList != null && usList.Count > 0)
            {
                id = usList[0].id;
            }
            return(id);
        }