diff --git a/dsBaseRpc/Sql/t_base_teacher.sql b/dsBaseRpc/Sql/t_base_teacher.sql index 62983719..3b61ae57 100644 --- a/dsBaseRpc/Sql/t_base_teacher.sql +++ b/dsBaseRpc/Sql/t_base_teacher.sql @@ -31,5 +31,5 @@ case t1.`b_use` when -2 then 1 else 0 end AS `del_flag`, `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`)) -where t1.identity_id=2 +where t1.identity_id in (1,2) ) as t1 \ No newline at end of file