From e3f343fbb080e86d7154639348f436b03e9362b4 Mon Sep 17 00:00:00 2001 From: anerx <512464164@qq.com> Date: Wed, 19 Mar 2025 20:56:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=8A=E5=AD=98=E5=82=A8=E6=96=B9=E6=B3=95?= =?UTF-8?q?=E4=B9=9F=E5=AE=8C=E6=88=90=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Seyounth.Hyosung.Data/Services/TrayService.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Seyounth.Hyosung.Data/Services/TrayService.cs b/Seyounth.Hyosung.Data/Services/TrayService.cs index f0a2224..f4e7725 100644 --- a/Seyounth.Hyosung.Data/Services/TrayService.cs +++ b/Seyounth.Hyosung.Data/Services/TrayService.cs @@ -91,5 +91,9 @@ public class TrayService : ITrayService public async Task StorageAsync(long trayCode) { + var tray = await GetByCode(trayCode); + tray.FinishTime = DateTime.Now; + await _repository.UpdateAsync(tray.ToEntity()); + _cache.Remove(tray.TrayCode, out _); } } \ No newline at end of file