完成相关存储时代码
This commit is contained in:
parent
78c5949c2e
commit
81768ae8ba
@ -93,6 +93,9 @@ public class TrayService : ITrayService
|
|||||||
|
|
||||||
public async Task StorageAsync(string trayCode)
|
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 _);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user