package com.fs.hisStore.controller;

import com.fs.common.core.domain.R;

import com.fs.hisStore.domain.ExemptSecondMedicalDevice;
import com.fs.hisStore.service.IExemptSecondMedicalDeviceService;
import org.springframework.beans.factory.annotation.Autowired;
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;

/**
 * @description:
 * @author: Guos
 * @time: 2025/11/29 上午9:43
 */
@RestController
@RequestMapping("/store/store/exemptSecondMedicalDevice")
public class FsExemptSecondMedicalDeviceController {

    @Autowired
    private IExemptSecondMedicalDeviceService fsExemptSecondMedicalDeviceService;

    /**
     * 查询列表
     */
    @GetMapping("/getList")
    public R list() {
        List<ExemptSecondMedicalDevice> exemptSecondMedicalDevices = fsExemptSecondMedicalDeviceService.selectAll();
        return R.ok().put("data", exemptSecondMedicalDevices);
    }

}
