Commit 7ebd90ed authored by 李博今's avatar 李博今

修改周视图

parent 982c6f0c
......@@ -85,4 +85,7 @@ public class BSLData {
public boolean hasClasses(){
return this.classes.innerObjectList.size() != 0;
}
public boolean hasSection(){
return this.section.innerObjectList.size() != 0;
}
}
......@@ -315,7 +315,7 @@ public class BSlScheduleServiceImpl implements BSlScheduleService {
}
//判断这里是否有此班级,此时间的记录
BSLData bslData = (BSLData) resultList.get(location);
if(!bslData.hasClasses()){
if(!bslData.hasSection()){
// bslData.addDetail(bSlSchedule.getEduClassCode(),bSlSchedule.getBEduClass().getClassName(),"classes");
BCourseCode bCourseCode1 = bCourseCodeList.get(Integer.valueOf(bSlSchedule.getSeq()) - 1);
bslData.addDetail(bSlSchedule.getSeq(),bCourseCode1.getStartDate() + "-" + bCourseCode1.getEndDate(),"section");
......@@ -332,6 +332,7 @@ public class BSlScheduleServiceImpl implements BSlScheduleService {
bslData.addDetail(bSlSchedule.getBusinessId(),"businessId",DAY_OF_WEEK);
// resultMap.put(bSlSchedule.getEduClassCode() + "," + bSlSchedule.getSeq(),bslData);
}else{
//判断星期几
Calendar calendar = Calendar.getInstance();
Date date = bSlSchedule.getStartDay();
......
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