把存储方法也完成了
This commit is contained in:
parent
2bfb814b2d
commit
e3f343fbb0
@ -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 _);
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user