修改邮寄归档赛选条件
This commit is contained in:
parent
8e24fe508a
commit
439da89fb2
@ -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"%>
|
||||
Loading…
x
Reference in New Issue
Block a user