16 lines
606 B
Plaintext
16 lines
606 B
Plaintext
<%@ page contentType="text/html; charset=GBK"%>
|
|
<%@ include file="/IncludeBeginMDAJAX.jsp"%><%
|
|
String contractNo = CurPage.getParameter("contractNo");
|
|
|
|
String sReturn = "None";
|
|
String contractId = Sqlca.getString("select id from lb_contract_info where contract_no='"+contractNo+"'");
|
|
if(contractId != null){
|
|
sReturn = contractId;
|
|
String bankCode = Sqlca.getString("select bank_code from customer_account where contract_id='"+contractId+"'");
|
|
if(bankCode==null||"".equals(bankCode)){
|
|
sReturn = "refuse";
|
|
}
|
|
}
|
|
|
|
out.println(sReturn);
|
|
%><%@ include file="/IncludeEndAJAX.jsp"%> |