From 2072a0cb576a34c99a939b1d73c065cdc36bcc14 Mon Sep 17 00:00:00 2001 From: huanghai <10402852@qq.com> Date: Mon, 14 Sep 2020 11:05:03 +0800 Subject: [PATCH] 'commit' --- dsBaseRpc/Sql/t_base_teacher.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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