| | |
| | | import com.example.service.HisService; |
| | | import com.example.service.LisService; |
| | | import com.example.service.PacsService; |
| | | import org.apache.ibatis.annotations.Case; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.context.ApplicationContext; |
| | | import org.springframework.stereotype.Component; |
| | |
| | | switch (hospName) { |
| | | case "shanxiqinxamjyy": |
| | | return "ShanXiQinXiAnMeiJi"; // 对应的业务 Bean 名称 |
| | | case "shanxiqinpbkwyy": |
| | | return "ShanXiQinPbkwyy"; |
| | | case "shanxiqinjdczgzyy": |
| | | return "ShanXiQinJdczgzyy"; |
| | | default: |
| | | throw new RuntimeException("找不到对应的医院服务配置:" + hospName); |
| | | } |