Commit 251bd08508a545b8c6c889a9b436e98b4781f7e7

Authored by YunaiV
1 parent 2dd44503

修复 infra_config 表名错误

yudao-module-infra/yudao-module-infra-impl/src/main/java/cn/iocoder/yudao/module/infra/dal/mysql/config/ConfigDAOImpl.java
@@ -27,13 +27,13 @@ public class ConfigDAOImpl implements ConfigFrameworkDAO { @@ -27,13 +27,13 @@ public class ConfigDAOImpl implements ConfigFrameworkDAO {
27 27
28 @Override 28 @Override
29 public boolean selectExistsByUpdateTimeAfter(Date maxUpdateTime) { 29 public boolean selectExistsByUpdateTimeAfter(Date maxUpdateTime) {
30 - return jdbcTemplate.query("SELECT id FROM inf_config WHERE update_time > ? LIMIT 1", 30 + return jdbcTemplate.query("SELECT id FROM infra_config WHERE update_time > ? LIMIT 1",
31 ResultSet::next, maxUpdateTime); 31 ResultSet::next, maxUpdateTime);
32 } 32 }
33 33
34 @Override 34 @Override
35 public List<ConfigRespDTO> selectList() { 35 public List<ConfigRespDTO> selectList() {
36 - return jdbcTemplate.query("SELECT `key`, `value`, update_time, deleted FROM inf_config", new BeanPropertyRowMapper<>(ConfigRespDTO.class)); 36 + return jdbcTemplate.query("SELECT `key`, `value`, update_time, deleted FROM infra_config", new BeanPropertyRowMapper<>(ConfigRespDTO.class));
37 } 37 }
38 38
39 } 39 }