From a07363c14860914c2a522ad83c2e10413e1fd2f4 Mon Sep 17 00:00:00 2001 From: rszn <645583145@qq.com> Date: Sun, 30 Jun 2024 23:32:02 +0800 Subject: [PATCH] =?UTF-8?q?insert=20=E4=B8=BA=E5=B8=A6=E5=87=BAentity?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Service/Station/MonitorService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Service/Station/MonitorService.cs b/Service/Station/MonitorService.cs index 17edd61..74cc76c 100644 --- a/Service/Station/MonitorService.cs +++ b/Service/Station/MonitorService.cs @@ -218,7 +218,7 @@ public class MonitorService Status = 0, Type = type }; - MoveBinRecordRepository.Insert(moveBinRecord); + moveBinRecord= MoveBinRecordRepository.Insert(moveBinRecord); result = PlcMgr.HoldOn(); if (!result) @@ -243,6 +243,7 @@ public class MonitorService MoveBinRecordRepository.Update(moveBinRecord); return Result.Fail(); } + Log.Info($"move battery success update moveBin={JsonConvert.SerializeObject(moveBinRecord)}"); //如果是缓存仓 更新缓存仓的数据 if (putBin.CacheBinFlag == 1)