| | |
| | | ? 0 |
| | | : Math.Round((decimal)inStockLocation / totalLocation, 4) * 100; |
| | | |
| | | //ç¦ç¨è´§ä½ |
| | | var disableLocation = _locationInfoRepository.QueryData(x=>x.EnableStatus == (int)EnableStatusEnum.Disable).Count(); |
| | | //计ç®å
¥åºä»»å¡ååºåºä»»å¡å®ææ°é |
| | | var inboundCount = _taskHtyRepository.Db.Queryable<Dt_Task_Hty>().Where(x => x.TaskType >= 500 && x.TaskType < 900 && x.CreateDate.ToString("yyyy-MM-dd") == DateTime.Now.ToString("yyyy-MM-dd")).Count(); |
| | | var outboundCount = _taskHtyRepository.Db.Queryable<Dt_Task_Hty>().Where(x => x.TaskType >= 100 && x.TaskType < 500 && x.CreateDate.ToString("yyyy-MM-dd") == DateTime.Now.ToString("yyyy-MM-dd")).Count(); |
| | |
| | | FreeStockPallet = freeStockPallet, |
| | | CompleteTask = completeTask, |
| | | NearExpirationList = nearExpirationList, |
| | | UnInBoundOrderCount = unInBound |
| | | UnInBoundOrderCount = unInBound, |
| | | TotalLocation = totalLocation, |
| | | DisableLocation = disableLocation |
| | | }; |
| | | return WebResponseContent.Instance.OK(data: bigGreenData); |
| | | } |
| | |
| | | public List<SimpleStatisticsDTO> CompleteTask { get; set; } |
| | | |
| | | public List<StockInfoDetailExtDTO> NearExpirationList { get; set; } |
| | | |
| | | public int TotalLocation { get; set; } |
| | | public int DisableLocation { get; set; } |
| | | } |
| | | |
| | | /// <summary> |