package thyyxxk.webserver.controller.zhuyuanyizheng;

import org.springframework.web.bind.annotation.*;
import thyyxxk.webserver.entity.ResultVo;
import thyyxxk.webserver.entity.inpatient.patient.Overview;
import thyyxxk.webserver.entity.login.UserInfoSelect;
import thyyxxk.webserver.service.zhuyuanyisheng.Level3DoctorSetupService;

import java.util.List;

@RestController
@RequestMapping("/Level3DoctorSetup")
public class Level3DoctorSetupController {

    private final Level3DoctorSetupService service;

    public Level3DoctorSetupController(Level3DoctorSetupService service) {
        this.service = service;
    }

    @PostMapping("/updateDoctor")
    public ResultVo<String> updateDoctor(@RequestBody List<Overview> userInfoSelects) {
        return service.updateDoctor(userInfoSelects);
    }


}
