Commit e7bdeeee by 潘诗林

fix: 查询已读案例结果校验优化

1 parent fbe4394a
...@@ -265,7 +265,7 @@ public class PreLearnStaffService { ...@@ -265,7 +265,7 @@ public class PreLearnStaffService {
//查询已读案例ID列表 //查询已读案例ID列表
List<Integer> readCaseIds = preLearnStaffReadCaseMapper.selectReadCaseIds( List<Integer> readCaseIds = preLearnStaffReadCaseMapper.selectReadCaseIds(
staffUuid, activityProductId); staffUuid, activityProductId);
if (readCaseIds == null) { if (CollectionUtils.isEmpty(readCaseIds)) {
readCaseIds = Collections.emptyList(); readCaseIds = Collections.emptyList();
}else { }else {
resp.setStaffLearnStatus(PreLearnStatusEnum.STUDIED.getValue()); resp.setStaffLearnStatus(PreLearnStatusEnum.STUDIED.getValue());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!