/// <summary> /// 新增一条赠送经验记录 /// </summary> /// <param name="grantExperience"></param> public int InsertRecordUserRoomCard(RecordGrantRoomCard grantroomcard) { string sql = string.Format("INSERT INTO [dbo].[RecordGrantRoomCard]([MasterID],[ClientIP],[CollectDate],[UserID],[CurRoomCard],[AddRoomCard],[Reason]) VALUES({0},'{1}','{2}',{3},{4},{5},'{6}')", grantroomcard.MasterID, grantroomcard.ClientIP, DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"), grantroomcard.UserID, grantroomcard.CurRoomCard, grantroomcard.AddRoomCard, grantroomcard.Reason); return(Database.ExecuteNonQuery(sql)); }
/// <summary> /// 写入房卡赠送记录 /// </summary> public int InsertRecordUserRoomCard(RecordGrantRoomCard grantroomcard) { return(aideRecordData.InsertRecordUserRoomCard(grantroomcard)); }