mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-10 03:16:48 +08:00
判空加日志
This commit is contained in:
@@ -228,8 +228,9 @@ public class CourseFullTextApi extends ApiBaseController{
|
||||
}
|
||||
// String offCourseIds="123.311";
|
||||
//根据userId查询报名的课程
|
||||
log.info("根据userId查询报名的课程 dto.getUserId() = " + dto.getUserId());
|
||||
List<StudyCourse> courseList = IStudyCourseService.getCourseId(dto.getUserId());
|
||||
|
||||
log.info("根据userId查询报名的课程 courseList = " + courseList);
|
||||
String courseIds = "";
|
||||
if (!Objects.isNull(courseList) && courseList.size() > 0){
|
||||
List<String> courseIdList = courseList.stream().map(StudyCourse::getCourseId).collect(Collectors.toList());
|
||||
|
||||
Reference in New Issue
Block a user