|
|
@@ -11,7 +11,6 @@ import com.xjrsoft.common.enums.StudentChangeTypeEnum;
|
|
|
import com.xjrsoft.common.enums.StudyStatusEnum;
|
|
|
import com.xjrsoft.module.organization.entity.User;
|
|
|
import com.xjrsoft.module.organization.service.IUserService;
|
|
|
-import com.xjrsoft.module.room.entity.RoomBed;
|
|
|
import com.xjrsoft.module.student.dto.StudentReportRecordPageDto;
|
|
|
import com.xjrsoft.module.student.dto.StudentReportRecordStatisticsDto;
|
|
|
import com.xjrsoft.module.student.dto.StudentReportSignDto;
|
|
|
@@ -119,9 +118,9 @@ public class StudentReportRecordServiceImpl extends MPJBaseServiceImpl<StudentRe
|
|
|
|
|
|
@Override
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
- public Boolean allSgin(List<StudentReportSignDto> dtoList) {
|
|
|
- for (StudentReportSignDto dto : dtoList) {
|
|
|
- StudentReportRecord record = this.getById(dto.getId());
|
|
|
+ public Boolean allSgin(List<Long> dtoList) {
|
|
|
+ for (Long id : dtoList) {
|
|
|
+ StudentReportRecord record = this.getById(id);
|
|
|
record.setModifyDate(new Date());
|
|
|
record.setUserId(StpUtil.getLoginIdAsLong());
|
|
|
record.setReportTime(new Date());
|