Browse Source

完善基本数据

master
张献维 3 weeks ago
parent
commit
c567f6f68f
  1. 4
      Writerside/topics/编制统计开始.md

4
Writerside/topics/编制统计开始.md

@ -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

Loading…
Cancel
Save