public void AddIssuseInfo(Issuse_AddInfo info) { var manager = new LotteryGameManager(); if (manager.GetGameIssuse(string.Format("{0}|{1}", info.Game.GameCode, info.IssuseNumber)) == null) { manager.AddGameIssuse(new GameIssuse { CreateTime = DateTime.Now, GameCode = info.Game.GameCode, GameCode_IssuseNumber = string.Format("{0}|{1}", info.Game.GameCode, info.IssuseNumber), GatewayStopTime = info.GatewayStopTime, IssuseNumber = info.IssuseNumber, LocalStopTime = info.LocalStopTime, OfficialStopTime = info.OfficialStopTime, StartTime = info.StartTime, Status = info.Status, }); } }