huwhois %!s(int64=4) %!d(string=hace) años
padre
commit
3ff1878b24

+ 6 - 2
src/main/java/io/renren/modules/admin/controller/ReportController.java

107
        attendersService.updateById(attenders);
107
        attendersService.updateById(attenders);
108
108
109
        ScheduleEntity schedule = new ScheduleEntity();
109
        ScheduleEntity schedule = new ScheduleEntity();
110
        schedule.setId(report.getId());
111
        schedule.setAttendersId(report.getAid());
110
        schedule.setAttendersId(report.getAid());
112
        schedule.setBranchId(report.getBranchId());
111
        schedule.setBranchId(report.getBranchId());
113
        schedule.setSort(report.getSort());
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
        return R.ok();
120
        return R.ok();
117
    }
121
    }