智慧农业后台管理
Administrator
2022-07-09 4d48da87faccd9c11fe644e92edd54ca0e167b69
src/main/java/org/springblade/modules/sale/controller/SaleController.java
@@ -137,17 +137,24 @@
   /**
    * 大屏销售统计
    */
   @PostMapping("/selctSaletCount")
   public R selctSaletCount(String year) {
      return R.data(saleService.selctSaletCount(year));
   @GetMapping("/selctSaletCount")
   public R selctSaletCount() {
      return R.data(saleService.selctSaletCount());
   }
   /**
    * 统计今年和去年的销售总额
    */
   @PostMapping("/selctSaletZ")
   @GetMapping("/selctSaletZ")
   public R selctSaletZ() {
      return R.data(saleService.selctSaletZ());
   }
   /**
    * 统计市场流通/去年流通量/本月流通量
    */
   @GetMapping("/selectMarketCirculate")
   public R selectMarketCirculate() {
      return R.data(saleService.selectMarketCirculate());
   }
}