public static async void SaveRoadAllInfo(MapUnit mapUnit, long teamId, bool saveRideRoadInfos = true, bool saveRideTotalInfos = true)
        {
            if (mapUnit == null)
            {
                Log.Error("SaveRoadAllInfo Failed, mapUnit == null");
                return;
            }

            if (mapUnit.MapUnitType == MapUnitType.Npc)
            {
                return;
            }

            var roadInfo      = mapUnit.CreateRideRecord(teamId);
            var roadTotalInfo = mapUnit.CreateRideTotalInfo();
            var user          = await UserDataHelper.FindOneUser(mapUnit.Uid);

            BsonDocument log = null;

            if (saveRideRoadInfos)
            {
                SaveRideRoadInfos(roadInfo);
            }
            if (saveRideTotalInfos)
            {
                SaveRideTotalInfo(user, roadTotalInfo, out log);
            }
            SaveUserAndBroadcastTarget(mapUnit, user, log);
        }