| | |
| | | } |
| | | |
| | | /** |
| | | * 统计产量 |
| | | * @param farmProductStock |
| | | * @return |
| | | */ |
| | | @GetMapping("/statisticsProduct") |
| | | public R<FarmProductStockVO> statisticsProduct(FarmProductStockVO farmProductStock) { |
| | | return R.data(farmProductStockService.statisticsProduct(farmProductStock)); |
| | | } |
| | | |
| | | /** |
| | | * 新增 |
| | | */ |
| | | @PostMapping("/save") |
| | |
| | | return R.status(farmProductStockService.removeByIds(Func.toLongList(ids))); |
| | | } |
| | | |
| | | /** |
| | | * 大屏产量统计 |
| | | */ |
| | | @PostMapping("/selctProductCount") |
| | | public R selctProductCount( String year) { |
| | | return R.data(farmProductStockService.selctProductCount(year)); |
| | | } |
| | | |
| | | } |