From 439da89fb210ac682cd845d2b6279a8c9f050bf4 Mon Sep 17 00:00:00 2001 From: tangfutang Date: Sun, 28 Jun 2020 10:33:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=82=AE=E5=AF=84=E5=BD=92?= =?UTF-8?q?=E6=A1=A3=E8=B5=9B=E9=80=89=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebContent/Tenwa/Apzl/FileUpload/CheckApplyPassContract.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebContent/Tenwa/Apzl/FileUpload/CheckApplyPassContract.jsp b/WebContent/Tenwa/Apzl/FileUpload/CheckApplyPassContract.jsp index 9d0c8722c..cd4b5a22a 100644 --- a/WebContent/Tenwa/Apzl/FileUpload/CheckApplyPassContract.jsp +++ b/WebContent/Tenwa/Apzl/FileUpload/CheckApplyPassContract.jsp @@ -8,6 +8,6 @@ <%@ page contentType="text/html; charset=GBK"%> <%@ include file="/IncludeBeginMDAJAX.jsp"%><% String companyId = CurPage.getParameter("belongCompanyid"); - String result = Sqlca.getString(new SqlObject("select case when count(1)>0 then 'true' else 'false' end res from lb_contract_info lci left join lb_file_mailarchiving_info lfmi on lfmi.CONTRACT_ID = lci.ID where (lfmi.ALLHANDOVERSTATUS is null or lfmi.ALLHANDOVERSTATUS = 'part') and not exists (select 1 from LB_FILE_MAILARCHIVING_INFO_TEMP lfmit where lfmit.contract_id = lci.id and lfmit.is_flowing = '0') and lci.PROJECT_DEPT = '"+companyId+"'")); + String result = Sqlca.getString(new SqlObject("select case when count(1)>0 then 'true' else 'false' end res from lb_contract_info lci left join lb_file_mailarchiving_info lfmi on lfmi.CONTRACT_ID = lci.ID where (lfmi.ALLHANDOVERSTATUS is null or lfmi.ALLHANDOVERSTATUS = 'part' or lfmi.ALLHANDOVERSTATUS = 'none') and not exists (select 1 from LB_FILE_MAILARCHIVING_INFO_TEMP lfmit where lfmit.contract_id = lci.id and lfmit.is_flowing = '0') and lci.PROJECT_DEPT = '"+companyId+"'")); out.println(result); %><%@ include file="/IncludeEndAJAX.jsp"%> \ No newline at end of file