mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-25 02:32:57 +08:00
fix: 【FCJDFDXTXS-145】progress纠错
This commit is contained in:
@@ -81,7 +81,10 @@ public class StudyCourseItemDao extends BaseDao<StudyCourseItem> {
|
||||
if (finishTimestamp != null) {
|
||||
item.setFinishTime(finishTimestamp.toLocalDateTime());
|
||||
}
|
||||
item.setProgress((Integer) row[7]);
|
||||
BigInteger progress = (BigInteger) row[7];
|
||||
if (progress != null) {
|
||||
item.setProgress(progress.intValue());
|
||||
}
|
||||
item.setStatus((Integer) row[8]);
|
||||
Number score = (Number) row[9];
|
||||
if (score != null) {
|
||||
|
||||
Reference in New Issue
Block a user