Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
education
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李丛阳
education
Commits
be0ebdae
Commit
be0ebdae
authored
May 30, 2018
by
李博今
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改周视图具体信息
parent
7ebd90ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletion
+15
-1
BSlScheduleRepository.java
...isoft/business/bslschedule/dao/BSlScheduleRepository.java
+11
-1
ScheduleDetail.java
...g/rcisoft/business/bslschedule/entity/ScheduleDetail.java
+4
-0
No files found.
src/main/java/org/rcisoft/business/bslschedule/dao/BSlScheduleRepository.java
View file @
be0ebdae
...
@@ -102,7 +102,9 @@ public interface BSlScheduleRepository extends BaseMapper<BSlSchedule> {
...
@@ -102,7 +102,9 @@ public interface BSlScheduleRepository extends BaseMapper<BSlSchedule> {
"\tb_rooms.category,\n"
+
"\tb_rooms.category,\n"
+
"\tb_rooms.building,\n"
+
"\tb_rooms.building,\n"
+
"\tb_rooms.classroom_no as classroomNo,\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"
+
"FROM\n"
+
"\tb_sl_schedule\n"
+
"\tb_sl_schedule\n"
+
"LEFT JOIN b_rooms ON b_rooms.`code` = b_sl_schedule.room_code\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> {
...
@@ -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.term_code = b_sl.term_code\n"
+
"AND b_sl_schedule.lesson_code = b_sl.lesson_code\n"
+
"AND b_sl_schedule.lesson_code = b_sl.lesson_code\n"
+
"WHERE\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}"
)
"\tb_sl_schedule.business_id = #{businessId}"
)
@ResultMap
(
value
=
"DetailResultMap"
)
@ResultMap
(
value
=
"DetailResultMap"
)
ScheduleDetail
queryDetail
(
String
businessId
);
ScheduleDetail
queryDetail
(
String
businessId
);
...
...
src/main/java/org/rcisoft/business/bslschedule/entity/ScheduleDetail.java
View file @
be0ebdae
...
@@ -51,6 +51,10 @@ public class ScheduleDetail {
...
@@ -51,6 +51,10 @@ public class ScheduleDetail {
private
String
subAgencyId
;
private
String
subAgencyId
;
private
String
directionCode
;
private
String
directionName
;
List
<
ScheduleDto
>
list
=
new
ArrayList
<>();
List
<
ScheduleDto
>
list
=
new
ArrayList
<>();
public
String
getCampus
(){
public
String
getCampus
(){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment