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); } }
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)); }