public DayReportResult DayReport([FromBody] DayReportRequest requestParams)
        {
            DateTime date    = requestParams.Date;
            DateTime endDate = requestParams.EndDate;

            if (requestParams.Mode == Mode.Month)
            {
                date    = new DateTime(requestParams.Date.Year, requestParams.Date.Month, 1);
                endDate = date.AddMonths(1);
            }
            WarehouseManager manager = new WarehouseManager();

            return(manager.DayMonthReport(requestParams.StoreId, requestParams.MachineSn, requestParams.CID, date, endDate, requestParams.Range, requestParams.DeviceSn));
        }