This commit is contained in:
yfh0918 2020-05-26 16:36:29 +08:00
parent 1484a59499
commit 38a3f5d735

View File

@ -628,9 +628,9 @@ public class ExternalStoragePersistServiceImpl implements PersistService {
public long findConfigMaxId() {
String sql = "SELECT max(id) FROM config_info";
try {
return jt.queryForObject(sql, Integer.class);
return jt.queryForObject(sql, Long.class);
} catch (NullPointerException e) {
return 0;
return 0l;
}
}