``` refactor(db): 移除SQL语句中的public schema前缀
This commit is contained in:
@@ -13,6 +13,7 @@ import org.springframework.core.env.Environment;
|
||||
import org.springframework.scheduling.annotation.EnableAsync;
|
||||
|
||||
import com.openhis.web.ybmanage.config.YbServiceConfig;
|
||||
import com.openhis.administration.domain.Instrument;
|
||||
|
||||
/**
|
||||
* 启动程序
|
||||
@@ -25,6 +26,14 @@ import com.openhis.web.ybmanage.config.YbServiceConfig;
|
||||
public class OpenHisApplication {
|
||||
public static void main(String[] args) throws UnknownHostException {
|
||||
// System.setProperty("spring.devtools.restart.enabled", "false");
|
||||
// 测试 Instrument 类加载
|
||||
// try {
|
||||
// Class.forName("com.openhis.administration.domain.Instrument");
|
||||
// System.out.println("Instrument class loaded successfully");
|
||||
// } catch (ClassNotFoundException e) {
|
||||
// System.err.println("Failed to load Instrument class: " + e.getMessage());
|
||||
// }
|
||||
|
||||
ConfigurableApplicationContext application = SpringApplication.run(OpenHisApplication.class, args);
|
||||
Environment env = application.getEnvironment();
|
||||
String ip = InetAddress.getLocalHost().getHostAddress();
|
||||
|
||||
Reference in New Issue
Block a user