|
@@ -8,6 +8,7 @@ import com.github.yulichang.base.MPJBaseServiceImpl;
|
|
|
import com.github.yulichang.wrapper.MPJLambdaWrapper;
|
|
import com.github.yulichang.wrapper.MPJLambdaWrapper;
|
|
|
import com.xjrsoft.common.enums.DeleteMark;
|
|
import com.xjrsoft.common.enums.DeleteMark;
|
|
|
import com.xjrsoft.common.enums.EnabledMark;
|
|
import com.xjrsoft.common.enums.EnabledMark;
|
|
|
|
|
+import com.xjrsoft.common.exception.MyException;
|
|
|
import com.xjrsoft.module.base.entity.BaseClass;
|
|
import com.xjrsoft.module.base.entity.BaseClass;
|
|
|
import com.xjrsoft.module.organization.entity.User;
|
|
import com.xjrsoft.module.organization.entity.User;
|
|
|
import com.xjrsoft.module.organization.service.IUserService;
|
|
import com.xjrsoft.module.organization.service.IUserService;
|
|
@@ -141,6 +142,9 @@ public class StudentReportPlanServiceImpl extends MPJBaseServiceImpl<StudentRepo
|
|
|
List<BaseStudentUserPageVo> studentList = studentService.getStudentList(new BaseStudentUserPageDto() {{
|
|
List<BaseStudentUserPageVo> studentList = studentService.getStudentList(new BaseStudentUserPageDto() {{
|
|
|
setClassIds(classIds);
|
|
setClassIds(classIds);
|
|
|
}});
|
|
}});
|
|
|
|
|
+ if(studentList.isEmpty()){
|
|
|
|
|
+ throw new MyException("未能查询到学生,请联系管理员");
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
Date createDate = new Date();
|
|
Date createDate = new Date();
|
|
|
List<StudentReportRecord> insertList = new ArrayList<>();
|
|
List<StudentReportRecord> insertList = new ArrayList<>();
|