<%@page import="com.amarsoft.biz.evaluate.EvaluateManager"%> <%@ page contentType="text/html; charset=GBK"%><%@ include file="/IncludeBeginMD.jsp"%><% /* Content: 新增评级 Input Param: ObjectType: 对象类型 ObjectNo : 对象编号 ModelType : 评估模型类型 010--信用等级评估 030--风险度评估 080--授信限额 018--信用村镇评定 具体由'EvaluateModelType'代码说明 */ String sDefaultModelNo="", sAccountMonthInputType = "", sAccountMonthExplanation=""; String sObjectType = CurPage.getParameter("ObjectType"); String sObjectNo = CurPage.getParameter("ObjectNo"); String sModelType = CurPage.getParameter("ModelType"); if(sModelType==null) sModelType = ""; JBOTransaction tx = JBOFactory.createJBOTransaction(); EvaluateManager evalManager = null; try{ evalManager = new EvaluateManager(sObjectType, sObjectNo,sModelType, tx); tx.commit(); }catch(Exception e){ tx.rollback(); throw e; } String sModelTypeAttributes = evalManager.getModelTypeAttributes(); /* 等级评估变量说明 sModelTypeAttributes 模型相关的参数定义串 sAccountMonthSelectSQL sAccountMonthExplanation 对于会计月份的补充说明 sDefaultModelNoSQL 取得对应类型的查询语句 */ sAccountMonthInputType = StringFunction.getProfileString(sModelTypeAttributes,"AccountMonthInputType"); //sAccountMonthSelectSQL = StringFunction.getProfileString(sModelTypeAttributes,"AccountMonthSelectSQL"); sAccountMonthExplanation = StringFunction.getProfileString(sModelTypeAttributes,"AccountMonthExplanation"); //sDefaultModelNoSQL = StringFunction.getProfileString(sModelTypeAttributes,"DefaultModelNoSQL"); //取得对应的评估模型 sDefaultModelNo = evalManager.getModelNo(); String EVALUATE_CATALOG = SqlObject.getTable("jbo.sys.EVALUATE_CATALOG"); %> <%=evalManager.getModelTypeName()%> - 新增
 
<% if(sAccountMonthInputType.equals("select")){ %> <% }else{ %> <% } %>
 
月份: (<%=sAccountMonthExplanation%>)
月份:
 
模型:
 
                   <%=new Button("确定", "确定进行新评估", "setNext()", "", "").getHtmlText()%> <%=new Button("取消", "取消新评估", "parent.AsDialog.ClosePage();", "", "").getHtmlText()%>
<%@ include file="/IncludeEnd.jsp"%>