| | |
| | | using Microsoft.AspNetCore.SignalR; |
| | | using Microsoft.Extensions.DependencyInjection; |
| | | using Microsoft.Extensions.Hosting; |
| | | using Microsoft.Extensions.Logging; |
| | | using System; |
| | | using System.Collections.Concurrent; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Threading; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Core.BaseRepository; |
| | | using WIDESEA_IStockService; |
| | | using WIDESEA_Model.Models; |
| | |
| | | /// 分别跟踪货位、库存主表、库存明细,避免每次全表扫描。 |
| | | /// </summary> |
| | | private DateTime _lastLocationCheckTime = DateTime.MinValue; |
| | | |
| | | private DateTime _lastStockCheckTime = DateTime.MinValue; |
| | | private DateTime _lastDetailCheckTime = DateTime.MinValue; |
| | | |
| | |
| | | "增量库存变更推送,LocationId={LocationId},LocationStatus={LocationStatus},StockStatus={StockStatus},Quantity={Quantity}", |
| | | snapshot.LocationId, |
| | | snapshot.LocationStatus, |
| | | snapshot.StockStatus, |
| | | snapshot.StockStatus, |
| | | snapshot.OutboundDate, |
| | | snapshot.StockQuantity); |
| | | } |
| | |
| | | public int LocationId { get; set; } |
| | | } |
| | | } |
| | | } |
| | | } |