/// <summary> /// 注册方法 /// </summary> /// <param name="m">数据</param> /// <returns></returns> public int GetDoctorAdd(DoctorLog_Model m) { string sql = GetHelper.GetAddSql(m, "id"); int h = helper.ExceuteNonQuery(sql); return(h); }
/// <summary> /// 添加表方法 /// </summary> /// <typeparam name="T"></typeparam> /// <param name="dt"></param> /// <param name="key"></param> /// <returns></returns> public int GetAddTable <T>(T dt, string key) { string sql = GetHelper.GetAddSql <T>(dt, key); return(helper.ExceuteNonQuery(sql)); }