Exemple #1
0
    private void GetQyWxPtVsUserList()    //微信平台和用户的关系 必须带有MerId否则无意义
    {
        StringBuilder s = new StringBuilder();

        BLL.WxBLL wbll = new BLL.WxBLL();

        decimal QyWxPtId    = ReDecimal("QyWxPtId", 0);
        string  UserIdStr   = ReStr("UserIdStr", "");
        int     CurrentPage = ReInt("CurrentPage", 1);
        decimal MerId       = ReDecimal("MerId");

        s.Append(" 1=1 ");
        if (UserIdStr != "")
        {
            s.Append(" and UserId like='%" + UserIdStr + "%'  ");
        }

        s.Append(" and MerId=" + MerId + " ");
        DataSet ds = wbll.GetQyWxPtVsUserList(s.ToString(), " UserId desc ", CurrentPage, 20, " * ");

        RePage2(ds);
    }