package com.ruoyi.web.controller.statistics;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.system.domain.houseInfo.PropertyFee;
import com.ruoyi.system.domain.suggestionFj.SuggestionFj;
import com.ruoyi.system.service.IStatisticsService;
import com.ruoyi.system.service.ISuggestionFjService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * 首页统计Controller
 *
 * @author boman
 * @date 2025-03-06
 */
@RestController
@RequestMapping("/wuYe/statistics")
public class StatisticsController {


    @Autowired
    private IStatisticsService statisticsService;
    /**
     * APP首页统计
     */
    @PreAuthorize("@ss.hasPermi('wuYe:statistics:num:app')")
    @GetMapping("/num/app")
    public AjaxResult numApp()
    {
        return statisticsService.numApp();
    }
}
