From 81768ae8baa57219e1c2e51a2b49d7fcbf2a6555 Mon Sep 17 00:00:00 2001 From: zhangzhuo <512464164@qq.com> Date: Thu, 20 Mar 2025 00:49:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E7=9B=B8=E5=85=B3=E5=AD=98?= =?UTF-8?q?=E5=82=A8=E6=97=B6=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Seyounth.Hyosung.Data/Services/TrayService.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Seyounth.Hyosung.Data/Services/TrayService.cs b/Seyounth.Hyosung.Data/Services/TrayService.cs index 143d75b..ec9f417 100644 --- a/Seyounth.Hyosung.Data/Services/TrayService.cs +++ b/Seyounth.Hyosung.Data/Services/TrayService.cs @@ -93,6 +93,9 @@ public class TrayService : ITrayService public async Task StorageAsync(string 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