| | |
| | | string CarChargingStation = AppSettings.Configuration[nameof(CarChargingStation)];//è·åç©¿æ¢è½¦å
çµä½ç½® |
| | | var ChargingStations = CarChargingStation.Split(","); |
| | | Dt_StockInfoDetail? instockInfoDetail = null; |
| | | var instockInfoDetails = _stockService.StockInfoDetailService.Repository.QueryData(x => x.MaterielCode == stockInfoDetail.MaterielCode && x.Status == StockStatusEmun.å·²å
¥åº.ObjToInt()); |
| | | if (instockInfoDetails != null && instockInfoDetails.Count > 0) |
| | | var instockInfoDetails = _stockService.StockInfoDetailService.Repository.QueryData(x => x.MaterielCode == stockInfoDetail.MaterielCode && x.Status == StockStatusEmun.å
¥åºä¸.ObjToInt()); |
| | | if (instockInfoDetails.Count > 0) |
| | | instockInfoDetail = instockInfoDetails.OrderByDescending(x => x.CreateDate).First(); |
| | | if (instockInfoDetails.Count < 1) |
| | | { |
| | | instockInfoDetails = _stockService.StockInfoDetailService.Repository.QueryData(x => x.MaterielCode == stockInfoDetail.MaterielCode && x.Status == StockStatusEmun.å·²å
¥åº.ObjToInt()); |
| | | if (instockInfoDetails != null && instockInfoDetails.Count > 0) |
| | | instockInfoDetail = instockInfoDetails.OrderByDescending(x => x.CreateDate).First(); |
| | | } |
| | | if (instockInfoDetail != null) instockInfo = _stockService.StockInfoService.Repository.GetStockInfo(instockInfoDetail.StockId); |
| | | if (instockInfo != null)//æ åºå |
| | | { |
| | |
| | | { |
| | | locationInfo = null; |
| | | } |
| | | if (locationInfo == null) |
| | | { |
| | | locationInfo = _basicService.LocationInfoService.GetLocationPallet(); |
| | | } |
| | | } |
| | | else |
| | | { |