This commit is contained in:
zhangbb 2019-07-02 10:10:13 +08:00
parent ff0dbbba75
commit 084e3fb813

View File

@ -19,10 +19,11 @@
String type = "";
String count = "";
String reasonDesc = "";
String ifY = "N";
BigDataController bdc = new BigDataController();
boolean flag = true;
if("GET".equals(getType)) {
/* if("GET".equals(getType)) {
JBOTransaction tx = JBOFactory.createJBOTransaction();
applyId = SerialNumberUtil.getPengyuanNumber(tx);
tx.commit();
@ -40,7 +41,28 @@
count = res[2];
type = "GET";
}
}
} */
if("GET".equals(getType)){
String result = bdc.getDataApplyId(CurPage, "ebank_af", Sqlca);
if("false".equals(result)) {
%>
<script type="text/javascript">
AsDebug.alert("Ìáʾ","δÕÒµ½Êý¾Ý");
</script>
<%
}else{
String[] res = result.split("@");
applyId = res[1];
count = res[2];
type = "GET";
}
}
if("SAVE".equals(getType)){
JBOTransaction tx = JBOFactory.createJBOTransaction();
applyId = SerialNumberUtil.getPengyuanNumber(tx);
tx.commit();
type = "SAVE";
}
Map<String,String> params = new HashMap<String,String>(); //初始化参数
params.put("queryType","25136");
params.put("name",fullName);//被查询人姓名