|
|
@@ -339,16 +339,16 @@ public class CourseTableServiceImpl extends ServiceImpl<CourseTableMapper, Cours
|
|
|
@Override
|
|
|
public List<CourseListVo> getAdjustList1(String classId,String teacherId, String adjustDate,String timeNumber,String applicantTeacherId, String exchangeDate, String adjustType) {
|
|
|
CourseTableAdjustDto1 dto = new CourseTableAdjustDto1();
|
|
|
- if (adjustDate != null && !"".equals(adjustDate)) {
|
|
|
+ if (exchangeDate != null && !"".equals(exchangeDate)) {
|
|
|
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd");
|
|
|
- LocalDate localDateTime = LocalDate.parse(adjustDate, formatter);
|
|
|
+ LocalDate localDateTime = LocalDate.parse(exchangeDate, formatter);
|
|
|
DayOfWeek dayOfWeek = localDateTime.getDayOfWeek();
|
|
|
- dto.setAdjustDate(adjustDate);
|
|
|
+ dto.setAdjustDate(exchangeDate);
|
|
|
dto.setWeek(dayOfWeek.getValue());
|
|
|
}
|
|
|
|
|
|
- if (exchangeDate != null && !"".equals(exchangeDate)) {
|
|
|
- dto.setExchangeDate(exchangeDate);
|
|
|
+ if (adjustDate != null && !"".equals(adjustDate)) {
|
|
|
+ dto.setExchangeDate(adjustDate);
|
|
|
}
|
|
|
|
|
|
dto.setTimeNumber(timeNumber);
|