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