|
@@ -2964,7 +2964,8 @@ public class ExportController extends BaseController {
|
|
|
public void exportSchoolList(HttpServletResponse response, SchoolQueryInfo queryInfo) throws IOException {
|
|
|
queryInfo.setPage(1);
|
|
|
queryInfo.setRows(49999);
|
|
|
-
|
|
|
+
|
|
|
+ queryInfo.setOrganId(organizationService.getEmployeeOrgan(queryInfo.getOrganId()));
|
|
|
List<School> rows = schoolService.querySchoolExportList(queryInfo);
|
|
|
if (rows.size() < 1) {
|
|
|
throw new BizException("没有可导出数据");
|