| | |
| | | return baseMapper.statisticsStock(year,deptId); |
| | | } |
| | | @Override |
| | | public Map<String, String> statisticsStockMonth(String year,String deptId) { |
| | | return baseMapper.statisticsStockMonth(year,deptId); |
| | | public List<Map<String, String>> statisticsStockMonth(String year,String deptId) { |
| | | //按年统计 |
| | | if (year.length()==4){ |
| | | return baseMapper.statisticsStockYear(year,deptId); |
| | | } |
| | | //按月统计 |
| | | if (year.length()==7){ |
| | | return baseMapper.statisticsStockMonth(year,deptId); |
| | | } |
| | | //按日统计 |
| | | if (year.length()==10){ |
| | | return baseMapper.statisticsStockDay(year,deptId); |
| | | } |
| | | return null; |
| | | } |
| | | @Override |
| | | public Map<String, String> productsSupervise(String year,String deptId) { |