|
|
@ -15,6 +15,7 @@ import gsp.technologies.main.api.course.CourseEntity; |
|
|
|
import gsp.technologies.main.api.organization.OrganizationService; |
|
|
|
import gsp.technologies.main.api.organization.OrganizationService; |
|
|
|
import gsp.technologies.main.api.position.PositionEntity; |
|
|
|
import gsp.technologies.main.api.position.PositionEntity; |
|
|
|
import gsp.technologies.main.api.position.PositionService; |
|
|
|
import gsp.technologies.main.api.position.PositionService; |
|
|
|
|
|
|
|
import gsp.technologies.main.api.target.TargetEntity; |
|
|
|
import gsp.technologies.main.api.target.TargetService; |
|
|
|
import gsp.technologies.main.api.target.TargetService; |
|
|
|
import gsp.technologies.main.code.Code; |
|
|
|
import gsp.technologies.main.code.Code; |
|
|
|
|
|
|
|
|
|
|
@ -78,6 +79,8 @@ public class AccountFaceController { |
|
|
|
model.addAttribute("account", account); |
|
|
|
model.addAttribute("account", account); |
|
|
|
|
|
|
|
|
|
|
|
//передаем в модель перечень доступных курсов
|
|
|
|
//передаем в модель перечень доступных курсов
|
|
|
|
|
|
|
|
Collection<TargetEntity> targets = targetService.findAllByPositionId(account.getPosition().getId()); |
|
|
|
|
|
|
|
|
|
|
|
Collection<CourseEntity> courses = targetService.findAllByPosition(account.getPosition()); |
|
|
|
Collection<CourseEntity> courses = targetService.findAllByPosition(account.getPosition()); |
|
|
|
model.addAttribute("courses", courses); |
|
|
|
model.addAttribute("courses", courses); |
|
|
|
//передаем в модель статусы прохождения курсов
|
|
|
|
//передаем в модель статусы прохождения курсов
|
|
|
|