From b93f18e00ef41208a386993157ffd4f9dd0c8cce Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期一, 08 一月 2024 17:14:37 +0800
Subject: [PATCH] 版本升级

---
 Yw.Service.Run.Core/6-service/2-record/RunRealRecord.cs |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/Yw.Service.Run.Core/6-service/2-record/RunRealRecord.cs b/Yw.Service.Run.Core/6-service/2-record/RunRealRecord.cs
index 271214b..140cc1f 100644
--- a/Yw.Service.Run.Core/6-service/2-record/RunRealRecord.cs
+++ b/Yw.Service.Run.Core/6-service/2-record/RunRealRecord.cs
@@ -32,7 +32,7 @@
         /// <summary>
         /// 鑾峰彇鏈�鍚庝竴鏉¤褰�
         /// </summary>
-        public List<Model.RunRealRecord> GetLastRecord(List<KeyValuePair<string, long>> list)
+        public List<Model.RunRealRecord> GetLastRecord(List<(string, long)> list)
         {
             if (list == null || list.Count < 1)
             {
@@ -188,21 +188,21 @@
         /// <summary>
         /// 鎻掑叆鏈�鍚庝竴鏉�
         /// </summary>
-        public bool InsertLastRecord(Model.RunRealRecord model)
+        public bool InsertLastRecord(Model.RunRealRecord record)
         {
-            if (model == null)
+            if (record == null)
             {
                 return false;
             }
-            var bol = Insert(model);
+            var bol = Insert(record);
             if (bol)
             {
                 var redisCache = new RedisCache.RunRealLastRecordCacheHelper();
-                bol = redisCache.SetLastRecord(model);
+                bol = redisCache.SetLastRecord(record);
                 if (bol)
                 {
                     var runQueueHelper = new RabbitMqExChangeHelper();
-                    var msg = JsonHelper.Object2Json(new List<Model.RunRealRecord>() { model });
+                    var msg = JsonHelper.Object2Json(new List<Model.RunRealRecord>() { record });
                     bol = runQueueHelper.Push(RunParasHelper.Run.Run.ExchangeName, msg);
                 }
                 return bol;

--
Gitblit v1.9.3