|
@@ -18,6 +18,7 @@ import com.xjrsoft.module.room.vo.RoomBedInfoVo;
|
|
|
import com.xjrsoft.module.student.dto.*;
|
|
import com.xjrsoft.module.student.dto.*;
|
|
|
import com.xjrsoft.module.student.entity.BaseStudent;
|
|
import com.xjrsoft.module.student.entity.BaseStudent;
|
|
|
import com.xjrsoft.module.student.entity.BaseStudentSchoolRoll;
|
|
import com.xjrsoft.module.student.entity.BaseStudentSchoolRoll;
|
|
|
|
|
+import com.xjrsoft.module.student.mapper.BaseNewStudentMapper;
|
|
|
import com.xjrsoft.module.student.mapper.BaseStudentMapper;
|
|
import com.xjrsoft.module.student.mapper.BaseStudentMapper;
|
|
|
import com.xjrsoft.module.student.mapper.BaseStudentSchoolRollMapper;
|
|
import com.xjrsoft.module.student.mapper.BaseStudentSchoolRollMapper;
|
|
|
import com.xjrsoft.module.student.mapper.PbSemesterConfigMapper;
|
|
import com.xjrsoft.module.student.mapper.PbSemesterConfigMapper;
|
|
@@ -53,6 +54,7 @@ public class BaseStudentSchoolRollServiceImpl extends MPJBaseServiceImpl<BaseStu
|
|
|
private final UserMapper userMapper;
|
|
private final UserMapper userMapper;
|
|
|
private final IStudentChangeRecordService recordService;
|
|
private final IStudentChangeRecordService recordService;
|
|
|
private final BaseStudentMapper baseStudentMapper;
|
|
private final BaseStudentMapper baseStudentMapper;
|
|
|
|
|
+ private final BaseNewStudentMapper newStudentMapper;
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
@@ -260,6 +262,9 @@ public class BaseStudentSchoolRollServiceImpl extends MPJBaseServiceImpl<BaseStu
|
|
|
@Override
|
|
@Override
|
|
|
public List<BaseStudentSompleInfoVo> getInfosByParam(BaseStudentSimpleInfoDto dto) {
|
|
public List<BaseStudentSompleInfoVo> getInfosByParam(BaseStudentSimpleInfoDto dto) {
|
|
|
List<BaseStudentSompleInfoVo> userList = userMapper.getInfosByParam(dto);
|
|
List<BaseStudentSompleInfoVo> userList = userMapper.getInfosByParam(dto);
|
|
|
|
|
+ if(userList.isEmpty()){
|
|
|
|
|
+ userList = newStudentMapper.getInfosByParam(dto);
|
|
|
|
|
+ }
|
|
|
return userList;
|
|
return userList;
|
|
|
}
|
|
}
|
|
|
|
|
|