把存储方法也完成了

This commit is contained in:
anerx 2025-03-19 20:56:52 +08:00
parent 2bfb814b2d
commit e3f343fbb0

View File

@ -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 _);
}
}