|
|
@@ -10151,7 +10151,7 @@ sqls.add("INSERT IGNORE INTO health_norm_reference (dimension, gender, age_min,
|
|
|
// ===== 迁移:初始化方案规则数据 (P1) =====
|
|
|
try {
|
|
|
// 使用 jdbcTemplate 的 DataSource
|
|
|
- var ds = jdbcTemplate.getDataSource();
|
|
|
+ javax.sql.DataSource ds = jdbcTemplate.getDataSource();
|
|
|
if (ds instanceof javax.sql.DataSource) {
|
|
|
try (Connection conn = ((javax.sql.DataSource) ds).getConnection()) {
|
|
|
PreparedStatement ps = null;
|
|
|
@@ -10191,7 +10191,7 @@ sqls.add("INSERT IGNORE INTO health_norm_reference (dimension, gender, age_min,
|
|
|
// ===== 迁移:初始化报告类型注册 (R1) =====
|
|
|
try {
|
|
|
// 使用 jdbcTemplate 的 DataSource
|
|
|
- var ds = jdbcTemplate.getDataSource();
|
|
|
+ javax.sql.DataSource ds = jdbcTemplate.getDataSource();
|
|
|
if (ds instanceof javax.sql.DataSource) {
|
|
|
try (Connection conn = ((javax.sql.DataSource) ds).getConnection()) {
|
|
|
PreparedStatement ps = null;
|