|
|
|
@ -1634,11 +1634,10 @@ public class ZbdcModel {
|
|
|
|
|
public Page<Record> listSchool(int year, String area_id, String bureau_id, int check_type_id, int school_type_id, String keyword, int page, int limit) {
|
|
|
|
|
String Conditions;
|
|
|
|
|
if (check_type_id >= 0) {
|
|
|
|
|
Conditions = " and org_id in ";
|
|
|
|
|
Conditions = " and org_id in (select bureau_id from t_zbdc_report where year=" + year + " and check_type_id=" + check_type_id + ")";
|
|
|
|
|
} else {
|
|
|
|
|
Conditions = " and org_id not in ";
|
|
|
|
|
Conditions = " and org_id not in (select bureau_id from t_zbdc_report where year=" + year + ")";
|
|
|
|
|
}
|
|
|
|
|
Conditions += "(select bureau_id from t_zbdc_report where year=" + year + " and check_type_id=" + check_type_id + ")";
|
|
|
|
|
|
|
|
|
|
//如果当前人员是长春市教育局的审核员
|
|
|
|
|
String sql;
|
|
|
|
|