|
@@ -100,6 +100,10 @@ public class StudentOutInRecordController {
|
|
|
if(classList != null && !classList.isEmpty() && dto.getClassId() == null){
|
|
|
dto.setClassId(classList.get(0).getId());
|
|
|
}
|
|
|
+
|
|
|
+ if((ObjectUtil.isNotNull(dto.getUserId()) && dto.getUserId() != 0)){
|
|
|
+ queryWrapper.eq(StudentOutInRecord::getUserId, dto.getUserId());
|
|
|
+ }
|
|
|
}
|
|
|
queryWrapper.eq((ObjectUtil.isNotNull(dto.getClassId()) && dto.getClassId() != 0), StudentOutInRecord::getClassId, dto.getClassId());
|
|
|
IPage<StudentOutInRecordPageVo> page = studentOutInRecordService.selectJoinListPage(ConventPage.getPage(dto),StudentOutInRecordPageVo.class, queryWrapper);
|