%@ page contentType="text/html; charset=GBK"%>
<%@page import="com.tenwa.reckon.util.TbBeanTools"%>
<%@page import="com.tenwa.reckon.bean.TabCalBean"%>
<%@page import="com.amarsoft.are.jbo.JBOTransaction"%>
<%@page import="com.tenwa.comm.util.jboutil.DataOperatorUtil"%>
<%@ include file="/IncludeBegin.jsp"%><%
/*
Author: undefined 2017-08-02
Content: 示例详情页面
History Log:
*/
JBOTransaction tx=null;
tx=JBOFactory.createJBOTransaction();
String sFlowUnid = CurPage.getParameter("FlowUnid");//流程编号
BizObject flow=JBOFactory.createBizObjectQuery("jbo.app.tenwa.calc.LC_STANDARD_INTEREST_TEMP","flowunid=:flowunid").setParameter("flowunid", sFlowUnid).getSingleResult(false);
String startdate="";
if(flow!=null){
startdate=flow.getAttribute("start_date").getString();
}
BizObject flowold=null;
String oldid="";
if(!startdate.equals("")&&startdate!=null){
String sql="SELECT id FROM LC_STANDARD_INTEREST WHERE start_date<:start_date ORDER BY start_date DESC LIMIT 0,1";
Map param=new HashMap();
param.put("start_date", startdate);
List