鹏远接口显示详情按钮
This commit is contained in:
parent
b9d9ca9739
commit
5f0755e78f
@ -46,10 +46,15 @@
|
||||
String result = bdc.getDataApplyId(CurPage, "ebank_af", Sqlca);
|
||||
if("false".equals(result)) {
|
||||
%>
|
||||
<script type="text/javascript" src="<%=sWebRootPath %>/Frame/page/js/as_debug_message.js"></script>
|
||||
<script type="text/javascript">
|
||||
AsDebug.alert("提示","未找到数据");
|
||||
AsDebug.alert("提示","该用户没有对应的详情信息!");
|
||||
$(function(){
|
||||
AsControl.OpenView("/Tenwa/Lease/Flow/Comm/BigdataPengyuan/query_report/pengyuanEbankList.jsp", "FlowUnid=<%=flowunid%>","_self","");
|
||||
})
|
||||
</script>
|
||||
<%
|
||||
return ;
|
||||
}else{
|
||||
String[] res = result.split("@");
|
||||
applyId = res[1];
|
||||
@ -144,6 +149,9 @@
|
||||
<script type="text/javascript" src="<%=sWebRootPath %>/Frame/page/js/as_debug_message.js"></script>
|
||||
<script type="text/javascript">
|
||||
AsDebug.alert("提示","获取数据失败");
|
||||
$(function(){
|
||||
AsControl.OpenView("/Tenwa/Lease/Flow/Comm/BigdataPengyuan/query_report/pengyuanEbankList.jsp", "FlowUnid=<%=flowunid%>","_self","");
|
||||
})
|
||||
</script>
|
||||
<%
|
||||
} finally {
|
||||
|
||||
@ -21,10 +21,29 @@
|
||||
boolean flag = true;
|
||||
|
||||
if("GET".equals(getType)) {
|
||||
JBOTransaction tx = JBOFactory.createJBOTransaction();
|
||||
/* JBOTransaction tx = JBOFactory.createJBOTransaction();
|
||||
applyId = SerialNumberUtil.getPengyuanNumber(tx);
|
||||
tx.commit();
|
||||
type = "SAVE";
|
||||
type = "SAVE"; */
|
||||
String result = bdc.getDataApplyId(CurPage, "pengyuan_af", Sqlca);
|
||||
if("false".equals(result)) {
|
||||
%>
|
||||
<script type="text/javascript" src="<%=sWebRootPath %>/Frame/page/js/as_debug_message.js"></script>
|
||||
<script type="text/javascript">
|
||||
AsDebug.alert("提示","该用户没有对应的详情信息!");
|
||||
$(function(){
|
||||
AsControl.OpenView("/Tenwa/Lease/Flow/Comm/BigdataPengyuan/query_report/pengyuandataList.jsp", "FlowUnid=<%=flowunid%>","_self","");
|
||||
})
|
||||
</script>
|
||||
<%
|
||||
return ;
|
||||
} else {
|
||||
String[] res = result.split("@");
|
||||
applyId = res[1];
|
||||
count = res[2];
|
||||
type = "GET";
|
||||
}
|
||||
|
||||
} else {
|
||||
String result = bdc.getDataApplyId(CurPage, "pengyuan_af", Sqlca);
|
||||
if("false".equals(result)) {
|
||||
|
||||
@ -56,7 +56,7 @@ public class SerialNumberUtil {
|
||||
}
|
||||
//ÅôÔªapply_id
|
||||
public static synchronized String getPengyuanNumber(JBOTransaction tx) throws Exception{
|
||||
return SerialNumberUtil.getSerialNumber("{year}{month}{day}{maxOrderNumber}",9,null, "", null, tx);
|
||||
return SerialNumberUtil.getSerialNumber("{year}{month}{day}{maxOrderNumber}",9,null, "ÅôÔªapply_id", null, tx);
|
||||
}
|
||||
/**
|
||||
* ͨÁª´ú¿ÛÁ÷Ë®ºÅ
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user