|
|
@ -842,6 +842,7 @@ public class CollectModel {
|
|
|
|
public Page<Record> getBureauList(int query_type_id, String bureau_type_ids, String area_id, String org_name, int page, int limit) {
|
|
|
|
public Page<Record> getBureauList(int query_type_id, String bureau_type_ids, String area_id, String org_name, int page, int limit) {
|
|
|
|
Kv kv = Kv.create();
|
|
|
|
Kv kv = Kv.create();
|
|
|
|
//单位类型:1:县区教育局,2:学校,3:教辅单位,4:市教育局
|
|
|
|
//单位类型:1:县区教育局,2:学校,3:教辅单位,4:市教育局
|
|
|
|
|
|
|
|
|
|
|
|
List<String> bureau_type_list = Arrays.stream(bureau_type_ids.split(",")).toList();
|
|
|
|
List<String> bureau_type_list = Arrays.stream(bureau_type_ids.split(",")).toList();
|
|
|
|
|
|
|
|
|
|
|
|
//默认查全市
|
|
|
|
//默认查全市
|
|
|
@ -880,6 +881,7 @@ public class CollectModel {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else if (query_type_id == 2) {//区
|
|
|
|
} else if (query_type_id == 2) {//区
|
|
|
|
for (String s : bureau_type_list) {
|
|
|
|
for (String s : bureau_type_list) {
|
|
|
|
|
|
|
|
if (s.equals("1")) OrgTypeList.add(11);//县区教育局
|
|
|
|
if (s.equals("2")) {//学校
|
|
|
|
if (s.equals("2")) {//学校
|
|
|
|
OrgTypeList.add(15);
|
|
|
|
OrgTypeList.add(15);
|
|
|
|
OrgTypeList.add(16);
|
|
|
|
OrgTypeList.add(16);
|
|
|
|