|
@@ -157,10 +157,12 @@ public class ExerciseBookDto extends ExerciseBookBaseDto implements Serializable
|
|
|
return bookYearList;
|
|
|
}
|
|
|
|
|
|
- public void addBookYear (int bookYear, int bookType, String exerciseBookId){
|
|
|
+ public void addBookYear (int bookYear, int bookType, String exerciseBookId, int type){
|
|
|
ExerciseBookYearDto dto = new ExerciseBookYearDto(bookYear);
|
|
|
dto.addBookType(bookType, exerciseBookId);
|
|
|
- dto.addBookPartType(bookType);
|
|
|
+ if (type == 3){
|
|
|
+ dto.addBookPartType(bookType);
|
|
|
+ }
|
|
|
this.bookYearList.add(dto);
|
|
|
}
|
|
|
|