| | |
| | | }); |
| | | for (int i = 0; i < details.Count; i++) |
| | | { |
| | | //è®¢åæ°é |
| | | ////è®¢åæ°é |
| | | //if ((details.Count-1) == i) |
| | | //{ |
| | | |
| | | //} |
| | | decimal orderQuantity = details[i].XqLen; |
| | | bool assignStop = true; |
| | | while (assignStop) |
| | |
| | | } |
| | | |
| | | _outStockLockInfoService.Repository.AddData(addOutStockLockInfos); |
| | | List<Dt_OutStockLockInfo> addOutCacheInfos = addOutStockLockInfos.Where(x => x.LocationCode.Contains("èåç¼ååº")).ToList(); |
| | | List<Dt_OutLineView> outLineViewsAdd = addOutCacheInfos.Select(x => _mapper.Map<Dt_OutLineView>(x)).ToList(); |
| | | _outboundRepository.OutLineViewRepository.AddData(outLineViewsAdd); |
| | | } |
| | | List<Dt_OutStockLockInfo> updateOutStockLockInfos = outStockLockInfos.Where(x => x.Id > 0).ToList(); |
| | | if (updateOutStockLockInfos != null && updateOutStockLockInfos.Any()) |