package org.dromara.system.controller.system;

import cn.dev33.satoken.annotation.SaIgnore;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.dromara.system.domain.vo.HospitalActivityVo;
import org.dromara.system.service.IHospitalActivityService;
import org.springframework.web.bind.annotation.PostMapping;
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;
import java.util.Map;

/**
 * @author destiny
 * @description:
 * @date 2025/10/14 16:09
 */
@Slf4j
@RestController
@RequestMapping("/hospital")
@RequiredArgsConstructor
public class HospitalActivityController {

    private final IHospitalActivityService hospitalActivityService;

    @SaIgnore
    @PostMapping("/list")
    public List<HospitalActivityVo> queryList(@RequestBody Map<String, Object> params) {
        return hospitalActivityService.queryList(params);
    }
}
