mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-09 19:06:49 +08:00
提交
This commit is contained in:
@@ -397,9 +397,9 @@ public class StudyCourseServiceImpl implements IStudyCourseService{
|
||||
StringBuilder str=new StringBuilder();
|
||||
if(!studyCourseQuery.getIds().isEmpty()){
|
||||
for (String id:studyCourseQuery.getAids()){
|
||||
str.append("'");
|
||||
//str.append("'");
|
||||
str.append(id);
|
||||
str.append("'");
|
||||
//str.append("'");
|
||||
str.append(",");
|
||||
|
||||
}
|
||||
@@ -411,9 +411,9 @@ public class StudyCourseServiceImpl implements IStudyCourseService{
|
||||
StringBuilder str1=new StringBuilder();
|
||||
if(!studyCourseQuery.getAids().isEmpty()){
|
||||
for (String id:studyCourseQuery.getIds()){
|
||||
str1.append("'");
|
||||
//str1.append("'");
|
||||
str1.append(id);
|
||||
str1.append("'");
|
||||
//str1.append("'");
|
||||
str1.append(",");
|
||||
|
||||
}
|
||||
@@ -422,8 +422,6 @@ public class StudyCourseServiceImpl implements IStudyCourseService{
|
||||
str1.deleteCharAt(str1.length()-1);
|
||||
}
|
||||
|
||||
|
||||
|
||||
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 " +
|
||||
|
||||
Reference in New Issue
Block a user