|
@@ -138,7 +138,7 @@ public class MusicGroupSchoolTermCourseDetailServiceImpl extends BaseServiceImpl
|
|
|
//一个学期默认为6个月,9月1日—2月28、29日,3月1日—8月31日
|
|
|
Integer month = Integer.parseInt(DateUtil.getMonth(startCourseDate));
|
|
|
String year = DateUtil.getYear(startCourseDate);
|
|
|
- if(month >= 9 && month <= 2){
|
|
|
+ if(month >= 9 || month <= 2){
|
|
|
if(month >= 9){
|
|
|
year = DateUtil.getYear(DateUtil.addYears(startCourseDate, 1));
|
|
|
}
|