| | |
| | | Creater = "System", |
| | | ProductionLine = stockInfo.ProductionLine, |
| | | }; |
| | | |
| | | var location = _locationRepository.QueryFirst(x => x.Id == stockInfo.LocationId); |
| | | if (location == null) return null; |
| | | location.LocationStatus = (int)LocationEnum.InStockDisable; |
| | | _locationRepository.UpdateData(location); |
| | | |
| | | return task; |
| | | } |
| | | catch (Exception ex) |
| | |
| | | { |
| | | try |
| | | { |
| | | //if (stationManager.stationType == 15) throw new Exception(""); |
| | | if (stationManager.stationType != 15) throw new Exception(""); |
| | | |
| | | // 创建一个TrayCellsStatusDto对象,并赋值 |
| | | TrayCellsStatusDto trayCells = new TrayCellsStatusDto() |