| | |
| | | MaxPaintedBodyCache = maxPaintedBody, |
| | | MaxBatteryCaseCache = maxBatteryCase, |
| | | MaxEmptySledCache = maxEmptySled, |
| | | LastUpdatedTime = DateTime.Now, |
| | | UpdatedBy = App.User.UserName, |
| | | CreateDate = DateTime.Now, |
| | | Creater = App.User.UserName, |
| | | IsActive = 1 |
| | | }; |
| | | |
| | |
| | | /// <returns></returns> |
| | | public int GetWhiteBodyCount() |
| | | { |
| | | return _palletStockInfoRepository.QueryData(b => b.CarType == (int)BodyType.WhiteBody && b.StockStatus == (int)BodyStatus.InBDC).Count; |
| | | return _palletStockInfoRepository.QueryData(b => b.CarBodyInfo.CarType == (int)BodyType.WhiteBody && b.StockStatus == (int)BodyStatus.InBDC).Count; |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | /// <returns></returns> |
| | | public int GetPaintedBodyCount() |
| | | { |
| | | return _palletStockInfoRepository.QueryData(b => b.CarType == (int)BodyType.PaintedBody && b.StockStatus == (int)BodyStatus.InBDC).Count; |
| | | return _palletStockInfoRepository.QueryData(b => b.CarBodyInfo.CarType == (int)BodyType.PaintedBody && b.StockStatus == (int)BodyStatus.InBDC).Count; |
| | | } |
| | | |
| | | /// <summary> |