|
|
@@ -244,14 +244,12 @@ public class DataUtil {
|
|
|
continue;
|
|
|
}
|
|
|
JsonObject paramJson = new JsonObject();
|
|
|
-
|
|
|
+ paramJson.addProperty("schoolYear", Integer.parseInt(sdfYear.format(semester.getStartDate())));
|
|
|
Integer period = null;
|
|
|
if(semester.getName().contains(spring)){
|
|
|
period = 2;
|
|
|
- paramJson.addProperty("schoolYear", Integer.parseInt(sdfYear.format(semester.getStartDate())) - 1);
|
|
|
}else if(semester.getName().contains(autumn)){
|
|
|
period = 1;
|
|
|
- paramJson.addProperty("schoolYear", Integer.parseInt(sdfYear.format(semester.getStartDate())));
|
|
|
}
|
|
|
//获取时间戳
|
|
|
long timestamp = System.currentTimeMillis();
|