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