fix
This commit is contained in:
@@ -878,7 +878,7 @@ public class DatabaseManagementService {
|
|||||||
story.setCoverPath(rs.getString("cover_path"));
|
story.setCoverPath(rs.getString("cover_path"));
|
||||||
story.setWordCount(rs.getInt("word_count"));
|
story.setWordCount(rs.getInt("word_count"));
|
||||||
story.setRating(rs.getInt("rating"));
|
story.setRating(rs.getInt("rating"));
|
||||||
story.setVolume(rs.getInt("volume"));
|
story.setVolume(rs.getObject("volume") != null ? rs.getDouble("volume") : null);
|
||||||
story.setIsRead(rs.getBoolean("is_read"));
|
story.setIsRead(rs.getBoolean("is_read"));
|
||||||
story.setReadingPosition(rs.getInt("reading_position"));
|
story.setReadingPosition(rs.getInt("reading_position"));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user