|
@ -107,11 +107,15 @@ public class ReportController {
|
107
|
107
|
attendersService.updateById(attenders);
|
108
|
108
|
|
109
|
109
|
ScheduleEntity schedule = new ScheduleEntity();
|
110
|
|
schedule.setId(report.getId());
|
111
|
110
|
schedule.setAttendersId(report.getAid());
|
112
|
111
|
schedule.setBranchId(report.getBranchId());
|
113
|
112
|
schedule.setSort(report.getSort());
|
114
|
|
scheduleService.updateById(schedule);
|
|
113
|
if (report.getId()==null || report.getId()==0L) {
|
|
114
|
scheduleService.save(schedule);
|
|
115
|
} else {
|
|
116
|
schedule.setId(report.getId());
|
|
117
|
scheduleService.updateById(schedule);
|
|
118
|
}
|
115
|
119
|
|
116
|
120
|
return R.ok();
|
117
|
121
|
}
|