|
@ -39,8 +39,8 @@ |
|
|
Select Count(distinct t.a0000) |
|
|
Select Count(distinct t.a0000) |
|
|
From A02 t |
|
|
From A02 t |
|
|
where t.a0201e = '3' -- 班子成员类别代码(副职) |
|
|
where t.a0201e = '3' -- 班子成员类别代码(副职) |
|
|
and t.a0201b in (select b0111 from b01 where (B0121 = '${b0111}' and |
|
|
and t.a0201b in (select b0111 from b01 where (B0121 = '${b0111}' |
|
|
b0194 = '2') or B0111 = '${b0111}') -- 指定范围 |
|
|
and b0194 = '2') or B0111 = '${b0111}') -- 指定范围 |
|
|
and t.a0219 = '1' -- 是否领导职务 |
|
|
and t.a0219 = '1' -- 是否领导职务 |
|
|
and t.a0255 = '1' -- 任职状态 |
|
|
and t.a0255 = '1' -- 任职状态 |
|
|
and exists (select 1 from a01 b where b.a0000 = t.a0000 |
|
|
and exists (select 1 from a01 b where b.a0000 = t.a0000 |
|
|