From 3d58bafdb6811f01820666bcd235adfca67d293e Mon Sep 17 00:00:00 2001 From: wzqgit <568275241@qq.com> Date: Mon, 11 Oct 2021 12:05:53 +0800 Subject: [PATCH] =?UTF-8?q?=E7=97=85=E6=A1=88=E7=A4=BA=E8=B8=AA=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E5=8F=AF=E6=9F=A5=E6=80=A5=E8=AF=8A=E6=AD=BB=E4=BA=A1?= =?UTF-8?q?=E7=97=85=E5=8E=86=EF=BC=88B=E5=BC=80=E5=A4=B4=EF=BC=89=2010/11?= =?UTF-8?q?=20wzq?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mapper/Archive_MasterMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/mapper/Archive_MasterMapper.xml b/src/main/resources/mapper/Archive_MasterMapper.xml index ae4b7071..14feabdb 100644 --- a/src/main/resources/mapper/Archive_MasterMapper.xml +++ b/src/main/resources/mapper/Archive_MasterMapper.xml @@ -678,8 +678,8 @@ LEFT JOIN (select MasterID,COUNT(*) num from archive_printInfo group by MasterID) printTable on m.id=printTable.MasterID where 1=1 - and patindex('%B%',m.inp_no) = 0 - and m.ArchiveState not in('作废') + and patindex('%B%',m.inp_no) in (0,1) + and m.ArchiveState not in('作废','已封存') and m.id = #{id,jdbcType=NVARCHAR}