Commit be0ebdae authored by 李博今's avatar 李博今

修改周视图具体信息

parent 7ebd90ed
......@@ -102,7 +102,9 @@ public interface BSlScheduleRepository extends BaseMapper<BSlSchedule> {
"\tb_rooms.category,\n" +
"\tb_rooms.building,\n" +
"\tb_rooms.classroom_no as classroomNo,\n" +
"\tb_rooms.classroom_name as classroomName\n" +
"\tb_rooms.classroom_name as classroomName,\n" +
"\tb_direction.name as directionName,\n" +
"\tb_direction.code as directionCode\n" +
"FROM\n" +
"\tb_sl_schedule\n" +
"LEFT JOIN b_rooms ON b_rooms.`code` = b_sl_schedule.room_code\n" +
......@@ -118,6 +120,14 @@ public interface BSlScheduleRepository extends BaseMapper<BSlSchedule> {
"AND b_sl_schedule.term_code = b_sl.term_code\n" +
"AND b_sl_schedule.lesson_code = b_sl.lesson_code\n" +
"WHERE\n" +
"b_rooms.flag = \"1\" and b_rooms.del_flag = \"0\" and\n" +
"\tb_term.flag = \"1\" and b_term.del_flag = \"0\" and\n" +
"\tb_lesson.flag = \"1\" and b_lesson.del_flag = \"0\" and\n" +
"b_direction.flag = \"1\" and b_direction.del_flag = \"0\" and\n" +
"b_edu_class.flag = \"1\" and b_edu_class.del_flag = \"0\" and\n" +
"s_user.flag = \"1\" and s_user.del_flag = \"0\" and\n" +
"b_agency.flag = \"1\" and b_agency.del_flag = \"0\" and\n" +
"b_teacher.flag = \"1\" and b_teacher.del_flag = \"0\" and " +
"\tb_sl_schedule.business_id = #{businessId}")
@ResultMap(value = "DetailResultMap")
ScheduleDetail queryDetail(String businessId);
......
......@@ -51,6 +51,10 @@ public class ScheduleDetail {
private String subAgencyId;
private String directionCode;
private String directionName;
List<ScheduleDto> list = new ArrayList<>();
public String getCampus(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment