| | |
| | | return base.UpdateData(saveModel); |
| | | } |
| | | |
| | | public async Task<Dt_BDCConfiguration> UpdateConfiguration(int maxWhiteBody, int maxPaintedBody, |
| | | int maxBatteryCase, int maxEmptySled) |
| | | public async Task<Dt_BDCConfiguration> UpdateConfiguration(int maxWhiteBody, int maxPaintedBody, int maxBatteryCase, int maxEmptySled) |
| | | { |
| | | // 绂佺敤褰撳墠閰嶇疆 |
| | | var currentConfigs = await BaseDal.QueryDataAsync(c => c.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> |