mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-10 19:36:50 +08:00
我的关注
This commit is contained in:
@@ -396,7 +396,7 @@ public class StudyCourseServiceImpl implements IStudyCourseService{
|
||||
//List<StudyCourse> list = studyCourseDao.findList(builder.builder());
|
||||
StringBuilder str=new StringBuilder();
|
||||
if(!studyCourseQuery.getIds().isEmpty()){
|
||||
for (String id:studyCourseQuery.getIds()){
|
||||
for (String id:studyCourseQuery.getAids()){
|
||||
str.append("'");
|
||||
str.append(id);
|
||||
str.append("'");
|
||||
@@ -427,7 +427,7 @@ public class StudyCourseServiceImpl implements IStudyCourseService{
|
||||
String sql="select sc.id,sc.course_id,sc.course_type,sc.course_name,sc.aid,sc.aname,sc.source,sc.add_time,sc.start_time,sc.finish_time,sc.progress," +
|
||||
"sc.total_duration,sc.last_score,sc.status,sc.status_time,sc.last_time," +
|
||||
"c.score,c.cover_img from boe_course as c left join boe_study_course as sc on sc.course_id=c.id where " +
|
||||
"sc.aid in("+str1+") and sc.course_id in ("+str+") order by sc.last_time";
|
||||
"sc.aid in("+str+") and sc.course_id in ("+str1+") order by sc.last_time";
|
||||
|
||||
List<StudyCourse> rs=new ArrayList<StudyCourse>();
|
||||
Set<String> checkSet=new HashSet<String>();
|
||||
|
||||
Reference in New Issue
Block a user