网银接口以及调息模块修改
This commit is contained in:
parent
750baed936
commit
2f1494a306
@ -0,0 +1,37 @@
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
|
||||
/*
|
||||
Author: undefined 2017-08-02
|
||||
Content:
|
||||
History Log:
|
||||
*/
|
||||
ASObjectModel doTemp = new ASObjectModel("LCStandardInterestList");
|
||||
doTemp.appendJboWhere("O.adjust_interest_source<>'own' or O.adjust_interest_source is null");
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
|
||||
dwTemp.Style="1"; //--设置为Grid风格--
|
||||
dwTemp.ReadOnly = "1"; //只读模式
|
||||
dwTemp.setPageSize(10);
|
||||
dwTemp.genHTMLObjectWindow("");
|
||||
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格
|
||||
String sButtons[][] = {
|
||||
{"true","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""},
|
||||
{"true","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""},
|
||||
{"true","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0)","","","","btn_icon_delete",""},
|
||||
};
|
||||
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
|
||||
<script type="text/javascript">
|
||||
function newRecord(){
|
||||
var sUrl = "/Tenwa/Core/Standard/LCStandardInterestInfo.jsp";
|
||||
AsControl.OpenView(sUrl,'','_self','');
|
||||
}
|
||||
function viewAndEdit(){
|
||||
var sUrl = "/Tenwa/Core/Standard/LCStandardInterestInfo.jsp";
|
||||
var sPara = getItemValue(0,getRow(0),'id');
|
||||
if(typeof(sPara)=="undefined" || sPara.length==0 ){
|
||||
alert("参数不能为空!");
|
||||
return ;
|
||||
}
|
||||
AsControl.OpenView(sUrl,'id=' +sPara ,'_self','');
|
||||
}
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
@ -1,37 +1,11 @@
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
|
||||
/*
|
||||
Author: undefined 2017-08-02
|
||||
Content:
|
||||
History Log:
|
||||
*/
|
||||
ASObjectModel doTemp = new ASObjectModel("LCStandardInterestList");
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
|
||||
dwTemp.Style="1"; //--设置为Grid风格--
|
||||
dwTemp.ReadOnly = "1"; //只读模式
|
||||
dwTemp.setPageSize(10);
|
||||
dwTemp.genHTMLObjectWindow("");
|
||||
|
||||
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格
|
||||
String sButtons[][] = {
|
||||
{"true","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""},
|
||||
{"true","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""},
|
||||
{"true","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0)","","","","btn_icon_delete",""},
|
||||
};
|
||||
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
|
||||
<script type="text/javascript">
|
||||
function newRecord(){
|
||||
var sUrl = "/Tenwa/Core/Standard/LCStandardInterestInfo.jsp";
|
||||
AsControl.OpenView(sUrl,'','_self','');
|
||||
}
|
||||
function viewAndEdit(){
|
||||
var sUrl = "/Tenwa/Core/Standard/LCStandardInterestInfo.jsp";
|
||||
var sPara = getItemValue(0,getRow(0),'id');
|
||||
if(typeof(sPara)=="undefined" || sPara.length==0 ){
|
||||
alert("参数不能为空!");
|
||||
return ;
|
||||
}
|
||||
AsControl.OpenView(sUrl,'id=' +sPara ,'_self','');
|
||||
}
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/IncludeBegin.jsp"%><%
|
||||
%><%@include file="/Resources/CodeParts/Frame02.jsp"%>
|
||||
<script type="text/javascript">
|
||||
mytoptd.height=270;
|
||||
AsControl.OpenView("/Tenwa/Core/Standard/CentralLCStandardInterestList.jsp","","rightup","");
|
||||
AsControl.OpenView("/Tenwa/Core/Standard/LCStandardInterestforOwnList.jsp","","rightdown","");
|
||||
setTitle("ŃëĐĐ",true);
|
||||
setTitle("ÎŇËž",false);
|
||||
</script>
|
||||
<%@ include file="/IncludeEnd.jsp"%>
|
||||
@ -0,0 +1,38 @@
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
|
||||
/*
|
||||
Author: undefined 2017-08-02
|
||||
Content:
|
||||
History Log:
|
||||
*/
|
||||
String condition=CurPage.getAttribute("forwhere");
|
||||
ASObjectModel doTemp = new ASObjectModel("LCStandardInterestList");
|
||||
doTemp.appendJboWhere("O.adjust_interest_source='own'");
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
|
||||
dwTemp.Style="1"; //--设置为Grid风格--
|
||||
dwTemp.ReadOnly = "1"; //只读模式
|
||||
dwTemp.setPageSize(10);
|
||||
dwTemp.genHTMLObjectWindow("");
|
||||
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格
|
||||
String sButtons[][] = {
|
||||
{"true","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""},
|
||||
{"true","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""},
|
||||
{"true","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0)","","","","btn_icon_delete",""},
|
||||
};
|
||||
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
|
||||
<script type="text/javascript">
|
||||
function newRecord(){
|
||||
var sUrl = "/Tenwa/Core/Standard/LCStandardInterestInfo.jsp";
|
||||
AsControl.OpenView(sUrl,'','_self','');
|
||||
}
|
||||
function viewAndEdit(){
|
||||
var sUrl = "/Tenwa/Core/Standard/LCStandardInterestInfo.jsp";
|
||||
var sPara = getItemValue(0,getRow(0),'id');
|
||||
if(typeof(sPara)=="undefined" || sPara.length==0 ){
|
||||
alert("参数不能为空!");
|
||||
return ;
|
||||
}
|
||||
AsControl.OpenView(sUrl,'id=' +sPara ,'_self','');
|
||||
}
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
@ -9,7 +9,8 @@
|
||||
*/
|
||||
String userid=CurUser.getUserID();
|
||||
String department=CurUser.getOrgID();
|
||||
ASObjectModel doTemp = new ASObjectModel("LCEbankList");
|
||||
//ASObjectModel doTemp = new ASObjectModel("LCEbankList");
|
||||
ASObjectModel doTemp = new ASObjectModel("LCEbankListchly");
|
||||
//String sCondtion=DataRightManager.getRightCondtion(CurUser,(CurUser.hasRole("299")?session.getAttribute("managerPlatFormOrgId").toString():CurUser.getOrgID()), Sqlca, "O.","default");
|
||||
//doTemp.appendJboWhere(sCondtion);
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
|
||||
|
||||
@ -1,27 +1,43 @@
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
|
||||
/*
|
||||
Author: undefined 2017-08-02
|
||||
Content: 示例详情页面
|
||||
History Log:
|
||||
*/
|
||||
|
||||
String sFlowUnid = CurPage.getParameter("FlowUnid");//流程编号
|
||||
String ishistory=CurPage.getParameter("IsHistory");
|
||||
String sTempletNo = "LCStandardInterestTempInfo";//--模板号--
|
||||
|
||||
CurPage.getCurComp().setAttribute("RightType", null);
|
||||
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
||||
if(null!=ishistory&&ishistory.equals("true")){
|
||||
doTemp.setDataQueryClass("com.tenwa.flow.flowHistory.FlowDataInfoHistory");//如果是历史则新显示历史数据
|
||||
}
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
|
||||
dwTemp.Style = "2";//freeform
|
||||
dwTemp.ReadOnly = "-2";//只读模式
|
||||
dwTemp.genHTMLObjectWindow(sFlowUnid);
|
||||
|
||||
String sButtons[][] = {
|
||||
};
|
||||
sButtonPosition = "south";
|
||||
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
<%@ 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<String,String> param=new HashMap<String, String>();
|
||||
param.put("start_date", startdate);
|
||||
List<Map<String,String>>list= DataOperatorUtil.getDataBySql(tx, sql, param);
|
||||
//flowold=JBOFactory.createBizObjectQuery("jbo.app.tenwa.calc.LC_STANDARD_INTEREST","SELECT id FROM O WHERE O.start_date<:start_date ORDER BY O.start_date DESC LIMIT 0,1").setParameter("start_date", startdate).getSingleResult(false);
|
||||
if(list.size()>0){
|
||||
oldid=list.get(0).get("id");
|
||||
}
|
||||
|
||||
}
|
||||
tx.commit();
|
||||
%><%@include file="/Resources/CodeParts/Frame02.jsp"%>
|
||||
<script type="text/javascript">
|
||||
mytoptd.height=200;
|
||||
AsControl.OpenView("/Tenwa/Lease/Flow/Comm/LCStandard/NowLCStandardInterestTempInof.jsp","","rightup","");
|
||||
AsControl.OpenView("/Tenwa/Lease/Flow/Comm/LCStandard/OldLCStandardInterestTempInof.jsp","sid=<%=oldid%>","rightdown","");
|
||||
setTitle("뎠품적쪽",true);
|
||||
setTitle("<22>늴적쪽",false);
|
||||
</script>
|
||||
<%@ include file="/IncludeEnd.jsp"%>
|
||||
@ -0,0 +1,34 @@
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
|
||||
/*
|
||||
Author: undefined 2017-08-02
|
||||
Content: 示例详情页面
|
||||
History Log:
|
||||
*/
|
||||
|
||||
String sFlowUnid = CurPage.getParameter("FlowUnid");//流程编号
|
||||
String ishistory=CurPage.getParameter("IsHistory");
|
||||
String sTempletNo = "LCStandardInterestTempInfo";//--模板号--
|
||||
|
||||
CurPage.getCurComp().setAttribute("RightType", null);
|
||||
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
||||
if(null!=ishistory&&ishistory.equals("true")){
|
||||
doTemp.setDataQueryClass("com.tenwa.flow.flowHistory.FlowDataInfoHistory");//如果是历史则新显示历史数据
|
||||
}
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
|
||||
dwTemp.Style = "2";//freeform
|
||||
dwTemp.ReadOnly = "-2";//只读模式
|
||||
dwTemp.genHTMLObjectWindow(sFlowUnid);
|
||||
//dwTemp.replaceColumn("other", "<iframe type='iframe' id='frame_list_other' name=\"frame_list_other\" width=\"100%\" height=\"400px\" frameborder=\"0\" src=\""+sWebRootPath+"/Tenwa/Lease/Flow/Comm/LCStandard/OldLCStandardInterestTempInof.jsp\"></iframe>", CurPage.getObjectWindowOutput());
|
||||
String sButtons[][] = {
|
||||
};
|
||||
sButtonPosition = "south";
|
||||
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||||
<script type="text/javascript">
|
||||
/* //mytoptd.height=100;
|
||||
function openview(){
|
||||
AsControl.OpenView("/Tenwa/Lease/Flow/Comm/LCStandard/OldLCStandardInterestTempInof.jsp","","rightdown","");
|
||||
}
|
||||
openview(); */
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
@ -0,0 +1,34 @@
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
|
||||
/*
|
||||
Author: undefined 2017-08-02
|
||||
Content: 示例详情页面
|
||||
History Log:
|
||||
*/
|
||||
|
||||
String id = (String)CurPage.getParameter("sid");//流程编号
|
||||
String ishistory=CurPage.getParameter("IsHistory");
|
||||
String sTempletNo = "OldLCStandardInterestTempInfo";//--模板号--
|
||||
|
||||
CurPage.getCurComp().setAttribute("RightType", null);
|
||||
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
||||
if(null!=ishistory&&ishistory.equals("true")){
|
||||
doTemp.setDataQueryClass("com.tenwa.flow.flowHistory.FlowDataInfoHistory");//如果是历史则新显示历史数据
|
||||
}
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
|
||||
dwTemp.Style = "2";//freeform
|
||||
dwTemp.ReadOnly = "-2";//只读模式
|
||||
dwTemp.genHTMLObjectWindow(id);
|
||||
//dwTemp.replaceColumn("other", "<iframe type='iframe' id='frame_list_other' name=\"frame_list_other\" width=\"100%\" height=\"400px\" frameborder=\"0\" src=\""+sWebRootPath+"/Tenwa/Lease/Flow/Comm/LCStandard/OldLCStandardInterestTempInof.jsp\"></iframe>", CurPage.getObjectWindowOutput());
|
||||
String sButtons[][] = {
|
||||
};
|
||||
sButtonPosition = "south";
|
||||
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||||
<script type="text/javascript">
|
||||
/* //mytoptd.height=100;
|
||||
function openview(){
|
||||
AsControl.OpenView("/Tenwa/Lease/Flow/Comm/LCStandard/OldLCStandardInterestTempInof.jsp","","rightdown","");
|
||||
}
|
||||
openview(); */
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
@ -7,7 +7,7 @@
|
||||
<attribute name="EBANK_NUMBER" label="网银编号" type="STRING" length="50"/>
|
||||
<attribute name="EBANK_SN" label="流水号" type="STRING" length="100"/>
|
||||
<attribute name="MONEY_TYPE" label="到账金额类型" type="STRING" length="32"/>
|
||||
<attribute name="FACT_MONEY" label="到账金额" type="DOUBLE" length="22" scale="2"/>
|
||||
<attribute name="FACT_MONEY" label="贷方金额" type="DOUBLE" length="22" scale="2"/>
|
||||
<attribute name="FACT_DATE" label="到账时间" type="STRING" length="20"/>
|
||||
<attribute name="NOWITH_MONEY" label="非业务金额[与系统无关金额]" type="DOUBLE" length="22" scale="2"/>
|
||||
<attribute name="COIN" label="币种" type="STRING" length="32"/>
|
||||
@ -2223,6 +2223,7 @@
|
||||
<attribute name="UPDATEUSERID" label="修改人" type="STRING" length="32"/>
|
||||
<attribute name="UPDATETIME" label="修改时间" type="STRING" length="32"/>
|
||||
<attribute name="UPDATEORGID" label="修改部门" type="STRING" length="32"/>
|
||||
<attribute name="adjust_interest_source" label="调息来源" type="STRING" length="32"/>
|
||||
</attributes>
|
||||
<manager>
|
||||
<managerProperties>
|
||||
@ -2253,6 +2254,7 @@
|
||||
<attribute name="UPDATEUSERID" label="修改人" type="STRING" length="32"/>
|
||||
<attribute name="UPDATETIME" label="修改时间" type="STRING" length="32"/>
|
||||
<attribute name="UPDATEORGID" label="修改部门" type="STRING" length="32"/>
|
||||
<attribute name="adjust_interest_source" label="调息来源" type="STRING" length="32"/>
|
||||
</attributes>
|
||||
<manager>
|
||||
<managerProperties>
|
||||
|
||||
@ -116,7 +116,7 @@ public class LCEbankCallBack extends BaseImportExcelCallBack {
|
||||
throw new BusinessException("网银编号不能重复");
|
||||
}
|
||||
|
||||
//检验本方帐号
|
||||
/*//检验本方帐号
|
||||
String own_acc_number=importObject.getAttribute("ownacc_number").toString();
|
||||
//与已有的本方帐号比较
|
||||
BizObjectManager bm=JBOFactory.getBizObjectManager(OWN_ACCOUNT.CLASS_NAME);
|
||||
@ -129,7 +129,7 @@ public class LCEbankCallBack extends BaseImportExcelCallBack {
|
||||
}
|
||||
if(flag==false){
|
||||
throw new BusinessException("本方帐号不存在");
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user