#2896 bug fix
This commit is contained in:
parent
1484a59499
commit
38a3f5d735
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user