mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-30 17:58:43 +08:00 
			
		
		
		
	修复 infra_config 表名错误
This commit is contained in:
		| @@ -27,13 +27,13 @@ public class ConfigDAOImpl implements ConfigFrameworkDAO { | ||||
|  | ||||
|     @Override | ||||
|     public boolean selectExistsByUpdateTimeAfter(Date maxUpdateTime) { | ||||
|         return jdbcTemplate.query("SELECT id FROM inf_config WHERE update_time > ? LIMIT 1", | ||||
|         return jdbcTemplate.query("SELECT id FROM infra_config WHERE update_time > ? LIMIT 1", | ||||
|                 ResultSet::next, maxUpdateTime); | ||||
|     } | ||||
|  | ||||
|     @Override | ||||
|     public List<ConfigRespDTO> selectList() { | ||||
|         return jdbcTemplate.query("SELECT `key`, `value`, update_time, deleted FROM inf_config", new BeanPropertyRowMapper<>(ConfigRespDTO.class)); | ||||
|         return jdbcTemplate.query("SELECT `key`, `value`, update_time, deleted FROM infra_config", new BeanPropertyRowMapper<>(ConfigRespDTO.class)); | ||||
|     } | ||||
|  | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 YunaiV
					YunaiV