23 lines
813 B
Plaintext
23 lines
813 B
Plaintext
<%@page import="jbo.app.tenwa.calc.LC_EBANK_PROCESS"%>
|
|
<%@page import="com.amarsoft.are.jbo.JBOTransaction"%>
|
|
<%@page import="com.amarsoft.are.jbo.BizObject"%>
|
|
<%@page import="com.amarsoft.are.jbo.JBOFactory"%>
|
|
<%@page import="java.math.BigDecimal"%>
|
|
<%@ page contentType="text/html; charset=GBK"%>
|
|
<%@ include file="/IncludeBeginMDAJAX.jsp"%><%
|
|
String ebankID = CurPage.getAttribute("EBANKID");
|
|
String result = "";
|
|
try{
|
|
BizObject bo = JBOFactory.createBizObjectQuery(LC_EBANK_PROCESS.CLASS_NAME, "ebank_number=:ebankID")
|
|
.setParameter("ebankID", ebankID).getSingleResult(false);
|
|
if(bo == null){
|
|
result = "SUCCESS";
|
|
}else{
|
|
result = "FALSE";
|
|
}
|
|
}catch(Exception e){
|
|
e.printStackTrace();
|
|
result = "FALSE";
|
|
}
|
|
out.println(result);
|
|
%><%@ include file="/IncludeEndAJAX.jsp"%> |