<%@page import="com.amarsoft.acct.accounting.web.AheadPaymentCalculate"%> <%@ page contentType="text/html; charset=GBK"%> <%@ include file="/IncludeBegin.jsp"%> <%@ include file="/Accounting/include_accounting.jspf"%> <%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List00;Describe=注释区;]~*/%> <% /* Author: zmxu 20120614 Tester: Content: 提前还款还款咨询 Input Param: Output param: History Log: */ %> <%/*~END~*/%> <%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List01;Describe=定义页面属性;]~*/%> <% String PG_TITLE = "提前还款还款咨询"; // 浏览器窗口标题 PG_TITLE %> <%/*~END~*/%> <%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List01;Describe=定义页面属性;]~*/%> <% //交易流水号 String transactionSerialNo = (String)CurPage.getParameter("TransactionSerialNo");//交易流水号 if(transactionSerialNo == null) { throw new Exception("交易流水【TransactionSerialNo】没值!"); } AheadPaymentCalculate ahead = new AheadPaymentCalculate(); ahead.setTransactionSerialNo(transactionSerialNo); BusinessObject payment = ahead.run(); %> <%/*~END~*/%>
提前归还本金: <%=DataConvert.toMoney(payment.getDouble("PrePayPrincipalAmt")) %>
提前归还利息: <%=DataConvert.toMoney(payment.getDouble("PrePayInterestAmt")) %>
溢缴金额: <%=DataConvert.toMoney(payment.getDouble("SuspenseAmt")) %>
总金额: <%=DataConvert.toMoney(payment.getDouble("PrePayPrincipalAmt")+payment.getDouble("PrePayInterestAmt")+payment.getDouble("SuspenseAmt"))%>
<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List06;Describe=定义按钮事件;]~*/%> <%/*~END~*/%> <%@ include file="/IncludeEnd.jsp"%>