115,6 → 115,8 |
boolean connError = false; |
for(Long cId: cUs) |
{ |
if(cId == 1096) |
System.currentTimeMillis(); |
if(connError) |
break; |
nowCode = "" + cId; |
131,7 → 133,7 |
} |
CourseUnit c = DaoFactory.getCourseUnitDaoImpl().load(cId); |
|
boolean separateTurmas = ImportCourseService.loadCourseYearTurmasPolicy(c.getCode(), year, logMessages, this); |
boolean separateTurmas = ImportCourseService.loadCourseYearTurmasPolicy(c.getCourse().getCode(), year, logMessages, this); |
//c.getCourse().getCourseYears() |
|
nowCode = c.getCode(); |
448,7 → 450,7 |
System.out.println("If no arguments wil user actual year import config in all semestres and true in email and ionline"); |
|
String year = "201516";DaoFactory.getConfigurationDaoImpl().getImportsDefaultImportYearCreateTransaction(); |
String semestre = null; |
String semestre = "A"; |
boolean sendIonline = false; |
boolean sendEmail = false; |
int institutionCode = 1; |