package com.gz.controller.statistics; import cn.hutool.core.lang.tree.Tree; import com.gz.rvo.statistics.ArchiveStatisticsRVO; import com.gz.rvo.statistics.ArchiveYearStatisticsRVO; import com.gz.rvo.statistics.BorrowStatisticsRVO; import com.gz.service.statistics.SelectStatisticsService; import com.gz.vo.statistics.StatisticsVO; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import javax.annotation.Resource; import java.util.List; /** * 查询统计 * @author LiuchangLan * @date 2021/3/8 14:59 */ @RestController @RequestMapping("statistics") public class SelectStatisticsController { @Resource private SelectStatisticsService service; @GetMapping("selectStatisticsByType") List selectStatisticsByType(StatisticsVO vo){ return service.selectStatisticsByType(vo); } @GetMapping("selectArchiveYearStatistics") public List selectArchiveYearStatistics(StatisticsVO vo) { return service.selectArchiveYearStatistics(vo); } @GetMapping("selectBorrowStatistics") List selectBorrowStatistics(StatisticsVO vo){ return service.selectBorrowStatistics(vo); } }