Commit 4fe4b79c authored by Andrey Galan's avatar Andrey Galan
Browse files

фикс калькулятора объемов

parent 8a622f9e
Branches main
No related merge requests found
Pipeline #1320 passed with stages
in 2 minutes and 42 seconds
Showing with 3 additions and 3 deletions
......@@ -52,9 +52,9 @@ public class CalculationPracticeVolume implements CalculationVolumeStrategy {
volumePracticeDTO.setNumberSubgroups(contingent.getNumberSubgroups());
volumePracticeDTO.setNumberLectureStreams(contingent.getNumberLectureStreams());
volumePracticeDTO.setContingentContract(contingent.getContingentContract());
volumePracticeDTO.setContingentBudget(contingent.getContingentBudget());
volumePracticeDTO.setContingentForeign(contingent.getContingentForeign());
volumePracticeDTO.setContingentContract(contingent.getContingentContract() != null ? contingent.getContingentContract() : 0);
volumePracticeDTO.setContingentBudget(contingent.getContingentBudget() != null ? contingent.getContingentBudget() : 0);
volumePracticeDTO.setContingentForeign(contingent.getContingentForeign() != null ? contingent.getContingentForeign() : 0);
volumePracticeDTO.setCourse(practice.getCourse());
volumePracticeDTO.setSemester(practice.getSemester());
volumePracticeDTO.setDisciplineHours(practice.getDisciplineHours());
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment