|
|
|
@ -30,6 +30,6 @@ case t1.`b_use` when -2 then 1 else 0 end AS `del_flag`,
|
|
|
|
|
`t_base_organization`.`main_school_type` AS `main_school_type`,
|
|
|
|
|
`t_base_organization`.`xxbxlxm` AS `xxbxlxm`,
|
|
|
|
|
`t_base_organization`.`szdcxlxm` AS `szdcxlxm`
|
|
|
|
|
from (`t_base_teacher` as t1 inner join `t_base_teacher_org` as t2 on t1.person_id=t2.person_id and t2.b_use=1 and t2.is_main=1 join `t_base_organization` on (t2.`org_id` = `t_base_organization`.`org_id`))
|
|
|
|
|
from (`t_base_teacher` as t1 inner join `t_base_teacher_org` as t2 on t1.person_id=t2.person_id and t1.b_use=1 and t2.b_use=1 and t2.is_main=1 join `t_base_organization` on (t2.`org_id` = `t_base_organization`.`org_id`))
|
|
|
|
|
where t1.identity_id in (1,2)
|
|
|
|
|
) as t1
|