Server/IStation.Server.SZJTKT/helper/RequestReceivedHelper.cs
@@ -52,6 +52,7 @@ var byteCount = allBytes.Count() - prefixLength; var count = (byteCount / dataCount); var recordCount = 0; for (int i = 0; i < count; i++) { var bytes = allBytes.Skip(prefixLength + (i * dataCount)).Take(dataCount).ToArray(); @@ -68,11 +69,13 @@ } else { recordCount += list.Count; LogHelper.Info($"成功插入{list.Count()}条数据!"); } } } LogHelper.Info($"共插入{recordCount}条数据!"); } );