|
|
@@ -39,14 +39,14 @@ public class WfRoomApplicantServiceImpl extends MPJBaseServiceImpl<WfRoomApplica
|
|
|
|
|
|
if(ObjectUtil.isNotNull(baseStudentSchoolRoll)){
|
|
|
//申请住校
|
|
|
- if(wfRoomApplicant.getRecedeType().equals(RoomApplicantTypeEnum.RaOvernightStay.getCode())) {
|
|
|
+ if(wfRoomApplicant.getRecedeType().equals(RoomApplicantTypeEnum.ToBeBoarder.getCode())) {
|
|
|
baseStudentSchoolRollMapper.updateById(new BaseStudentSchoolRoll(){{
|
|
|
setId(baseStudentSchoolRoll.getId());
|
|
|
setStduyStatus(StudyStatusEnum.InResidence.getCode());
|
|
|
}});
|
|
|
}
|
|
|
|
|
|
- if(wfRoomApplicant.getRecedeType().equals(RoomApplicantTypeEnum.RaNoOvernightStay.getCode())) {
|
|
|
+ if(wfRoomApplicant.getRecedeType().equals(RoomApplicantTypeEnum.ToBeDayPupil.getCode())) {
|
|
|
baseStudentSchoolRollMapper.updateById(new BaseStudentSchoolRoll(){{
|
|
|
setId(baseStudentSchoolRoll.getId());
|
|
|
setStduyStatus(StudyStatusEnum.AttendDaySchool.getCode());
|