mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-07 01:46:47 +08:00
在线课逻辑更改库名
This commit is contained in:
@@ -466,10 +466,10 @@ public class CourseServiceImpl implements ICourseService {
|
||||
List<String> noAudiences = getNoAudiences(dto);
|
||||
list.addAll(noAudiences);
|
||||
// //成长路径的课
|
||||
List<String> grow = getGrow(dto);
|
||||
// List<String> grow = getGrow(dto);
|
||||
// //已报名的课
|
||||
List<String> enroll = getEnroll(dto);
|
||||
list.addAll(grow);
|
||||
// list.addAll(grow);
|
||||
list.addAll(enroll);
|
||||
list.addAll(list1);
|
||||
list.addAll(list2);
|
||||
@@ -480,7 +480,7 @@ public class CourseServiceImpl implements ICourseService {
|
||||
String sql = "SELECT DISTINCT\n" +
|
||||
"rt.course_id\n" +
|
||||
"FROM\n" +
|
||||
"boe.student s INNER JOIN boe.router_task rt on s.pid=rt.router_id inner join boe_base.boe_course c on c.id=rt.course_id\n" +
|
||||
"boe_new.student s INNER JOIN boe_new.router_task rt on s.pid=rt.router_id inner join boe_base.boe_course c on c.id=rt.course_id\n" +
|
||||
"\n" +
|
||||
"WHERE\n" +
|
||||
"\n" +
|
||||
@@ -503,7 +503,7 @@ public class CourseServiceImpl implements ICourseService {
|
||||
String sql = "SELECT DISTINCT\n" +
|
||||
"pt.course_id\n" +
|
||||
"FROM\n" +
|
||||
"boe.student s INNER JOIN boe.project_task pt on s.pid=pt.project_id inner join boe_base.boe_course c on c.id=pt.course_id\n" +
|
||||
"boe_new.student s INNER JOIN boe_new.project_task pt on s.pid=pt.project_id inner join boe_base.boe_course c on c.id=pt.course_id\n" +
|
||||
"\n" +
|
||||
"WHERE\n" +
|
||||
"\n" +
|
||||
@@ -526,8 +526,8 @@ public class CourseServiceImpl implements ICourseService {
|
||||
String sql = "SELECT DISTINCT\n" +
|
||||
"\tcc.course_id \n" +
|
||||
"FROM\n" +
|
||||
"\t`boe_course_crowd` cc\n" +
|
||||
"\tINNER JOIN boe_course c ON cc.course_id = c.id \n" +
|
||||
"\t`boe_base.boe_course_crowd` cc\n" +
|
||||
"\tINNER JOIN boe_base.boe_course c ON cc.course_id = c.id \n" +
|
||||
"WHERE\n" +
|
||||
"\tcc.group_id IN (?1) \n" +
|
||||
"\tAND c.deleted =0 ";
|
||||
@@ -560,8 +560,8 @@ public class CourseServiceImpl implements ICourseService {
|
||||
String sql = "SELECT DISTINCT\n" +
|
||||
"\tc.id \n" +
|
||||
"FROM\n" +
|
||||
"\tboe.student s\n" +
|
||||
"\tINNER JOIN boe.grow_task gt ON s.pid = gt.grow_id\n" +
|
||||
"\tboe_new.student s\n" +
|
||||
"\tINNER JOIN boe_new.grow_task gt ON s.pid = gt.grow_id\n" +
|
||||
"\tINNER JOIN boe_base.boe_course c ON gt.course_id = c.id \n" +
|
||||
"WHERE\n" +
|
||||
"\ts.type = 14 \n" +
|
||||
|
||||
Reference in New Issue
Block a user