| | |
| | | summary.setBagCodeCount(getCount(homeStatisticsMapper.selectBagCodeCount())); |
| | | summary.setPalletCount(getCount(homeStatisticsMapper.selectPalletCount())); |
| | | |
| | | // 3. 状态分布 |
| | | // 3. 出库流通 |
| | | summary.setSalesNoticeCount(getCount(homeStatisticsMapper.selectSalesNoticeCount())); |
| | | summary.setProductSalesCount(getCount(homeStatisticsMapper.selectProductSalesCount())); |
| | | summary.setReturnSalesCount(getCount(homeStatisticsMapper.selectReturnSalesCount())); |
| | | |
| | | // 4. 仓储预警 / 质量 |
| | | summary.setStockWarningPendingCount(getCount(homeStatisticsMapper.selectStockWarningPendingCount())); |
| | | summary.setNcrPendingCount(getCount(homeStatisticsMapper.selectNcrPendingCount())); |
| | | |
| | | // 5. 状态分布 |
| | | summary.setBatchStatusList(toStatusList(homeStatisticsMapper.selectBatchCountGroupByStatus())); |
| | | summary.setBagCodeStatusList(toStatusList(homeStatisticsMapper.selectBagCodeCountGroupByStatus())); |
| | | |