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