|
|
|
@ -28,6 +28,7 @@ import org.springframework.web.servlet.ModelAndView;
|
|
|
|
|
import javax.validation.constraints.NotNull;
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import java.util.stream.Collectors;
|
|
|
|
|
|
|
|
|
|
import static com.ibeetl.jlw.web.query.TeacherOpenCourseChatLogQuery.STUDENT_ADD;
|
|
|
|
|
import static com.ibeetl.jlw.web.query.TeacherOpenCourseChatLogQuery.TEACHER_ADD;
|
|
|
|
@ -80,6 +81,12 @@ public class TeacherOpenCourseChatLogController{
|
|
|
|
|
}else{
|
|
|
|
|
PageQuery page = condition.getPageQuery();
|
|
|
|
|
teacherOpenCourseChatLogService.queryByConditionQuery(page);
|
|
|
|
|
// 只获取关键字列表
|
|
|
|
|
if(ObjectUtil.isNotEmpty(page.getList())) {
|
|
|
|
|
List<String> resList = ((List<TeacherOpenCourseChatLog>) page.getList()).stream()
|
|
|
|
|
.map(TeacherOpenCourseChatLog::getKeywords).distinct().collect(Collectors.toList());
|
|
|
|
|
page.setList(resList);
|
|
|
|
|
}
|
|
|
|
|
return JsonResult.success(page);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|