Пример #1
0
        public void SaveWxPtGroupVsUser(Model.QyWxPtVsUserModel model)
        {
            DAL.QyWxPtVsUserDAL dal = new DAL.QyWxPtVsUserDAL();
            int i = dal.ExInt(" UserId='" + model.UserId + "' and QyWxPtId='" + model.QyWxPtId + "'  ");

            if (i > 0)
            {
                dal.Update(model);
            }
            else
            {
                dal.Add(model);
            }
        }
Пример #2
0
 public DataSet GetQyWxPtVsUserList(string strWhere, string Order, int currentpage, int pagesize, string col)
 {
     DAL.QyWxPtVsUserDAL dal = new DAL.QyWxPtVsUserDAL();
     return(dal.GetPageList(strWhere, Order, currentpage, pagesize, col));
 }