|
|
|
@ -809,7 +809,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) {
|
|
|
|
|
Kv kv = Kv.create();
|
|
|
|
|
//单位类型:1:教育局,2:学校,3:教辅单位
|
|
|
|
|
//单位类型:1:县区教育局,2:学校,3:教辅单位,4:市教育局
|
|
|
|
|
List<String> bureau_type_list = Arrays.stream(bureau_type_ids.split(",")).toList();
|
|
|
|
|
|
|
|
|
|
//默认查全市
|
|
|
|
@ -837,6 +837,7 @@ public class CollectModel {
|
|
|
|
|
List<Integer> OrgTypeList = new ArrayList<>();
|
|
|
|
|
if (query_type_id == 1) {//市
|
|
|
|
|
for (String s : bureau_type_list) {
|
|
|
|
|
if (s.equals("4")) OrgTypeList.add(4);//市教育局
|
|
|
|
|
if (s.equals("1")) OrgTypeList.add(11);//县区教育局
|
|
|
|
|
if (s.equals("2")) {//学校
|
|
|
|
|
OrgTypeList.add(8);
|
|
|
|
|