From c567f6f68f0ab308197d8bda3793e95abe9cd7aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=8C=AE=E7=BB=B4?= Date: Mon, 30 Dec 2024 19:04:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=9F=BA=E6=9C=AC=E6=95=B0?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Writerside/topics/编制统计开始.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Writerside/topics/编制统计开始.md b/Writerside/topics/编制统计开始.md index aba68fd..b428f99 100644 --- a/Writerside/topics/编制统计开始.md +++ b/Writerside/topics/编制统计开始.md @@ -39,8 +39,8 @@ Select Count(distinct t.a0000) From A02 t where t.a0201e = '3' -- 班子成员类别代码(副职) - and t.a0201b in (select b0111 from b01 where (B0121 = '${b0111}' and - b0194 = '2') or B0111 = '${b0111}') -- 指定范围 + and t.a0201b in (select b0111 from b01 where (B0121 = '${b0111}' + and b0194 = '2') or B0111 = '${b0111}') -- 指定范围 and t.a0219 = '1' -- 是否领导职务 and t.a0255 = '1' -- 任职状态 and exists (select 1 from a01 b where b.a0000 = t.a0000