package com.xinelu.applet.controller.applethospitalinfo;

import com.xinelu.common.core.controller.BaseController;
import com.xinelu.common.core.domain.AjaxResult;
import com.xinelu.manage.domain.hospitalinfo.HospitalInfo;
import com.xinelu.manage.service.hospitalinfo.IHospitalInfoService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import java.util.List;
import javax.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description: 小程序医院信息管理控制器
 * @author: haown
 * @create: 2023-10-09 11:06
 **/
@Api(tags = "小程序医院信息管理控制器")
@RestController
@RequestMapping("/nurseApplet/hospital")
public class AppletHospitalInfoController extends BaseController {
	@Resource
	private IHospitalInfoService hospitalInfoService;

	/**
	 * 查询医院信息管理列表
	 */
	@ApiOperation("查询医院信息管理列表")
	@GetMapping("/getList")
	public AjaxResult getList(HospitalInfo hospitalInfo) {
		List<HospitalInfo> list = hospitalInfoService.selectHospitalInfoList(hospitalInfo);
		return AjaxResult.success(list);
	}
}
