基于SSM+SpringBoot+Vue的互联网在线医疗问诊系统

登陆首页

用户注册

用户管理

角色管理

菜单管理

科室管理

通知公告

添加就诊

我的挂号

导医信息

我的导医

挂号管理

问诊中心

统计信息

登陆首页

开发工具: Idea/Eclipse
数据库: mysql
Jar包仓库: Maven
前段框架: vue/ElementUI/echart
后端框架: Spring+SpringMVC+Mybatis+SpringBoot

package com.pandahis.dashboard.modules.dev.stastic.controller;


import com.pandahis.dashboard.common.pojo.CommonResult;
import com.pandahis.dashboard.modules.dev.stastic.dal.dataobject.DeptCountDto;
import com.pandahis.dashboard.modules.dev.stastic.service.StatisticService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@Api(tags = "统计类")
@RestController
@RequestMapping("/panda/statistic")
@Validated
public class StatisticController {



    @Autowired
    StatisticService statisticService;


    @RequestMapping("/getDeptCounts")
    public CommonResult<List<DeptCountDto>> getDeptCounts(@RequestBody DeptCountDto deptCountDto){
        List<DeptCountDto> deptCounts = statisticService.getDeptCounts(deptCountDto);
        return CommonResult.success(deptCounts);
    }




}

猜你喜欢

转载自blog.csdn.net/qq_36155000/article/details/125589124