|
|
@@ -138,6 +138,10 @@ public class BaseStudentSchoolRollServiceImpl extends MPJBaseServiceImpl<BaseStu
|
|
|
2
|
|
|
);
|
|
|
}
|
|
|
+ if((dto.getArchivesStatus() != null && !ArchivesStatusEnum.FB2901.getCode().equals(dto.getArchivesStatus())
|
|
|
+ || (dto.getStduyStatus() != null && !StudyStatusEnum.InResidence.getCode().equals(dto.getStduyStatus())))){
|
|
|
+ roomBedMapper.clearBedInfoByStudentUserId(id, StpUtil.getLoginIdAsLong());
|
|
|
+ }
|
|
|
|
|
|
baseStudentSchoolRollMapper.updateInfoByUserId(dto, id);
|
|
|
}
|