package com.fs.company.controller.his;

import com.fs.common.core.controller.BaseController;
import com.fs.common.core.domain.AjaxResult;
import com.fs.his.domain.FsProject;
import com.fs.his.service.IFsProjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * 理疗配置Controller
 * 
 * @author fs
 * @date 2026-04-19
 */
@RestController
@RequestMapping("/company/project")
public class FsProjectController extends BaseController
{
    @Autowired
    private IFsProjectService fsProjectService;


    @GetMapping("/options")
    public AjaxResult selectFsProjectListOptions(@RequestParam("cateId") Long cateId){
        List<FsProject> list = fsProjectService.selectFsProjectListOptionsById(cateId);
        return AjaxResult.success(list);
    }

}
