``` refactor(db): 移除SQL语句中的public schema前缀

This commit is contained in:
2025-12-30 00:02:59 +08:00
parent a080b4294c
commit a1e07a204b
234 changed files with 3200 additions and 2831 deletions

View File

@@ -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();

View File

@@ -4,8 +4,6 @@
package com.openhis.web.ybmanage.config;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.ConstructorBinding;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
@@ -16,10 +14,8 @@ import org.springframework.context.annotation.PropertySource;
* @date 2025-04-11
*/
@Configuration
@ConstructorBinding
@PropertySource("classpath:properties/yb.properties")
@ConfigurationProperties(prefix = "ybapp.config")
@EnableConfigurationProperties
public class YbServiceConfig {
private String url;