Merge branch 'develop' of git@git2.tenwa.com.cn:ApzlDev/apzl_leasing.git into chenleiying2

This commit is contained in:
amarsoft 2018-06-13 14:03:07 +08:00
commit 90eb63c5c2
486 changed files with 27043 additions and 36091 deletions

View File

@ -1,32 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="calc"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="src_acct"/>
<classpathentry kind="src" path="src_app"/>
<classpathentry kind="src" path="src_base"/>
<classpathentry kind="src" path="src_core"/>
<classpathentry kind="src" path="src_jbo"/>
<classpathentry kind="src" path="src_prd"/>
<classpathentry kind="src" path="src_sys"/>
<classpathentry kind="src" path="src_tenwa"/>
<classpathentry kind="src" path="work"/>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
<classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v7.0">
<attributes>
<attribute name="owner.project.facets" value="jst.web"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre7">
<attributes>
<attribute name="owner.project.facets" value="java"/>
</attributes>
</classpathentry>
<classpathentry kind="var" path="TOMCAT_HOME/lib/servlet-api.jar"/>
<classpathentry kind="var" path="TOMCAT_HOME/lib/jasper.jar"/>
<classpathentry kind="var" path="TOMCAT_HOME/lib/jsp-api.jar"/>
<classpathentry kind="var" path="TOMCAT_HOME/lib/el-api.jar"/>
<classpathentry kind="var" path="TOMCAT_HOME/lib/annotations-api.jar"/>
<classpathentry kind="output" path="WebContent/WEB-INF/classes"/>
</classpath>

View File

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<tomcatProjectProperties>
<rootDir>/WebContent</rootDir>
<exportSource>false</exportSource>
<reloadable>true</reloadable>
<redirectLogger>false</redirectLogger>
<updateXml>true</updateXml>
<warLocation></warLocation>
<extraInfo></extraInfo>
<webPath>/apzl</webPath>
</tomcatProjectProperties>

35
WebContent/404.html Normal file
View File

@ -0,0 +1,35 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="gb2312" />
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no,width=device-width,height=device-height">
<meta name="format-detection" content="telephone=no" />
<meta http-equiv="Cache-Control" content="no-transform" />
<title>App应用下载</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery/jquery-1.11.0.min.js"></script>
<style type="text/css">
#weixin-tip{display:none;position:fixed;left:0;top:0;background:rgba(0,0,0,0.8);filter:alpha(opacity=80);width:100%;height:100%;z-index:100;}
#weixin-tip p{text-align:center;margin-top:10%;padding:0 5%;position:relative;}
#weixin-tip .close{color:#fff;padding:5px;font:bold 20px/24px simsun;text-shadow:0 1px 0 #ddd;position:absolute;top:0;left:5%;}
.butonpanle{width: 100%;margin-top:10%; height: 20%}
.android-btn{width:80%;height: 30%;padding-top: 2%;padding-bottom: 3%;border:0.5;background-color: #8DB6CD;color:white;fount-size:16;display: block;margin: 0 auto;}
img{display: block;margin: 0 auto;}
#tips{margin: 0 auto;width: 100%;color:red; white-space: pre-wrap; text-align: center;}
</style>
</head>
<body style="background-color: #F4F4F4;width: 100%;text-align: center">
<div id="img-content">
<h3>404</h3>
<hr>
下载文件不存在!
<br/>
<label id="tips"></label>
</div>
<div id="weixin-tip">
<p><img src="${pageContext.request.contextPath}/image/down_wx_t.png" alt="微信扫描打开APP下载链接提示代码优化" alt="微信打开"/>
</div>
</body>
</html>

35
WebContent/406.html Normal file
View File

@ -0,0 +1,35 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="gb2312" />
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no,width=device-width,height=device-height">
<meta name="format-detection" content="telephone=no" />
<meta http-equiv="Cache-Control" content="no-transform" />
<title>南方租赁</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery/jquery-1.11.0.min.js"></script>
<style type="text/css">
#weixin-tip{display:none;position:fixed;left:0;top:0;background:rgba(0,0,0,0.8);filter:alpha(opacity=80);width:100%;height:100%;z-index:100;}
#weixin-tip p{text-align:center;margin-top:10%;padding:0 5%;position:relative;}
#weixin-tip .close{color:#fff;padding:5px;font:bold 20px/24px simsun;text-shadow:0 1px 0 #ddd;position:absolute;top:0;left:5%;}
.butonpanle{width: 100%;margin-top:10%; height: 20%}
.android-btn{width:80%;height: 30%;padding-top: 2%;padding-bottom: 3%;border:0.5;background-color: #8DB6CD;color:white;fount-size:16;display: block;margin: 0 auto;}
img{display: block;margin: 0 auto;}
#tips{margin: 0 auto;width: 100%;color:red; white-space: pre-wrap; text-align: center;}
</style>
</head>
<body style="background-color: #F4F4F4;width: 100%;text-align: center">
<div id="img-content">
<h3>406</h3>
<hr>
当前为APP服务WEB无效访问权限!
<br/>
<label id="tips"></label>
</div>
<div id="weixin-tip">
<p><img src="${pageContext.request.contextPath}/image/down_wx_t.png" alt="微信扫描打开APP下载链接提示代码优化" alt="微信打开"/>
</div>
</body>
</html>

View File

@ -11,7 +11,7 @@
String sTempletNo = "DDepositReturn_TempInfo";//--Ä£°åºÅ--
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
doTemp.setColTips("", "²âÊÔ");
/* doTemp.setColTips("", "²âÊÔ"); */
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
dwTemp.Style = "2";//freeform
//dwTemp.ReadOnly = "-2";//Ö»¶Áģʽ

View File

@ -11,7 +11,7 @@
String sTempletNo = "DMarginChargeInfo_Temp";//--Ä£°åºÅ--
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
doTemp.setColTips("", "²âÊÔ");
/* doTemp.setColTips("", "²âÊÔ"); */
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
dwTemp.Style = "2";//freeform
//dwTemp.ReadOnly = "-2";//Ö»¶Áģʽ

View File

@ -4,7 +4,7 @@
<script type="text/javascript">
/*~[Describe=新增记录;InputParam=无;OutPutParam=无;]~*/
function newApply(){
AsDialog.OpenSelector("selectDealerInfo","","dialogWidth=" + parseInt(window.screen.width * 0.8) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px",function(sReturn){
AsDialog.OpenSelector("selectDealerChargeInfo","","dialogWidth=" + parseInt(window.screen.width * 0.8) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px",function(sReturn){
if(!sReturn||sReturn=="_CANCEL_"){
//alert(getHtmlMessage('1'));//请选择一条信息!
return;

View File

@ -4,7 +4,7 @@
<script type="text/javascript">
/*~[Describe=新增记录;InputParam=无;OutPutParam=无;]~*/
function newApply(){
AsDialog.OpenSelector("selectDealerInfo","","dialogWidth=" + parseInt(window.screen.width * 0.8) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px",function(sReturn){
AsDialog.OpenSelector("selectDealerReturnInfo","","dialogWidth=" + parseInt(window.screen.width * 0.8) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px",function(sReturn){
if(!sReturn||sReturn=="_CANCEL_"){
//alert(getHtmlMessage('1'));//请选择一条信息!
return;

View File

@ -29,7 +29,7 @@
String PG_TITLE = "业务申请"; // 浏览器窗口标题 <title> PG_TITLE </title>
String PG_CONTENT_TITLE = "&nbsp;&nbsp;基本信息&nbsp;&nbsp;"; //默认的内容区标题
String PG_CONTNET_TEXT = "请点击左侧列表";//默认的内容区文字
String PG_LEFT_WIDTH = "200";//默认的treeview宽度
String PG_LEFT_WIDTH = "200";//默认的treeview宽度
%>
<%/*~END~*/%>

View File

@ -10,7 +10,7 @@
String sTempletNo = "DPayrecv_Info";//--Ä£°åºÅ--
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
doTemp.setColTips("", "²âÊÔ");
/* doTemp.setColTips("", "²âÊÔ"); */
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
dwTemp.Style = "2";//freeform
//dwTemp.ReadOnly = "-2";//Ö»¶Áģʽ

View File

@ -0,0 +1,37 @@
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
/*
Author: undefined 2018-06-06
Content:
History Log:
*/
ASObjectModel doTemp = new ASObjectModel("LM_CAR_BRANDSERIES_LIST");
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",""},
{"false","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""},
{"false","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0,'alert(getRowCount(0))')","","","","btn_icon_delete",""},
};
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
function newRecord(){
var sUrl = "";
AsControl.OpenView(sUrl,'','_self','');
}
function viewAndEdit(){
var sUrl = "";
var sPara = getItemValue(0,getRow(0),'SerialNo');
if(typeof(sPara)=="undefined" || sPara.length==0 ){
alert("参数不能为空!");
return ;
}
AsControl.OpenView(sUrl,'SerialNo=' +sPara ,'_self','');
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>

View File

@ -0,0 +1,20 @@
<%@ page contentType="text/html; charset=GBK"%><%@
include file="/IncludeBegin.jsp"%><%
/*
页面说明: 示例上下联动框架页面
*/
String distributorId = CurPage.getParameter("distributorId");
%><%@include file="/Resources/CodeParts/Frame02.jsp"%>
<script type="text/javascript">
mytoptd.height=150;
OpenList();
OpenInfo();
function OpenList(){
AsControl.OpenView("/Tenwa/Apzl/PortalToCarType/LmDistributorInfo.jsp","distributorId=<%=distributorId%>","rightup");
}
function OpenInfo(){
AsControl.OpenView("/Tenwa/Apzl/PortalToCarType/LmDistributorToCarList.jsp", "DISTRIBUTOR_ID=<%=distributorId%>", "rightdown");
}
</script>
<%@ include file="/IncludeEnd.jsp"%>

View File

@ -0,0 +1,29 @@
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
/*
Author: undefined 2018-06-08
Content: 示例详情页面
History Log:
*/
String sPrevUrl = CurPage.getParameter("PrevUrl");
if(sPrevUrl == null) sPrevUrl = "";
String sTempletNo = "LmDistributorInfo";//--模板号--
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
dwTemp.Style = "2";//freeform
dwTemp.ReadOnly = "-2";//只读模式
dwTemp.genHTMLObjectWindow(CurPage.getParameter("distributorId"));
String sButtons[][] = {
//{"true","All","Button","保存","保存所有修改","as_save(0)","","","",""},
//{String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","返回","返回列表","returnList()","","","",""}
};
sButtonPosition = "south";
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<script type="text/javascript">
function returnList(){
AsControl.OpenView("<%=sPrevUrl%>", "","_self","");
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>

View File

@ -0,0 +1,40 @@
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
/*
Author: undefined 2018-06-06
Content:
History Log:
*/
ASObjectModel doTemp = new ASObjectModel("LM_DISTRIBUTOR_LIST");
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[][] = {
{"false","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""},
{"false","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""},
{"false","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0,'alert(getRowCount(0))')","","","","btn_icon_delete",""},
};
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
function newRecord(){
var sUrl = "";
AsControl.OpenView(sUrl,'','_self','');
}
function afterSearch(){
for(var i=0;i<getRowCount(0);i++){
if(getObj(0,i,"EDIT")!=null){
getObj(0,i,"EDIT").innerHTML='<a class="box" style="text-align:center;" onclick="showCar(\''+getItemValue(0,i,"ID")+'\')" style={color:#000;text-decoration:underline;}><font color="blue">&nbsp&nbsp&nbsp&nbsp&nbsp编辑</font></ a>';
}
};
}
function showCar(id){
var sUrl="/Tenwa/Apzl/PortalToCarType/LmDistributorCar.jsp";
var param="distributorId="+id;
AsDialog.PopView(sUrl,param,"dialogWidth=800px;dialogHeight=480px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){reloadSelf();},"配置车辆");
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>

View File

@ -0,0 +1,63 @@
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
/*
Author: undefined 2018-06-06
Content:
History Log:
*/
ASObjectModel doTemp = new ASObjectModel("LM_DISTRIBUTOR_TO_CAR");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
String distributorId = CurPage.getParameter("DISTRIBUTOR_ID");
dwTemp.Style="1"; //--设置为Grid风格--
dwTemp.ReadOnly = "1"; //只读模式
dwTemp.setPageSize(10);
dwTemp.genHTMLObjectWindow(distributorId);
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标CSS层叠样式 10、风格
String sButtons[][] = {
{"true","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""},
{"false","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""},
{"true","","Button","删除","删除","asDelete()","","","","btn_icon_delete",""},
};
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
function newRecord(){
var Return = "<%=CurUser.getUserID()%>@~<%=CurUser.getOrgID()%>@~<%=StringFunction.getTodayNow()%>@~<%=distributorId%>@~";
AsDialog.OpenSelector("DistributeBrandList","distributorid,<%=distributorId%>","dialogWidth=" + parseInt(window.screen.width * 0.8) + "px dialogHeight=" + parseInt(window.screen.height * 0.6) + "px",function(sReturn){
if(!sReturn||sReturn=="_CANCEL_"||sReturn=="_NONE_"){
//alert(getHtmlMessage('1'));//请选择一条信息!
return;
}
Return =Return+sReturn;
sParams = "CarBrandId="+Return;
//alert(sParams);
/*
CarBrandId=admin@~
8009002@~
2018/06/12 15:03:50@~
7c7624a558594bff8387ca6949982b21@~
00303ba448074b0792bd465dd2359b7c@
*/
var sReturnInfo = RunJavaMethodTrans("com.tenwa.apzl.saveunioncar.saveUnionCarUtil","saveLmDistributorToCar",sParams);
reloadSelf();
},"请选择车型");
}
function viewAndEdit(){
var sUrl = "";
var sPara = getItemValue(0,getRow(0),'SerialNo');
if(typeof(sPara)=="undefined" || sPara.length==0 ){
alert("参数不能为空!");
return ;
}
AsControl.OpenView(sUrl,'SerialNo=' +sPara ,'_self','');
}
function asDelete(){
var unionId = getItemValue(0,getRow(0),"ID");
//alert(unionId);
var sReturnInfo = RunJavaMethodTrans("com.tenwa.apzl.saveunioncar.saveUnionCarUtil","deleteLmDistributorToCar","unionId="+unionId);
if(sReturnInfo=="success"){
alert("删除成功!");
}
reloadSelf();
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>

View File

@ -0,0 +1,70 @@
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
/*
Author: undefined 2018-06-06
Content:
History Log:
*/
ASObjectModel doTemp = new ASObjectModel("LM_ORG_LIST");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
// String type = CurPage.getParameter("type");
// if(type == null) type = "";
dwTemp.Style="1"; //--设置为Grid风格--
dwTemp.ReadOnly = "1"; //只读模式
dwTemp.setPageSize(10);
// if("portal".equals(type)){
// doTemp.setVisible("EDIT",false);
// }
dwTemp.genHTMLObjectWindow("");
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标CSS层叠样式 10、风格
String sButtons[][] = {
{"false","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""},
{"false","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""},
{"false","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0,'alert(getRowCount(0))')","","","","btn_icon_delete",""},
};
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
function newRecord(){
var sUrl = "";
AsControl.OpenView(sUrl,'','_self','');
}
function viewAndEdit(){
var sUrl = "";
var sPara = getItemValue(0,getRow(0),'SerialNo');
if(typeof(sPara)=="undefined" || sPara.length==0 ){
alert("参数不能为空!");
return ;
}
AsControl.OpenView(sUrl,'SerialNo=' +sPara ,'_self','');
}
// $(function(){
<%-- var type = '<%=type%>' --%>
// if(type=="portal"){
// var sPara = getItemValue(0,getRow(0),'ORGID');
// parent.OpenInfo(sPara);
// /* 单击事件*/
// function mySelectRow(){
// var sPara = getItemValue(0,getRow(0),'ORGID');
// parent.OpenInfo(sPara);
// };
// }
// });
function afterSearch(){
for(var i=0;i<getRowCount(0);i++){
if(getObj(0,i,"EDIT")!=null){
getObj(0,i,"EDIT").innerHTML='<a class="box" style="text-align:center;" onclick="showCar(\''+getItemValue(0,i,"orgid")+'\')" style={color:#000;text-decoration:underline;}><font color="blue">&nbsp&nbsp&nbsp&nbsp&nbsp编辑</font></ a>';
}
};
}
function showCar(id){
var sUrl="/Tenwa/Cczl/PortalToCarType/LmPortalCar.jsp";
var param="orgid="+id;
AsDialog.PopView(sUrl,param,"dialogWidth=800px;dialogHeight=480px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){reloadSelf();},"配置车辆");
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>

View File

@ -0,0 +1,29 @@
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
/*
Author: undefined 2018-06-08
Content: 示例详情页面
History Log:
*/
String sPrevUrl = CurPage.getParameter("PrevUrl");
if(sPrevUrl == null) sPrevUrl = "";
String sTempletNo = "LmOrgInfo";//--模板号--
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
dwTemp.Style = "2";//freeform
dwTemp.ReadOnly = "-2";//只读模式
dwTemp.genHTMLObjectWindow(CurPage.getParameter("ORGID"));
String sButtons[][] = {
{"false","All","Button","保存","保存所有修改","as_save(0)","","","",""},
{String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","返回","返回列表","returnList()","","","",""}
};
sButtonPosition = "south";
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<script type="text/javascript">
function returnList(){
AsControl.OpenView("<%=sPrevUrl%>", "","_self","");
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>

View File

@ -0,0 +1,66 @@
<%@page import="org.apache.poi.poifs.property.Parent"%>
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
/*
Author: undefined 2018-06-07
Content:
History Log:
*/
String TYPENO= CurPage.getParameter("TYPENO");
ASObjectModel doTemp = new ASObjectModel("LmProductAndCarList");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1"; //--设置为Grid风格--
dwTemp.ReadOnly = "1"; //只读模式
dwTemp.setPageSize(10);
dwTemp.genHTMLObjectWindow(TYPENO);
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标CSS层叠样式 10、风格
String sButtons[][] = {
{"true","","Button","新增","新增","newRecord()","","","","btn_icon_add",""},
//{"true","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""},
//{"true","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0,'alert(getRowCount(0))')","","","","btn_icon_delete",""},
{"true","","Button","删除","删除","asDelete()","","","","btn_icon_delete",""},
};
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
function newRecord(){
debugger;
var Return="<%=CurUser.getUserID()%>@~<%=CurUser.getOrgID()%>@~<%=StringFunction.getTodayNow()%>@~<%=TYPENO%>@~";
productid="<%=TYPENO%>";
AsDialog.OpenSelector("SelectCarInfo","productid,"+productid,"dialogWidth=" + parseInt(window.screen.width * 0.5) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px",
function(sReturn){
if(!sReturn||sReturn=="_CANCEL_"||sReturn=="")
{
//alert(getHtmlMessage('1'));//请选择一条信息!
return;
}
Return=Return+sReturn;
sParams="PCinfo="+Return;
var sReturnInfo = RunJavaMethodTrans("com.tenwa.apzl.saveunioncar.saveProductAndCar","saveCarToProduct",sParams);
reloadSelf();
},"请选择汽车",'');
}
function viewAndEdit(){
var sUrl = "";
var sPara = getItemValue(0,getRow(0),'SerialNo');
if(typeof(sPara)=="undefined" || sPara.length==0 ){
alert("参数不能为空!");
return ;
}
AsControl.OpenView(sUrl,'SerialNo=' +sPara ,'_self','');
}
function asDelete(){
var unionId = getItemValue(0,getRow(0),"ID");
//alert(unionId);
var sReturnInfo = RunJavaMethodTrans("com.tenwa.apzl.saveunioncar.saveProductAndCar","deleteLmProductCar","unionId="+unionId);
if(sReturnInfo=="success"){
alert("删除成功!");
}
reloadSelf();
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>

View File

@ -0,0 +1,32 @@
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
/*
Author: undefined 2018-06-06
Content: 示例详情页面
History Log:
*/
String sPrevUrl = CurPage.getParameter("PrevUrl");
if(sPrevUrl == null) sPrevUrl = "";
String sTempletNo = "LmProductCarInfo";//--模板号--
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
dwTemp.Style = "2";//freeform
dwTemp.ReadOnly = "-2";//只读模式
dwTemp.genHTMLObjectWindow(CurPage.getParameter("TYPENO"));
String sButtons[][] = {
//{"true","All","Button","保存","保存所有修改","save()","","","",""},
//{"true","All","Button","返回","返回列表","returnList()","","","",""}
};
sButtonPosition = "south";
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<script type="text/javascript">
/* function save(){
as_save("myiframe0","returnList()");
} */
function returnList(){
AsControl.OpenView("/Tenwa/Apzl/productCar/LmProductCarList.jsp", "","_self","");
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>

View File

@ -0,0 +1,59 @@
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
/*
Author: undefined 2018-06-06
Content:
History Log:
*/
String PG_TITLE ="汽车产品列表";
String TYPENO= CurPage.getParameter("TYPENO");
ASObjectModel doTemp = new ASObjectModel("LmProductCarList");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1"; //--设置为Grid风格--
dwTemp.ReadOnly = "1"; //只读模式
dwTemp.setPageSize(10);
dwTemp.genHTMLObjectWindow(TYPENO);
//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,'alert(getRowCount(0))')","","","","btn_icon_delete",""},
};
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
function newRecord(){
var sUrl = "/Tenwa/Apzl/productCar/LmProductCarInfo.jsp";
AsControl.OpenView(sUrl,'','_self','');
}
function viewAndEdit(){
var sUrl = "/Tenwa/Apzl/productCar/LmProductUpAndDown.jsp";
var sPara = getItemValue(0,getRow(0),'TYPENO');
if(typeof(sPara)=="undefined" || sPara.length==0 ){
alert("参数不能为空!");
return ;
}
AsControl.OpenView(sUrl,'TYPENO=' +sPara ,'_self','');
}
function afterSearch(){
for(var i=0;i<getRowCount(0);i++){
if(getObj(0,i,"action")!=null){
getObj(0,i,"action").innerHTML='<a class="box" style="text-align:center;" onclick="showCar(\''+getItemValue(0,i,"TYPENO")+'\')" style={color:#000;text-decoration:underline;}><font color="blue">&nbsp&nbsp&nbsp&nbsp&nbsp编辑</font></ a>';
}
};
}
function showCar(TYPENO){
var sUrl="/Tenwa/Apzl/productCar/LmProductUpAndDown.jsp";
var sPara = "TYPENO="+TYPENO;
AsDialog.PopView(sUrl,sPara,"dialogWidth=1200px;dialogHeight=800px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){reloadSelf();},"配置车辆");
}
/*
function mySelectRow(){
var TYPENO = getItemValue(0,getRow(0),"TYPENO");
parent.OpenInfo(TYPENO);
//list 页面同步info页面的联动传至单击事件
}
*/
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>

View File

@ -0,0 +1,20 @@
<%@ page contentType="text/html; charset=GBK"%><%@
include file="/IncludeBegin.jsp"%><%
/*
页面说明: 示例上下联动框架页面
*/
String TYPENO = CurPage.getParameter("TYPENO");
%><%@include file="/Resources/CodeParts/Frame02.jsp"%>
<script type="text/javascript">
mytoptd.height=300;
OpenList();
OpenInfo();
function OpenList(){
AsControl.OpenView("/Tenwa/Apzl/productCar/LmProductCarInfo.jsp","","rightup");
}
function OpenInfo(){
AsControl.OpenView("/Tenwa/Apzl/productCar/LmProductAndCarList.jsp","TYPENO=<%=TYPENO%>", "rightdown");
}
</script>
<%@ include file="/IncludeEnd.jsp"%>

View File

@ -142,6 +142,9 @@ $(function(){
paramJson["CustomerNature"]="<%=startMap.get("CustomerNature")%>";
paramJson["CUSTOMERID"]="<%=startMap.get("CUSTOMERID")%>";
paramJson["ContractId"]="<%=startMap.get("ContractId")%>";
paramJson["carAttributes"]="<%=startMap.get("carAttributes")%>";
paramJson["leasehold"]="<%=startMap.get("leasehold")%>";
paramJson["modelid"]="<%=startMap.get("modelid")%>";
//paramJson["CurFlowUser"]="<%=FlowFixedParam.get("CurFlowUser")%>";
//paramJson["AgentFlowUser"]="<%=FlowFixedParam.get("AgentFlowUser")%>";

View File

@ -0,0 +1,76 @@
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
/*
Author: undefined 2018-06-07
Content: 示例详情页面
History Log:
*/
String id = CurPage.getParameter("id");
String product_id = CurPage.getParameter("product_id");
String name = CurUser.getUserName();
String orgName = CurUser.getOrgName();
/* Date d = new Date();
System.out.print(d); */
/* if(sPrevUrl == null) sPrevUrl = ""; */
String sTempletNo = "LB_PRODUCT_CAR_INFO";//--模板号--
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
/* doTemp.setColTips("", "测试"); */
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
dwTemp.Style = "2";//freeform
//dwTemp.ReadOnly = "-2";//只读模式
dwTemp.genHTMLObjectWindow(CurPage.getParameter("product_id"));
dwTemp.genHTMLObjectWindow(CurPage.getParameter("id"));
String sButtons[][] = {
{"true","All","Button","保存","保存所有修改","save()","","","",""},
{"true","All","Button","返回","返回列表","returnList()","","","",""}
};
/* sButtonPosition = "south"; */
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<script type="text/javascript">
var name = setItemValue(0,getRow(),"inputuserid",'<%=name%>');
var orgName = setItemValue(0,getRow(),"inputorgid",'<%=orgName%>');
<%-- var time = setItemValue(0,getRow(),"inputtime",'<%=new Date()%>'); --%>
function save(){
as_save("myiframe0","returnList()");
}
function returnList(){
var product_id = "<%=product_id%>";
AsControl.OpenView("/Tenwa/Lease/App/Interface/CarInfo/LbProductCarList.jsp", "product_id="+product_id,"_self","");
}
function selProduct(){
AsDialog.OpenSelector("selectProduct","","dialogWidth=" + parseInt(window.screen.width * 0.3) + "px dialogHeight=" + parseInt(window.screen.height * 0.4) + "px",function(sReturn){
if(!sReturn||sReturn=="_CANCEL_"){
return;
}
sReturn = sReturn.split("@");//返回值
setItemValue(0,0,"ID", sReturn[0]);//设置页面上面的值
setItemValue(0,0,"PRODUCT_ID", sReturn[1]);
setItemValue(0,0,"SERIALNO", sReturn[2]);
},"请选择产品")
}
/* function selBrandse(){
AsDialog.OpenSelector("selectBrandse","","dialogWidth=" + parseInt(window.screen.width * 0.3) + "px dialogHeight=" + parseInt(window.screen.height * 0.4) + "px",function(sReturn){
if(!sReturn||sReturn=="_CANCEL_"){
return;
}
sReturn = sReturn.split("@");//返回值
setItemValue(0,0,"ID", sReturn[0]);//设置页面上面的值
setItemValue(0,0,"BRANDID", sReturn[1]);
setItemValue(0,0,"SERIESNAME", sReturn[2]);
},"请选择车系")
} */
function selModel(){
AsDialog.OpenSelector("selectModel","","dialogWidth=" + parseInt(window.screen.width * 0.3) + "px dialogHeight=" + parseInt(window.screen.height * 0.4) + "px",function(sReturn){
if(!sReturn||sReturn=="_CANCEL_"){
return;//ID,seriesid,modelid@modelname
}
sReturn = sReturn.split("@");//返回值
setItemValue(0,0,"id", sReturn[0]);//设置页面上面的值
setItemValue(0,0,"brandid", sReturn[1]);
setItemValue(0,0,"modelid", sReturn[2]);
setItemValue(0,0,"modelname", sReturn[3]);//id@brandid@seriesid@modelid@modelname
},"请选择车系")
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>

View File

@ -0,0 +1,50 @@
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
/*
Author: undefined 2018-06-05
Content:
History Log:
*/
String product_id = CurPage.getParameter("product_id");
ASObjectModel doTemp = new ASObjectModel("LB_PRODUCT_CAR_LIST");
if (""!=product_id || null==product_id){
doTemp.appendJboWhere("lpi.product_id='"+product_id+"'");
}
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,'alert(getRowCount(0))')","","","","btn_icon_delete",""},
{"true","","Button","返回","返回","returnList()","","","","btn_icon_return",""},
};
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
function newRecord(){
var sUrl = "/Tenwa/Lease/App/Interface/CarInfo/LbProductCarInfo.jsp";
var param = "<%=product_id%>";
AsControl.OpenView(sUrl,'product_id='+param,'_self','');//'id='+param+'&product_id='+sPara
/* document.getElementById("UPDATEUSERID").style.display="none"; */
}
function viewAndEdit(){
var sUrl = "/Tenwa/Lease/App/Interface/CarInfo/LbProductCarInfo.jsp";
var sPara = "<%=product_id%>";//getItemValue(0,getRow(0),'product_id');
var sPara2 = getItemValue(0,getRow(0),'id');
if(typeof(sPara)=="undefined" || sPara.length==0 ){
alert("参数不能为空!");
return ;
}
AsControl.OpenView(sUrl,'product_id=' +sPara+'&id='+sPara2,'_self','');
}
function returnList(){
AsControl.OpenView('/Tenwa/Lease/App/Interface/CarInfo/LbProductInfoList.jsp','' ,'_self','');
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>

View File

@ -0,0 +1,39 @@
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
/*
Author: undefined 2018-06-06
Content:
History Log:
*/
ASObjectModel doTemp = new ASObjectModel("LB_PRODUCT_INFO_LIST");
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","","Button","详情","详情","viewAndEdit()","","","","btn_icon_detail",""},
//{"true","","Button","删除","删除","if(confirm('确实要删除吗?'))as_delete(0,'alert(getRowCount(0))')","","","","btn_icon_delete",""},
};
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
function viewAndEdit(){
var sUrl = "/Tenwa/Lease/App/Interface/CarInfo/LbProductCarList.jsp";
var sPara = getItemValue(0,getRow(0),'id');
var sPara2 = getItemValue(0,getRow(0),'product_id');
if(typeof(sPara)=="undefined" || sPara.length==0 ){
alert("参数不能为空!");
return ;
}
AsControl.OpenView(sUrl,'id='+sPara+'&product_id=' +sPara2 ,'_self','');
}
function afterSearch(){
for(var i=0;i<getRowCount(0);i++){
getObj(0,i,"PRODUCT_ID").innerHTML='<a class="box" onclick="javascript:viewAndEdit()" style={color:#000;text-decoration:underline;}><font color="blue">'+getObj(0,i,"PRODUCT_ID").innerHTML+'</font></a>';
}
}
afterSearch();
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>

View File

@ -0,0 +1,37 @@
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
/*
Author: undefined 2018-06-09
Content:
History Log:
*/
ASObjectModel doTemp = new ASObjectModel("LB_PRODUCT_SALVAGE");
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,'alert(getRowCount(0))')","","","","btn_icon_delete",""},
};
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
function newRecord(){
var sUrl = "/Tenwa/Lease/App/Interface/CarInfo/LbProductSalvageInfo.jsp";
AsControl.OpenView(sUrl,'','_self','');
}
function viewAndEdit(){
var sUrl = "/Tenwa/Lease/App/Interface/CarInfo/LbProductSalvageInfo.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"%>

View File

@ -0,0 +1,45 @@
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
/*
Author: undefined 2018-06-09
Content: 示例详情页面
History Log:
*/
String sPrevUrl = CurPage.getParameter("id");
/* if(sPrevUrl == null) sPrevUrl = ""; */
String sTempletNo = "LB_PRODUCT_SALVAGE_INFO";//--模板号--
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
/* doTemp.setColTips("", "测试"); */
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
dwTemp.Style = "2";//freeform
//dwTemp.ReadOnly = "-2";//只读模式
dwTemp.genHTMLObjectWindow(CurPage.getParameter("id"));
String sButtons[][] = {
{"true","All","Button","保存","保存所有修改","save()","","","",""},
{"true","All","Button","返回","返回列表","returnList()","","","",""}
};
/* sButtonPosition = "south"; */
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<script type="text/javascript">
function save(){
as_save("myiframe0","returnList()");
}
function returnList(){
AsControl.OpenView("/Tenwa/Lease/App/Interface/CarInfo/LbProductSalvage.jsp", "","_self","");
}
function selProduct(){
AsDialog.OpenSelector("selProduct","ProductType,1,TypeNo,0005","dialogWidth=" + parseInt(window.screen.width * 0.3) + "px dialogHeight=" + parseInt(window.screen.height * 0.4) + "px",function(sReturn){
if(!sReturn||sReturn=="_CANCEL_"){
return;
}
sReturn = sReturn.split("@");//返回值
alert(sReturn);
setItemValue(0,0,"ID", sReturn[0]);//设置页面上面的值
setItemValue(0,0,"PRODUCT_ID", sReturn[1]);
setItemValue(0,0,"SERIALNO", sReturn[2]);
},"请选择产品")
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>

View File

@ -18,78 +18,84 @@
{"true","","Button","新增","新增","newRecord()","","","","btn_icon_add",""},
{"true","","Button","修改","修改","viewAndEdit()","","","","btn_icon_set",""},
{"true","","Button","删除","删除","doDelete()","","","","btn_icon_delete",""},
{"true","","Button","立即发送","立即发送","sendMessage()","","","","btn_icon_message",""}
{"true","","Button","立即发送","立即发送","sendMessage()","","","","btn_icon_message",""},
{"true","","Button","余额查询","余额查询","doSelect()","","","","btn_icon_information",""}
};
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
function newRecord(){
function doSelect(){
var result = RunJavaMethodTrans("com.tenwa.lease.app.message.SmsController","selectBalance","");
alert("短信余额为:"+result);
}
function newRecord(){
var sUrl = "/Tenwa/Lease/App/Interface/Message/LBSmsNoticeTasksInfo.jsp";
AsDialog.PopView(sUrl,"","dialogWidth=800px;dialogHeight=350px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){
reloadSelf();
reloadSelf();
},"新增");
}
function viewAndEdit(){
var rows = getCheckedRows(0);
if(rows.length != 1){
alert("请选择一行数据进行修改!");
return;
}
var sUrl = "/Tenwa/Lease/App/Interface/Message/LBSmsNoticeTasksInfo.jsp";
var sPara = getItemValue(0,getRow(0),'ID');
var sendFlag = getItemValue(0,getRow(0),"SEND_FLAG");
if(sendFlag != 0){
alert("只能修改待发送的短信!");
return;
}
if(typeof(sPara)=="undefined" || sPara.length==0 ){
alert("参数不能为空!");
return ;
}
}
function viewAndEdit(){
var rows = getCheckedRows(0);
if(rows.length != 1){
alert("请选择一行数据进行修改!");
return;
}
var sUrl = "/Tenwa/Lease/App/Interface/Message/LBSmsNoticeTasksInfo.jsp";
var sPara = getItemValue(0,getRow(0),'ID');
var sendFlag = getItemValue(0,getRow(0),"SEND_FLAG");
if(sendFlag != 0){
alert("只能修改待发送的短信!");
return;
}
if(typeof(sPara)=="undefined" || sPara.length==0 ){
alert("参数不能为空!");
return ;
}
AsDialog.PopView(sUrl,"ID="+sPara,"dialogWidth=800px;dialogHeight=350px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){
reloadSelf();
reloadSelf();
},"修改");
}
function doDelete(){
}
function doDelete(){
var rows = getCheckedRows(0);
if(rows.length == 0){
alert("请选择一行数据!");
return;
alert("请选择一行数据!");
return;
}
var ids = "";
var flag = true;
for(var i=0;i<rows.length;i++){
var sendFlag = getItemValue(0,rows[i],"SEND_FLAG");
if(sendFlag == 1){
flag = false;
}
var sendFlag = getItemValue(0,rows[i],"SEND_FLAG");
if(sendFlag == 1){
flag = false;
}
}
if(!flag){
alert("已发送的短信不能删除!");
return;
alert("已发送的短信不能删除!");
return;
}
as_delete(0);
}
function sendMessage(){
}
function sendMessage(){
var rows = getCheckedRows(0);
if(rows.length == 0){
alert("请选择一行数据!");
return;
alert("请选择一行数据!");
return;
}
var ids = "";
for(var i=0;i<rows.length;i++){
ids += "@" + getItemValue(0,rows[i],"ID");
ids += "@" + getItemValue(0,rows[i],"ID");
}
ids = ids.substring(1);
console.log(ids);
var result = RunJavaMethodTrans("com.tenwa.lease.app.message.SmsController","sendMessage","ids="+ids);
if("SUCCESS" == result){
alert("发送成功!");
reloadSelf();
alert("发送成功!");
reloadSelf();
}else{
alert("发送失败!");
reloadSelf();
alert("发送失败!");
reloadSelf();
}
}
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>

View File

@ -34,6 +34,7 @@
</style>
<script>
var ProvinceCity=function(){
debugger;
this.proviceCity={};//省份城市
this.brandServicePath="com.tenwa.lease.app.carbrand.CarBrandService";
this.loadProvoiceCity();

View File

@ -6,7 +6,8 @@
History Log:
*/
String id = CurPage.getParameter("id");//账号id
String flowunid=CurPage.getParameter("ObjectNo");
String sflowunid = CurPage.getParameter("flowunid");
String flowunid=CurPage.getParameter("ObjectNo");
// String righttrpe=CurPage.getParameter("righttrpe");
if(id == null) id="";
String sTempletNo = "LDistributorAccountInfo"; //模板号
@ -28,11 +29,15 @@
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标CSS层叠样式 10、风格
String sButtons[][] = {
{"true","All","Button","±£´æ","±£´æ","as_save(0)","","","","btn_icon_save"},
{"true","","Button","保存","保存所有修改","save()","","","","btn_icon_save"},
{"true","","Button","返回","返回","returnList()","","","","btn_icon_return"}
};
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<script type="text/javascript">
function save(){
setItemValue(0,0,"sPara","<%=sflowunid%>");
as_save(0,"returnList()");
}
function returnList(){
<%-- var sUrl = "/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountList.jsp";
AsControl.OpenView(sUrl,"FlowUnid=<%=flowunid%>",'_self',''); --%>

View File

@ -28,8 +28,9 @@
<script type="text/javascript">
function newRecord(){
var sUrl = "/Tenwa/Lease/DistributorManage/DistributorApproval/LDistributorAccountInfo.jsp";
var sPara ="flowunid=<%=sFlowUnid%>";
/* AsControl.OpenView(sUrl,'','_self',''); */
AsDialog.PopView(sUrl,"","dialogWidth=800px;dialogHeight=200px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){
AsDialog.PopView(sUrl,sPara,"dialogWidth=800px;dialogHeight=200px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(){
reloadSelf();
},"ÐÂÔö");

View File

@ -104,5 +104,34 @@ function saveproj_name(){
}
},'请选择省市');
}
//验证手机号码
/* function checkMobile(str) {
var re = /^1\d{10}$/
if (re.test(str)) {
alert("正确");
} else {
alert("请输入有效数字");
}
} */
//验证电话号码
function checkPhone(){
//var str = $("#DEALER_PHONE").val();
//var str = document.getElementById("DEALER_PHONE").value;
var str=getItemValue(0, 0, "DEALER_PHONE");
var re = /^0\d{2,3}-?\d{7,8}$/;
if(re.test(str)){
}else{
alert("请输入有效数字");
}
}
//验证邮箱的有效性
/* function checkEmail(str){
var re = /^(\w-*\.*)+@(\w-?)+(\.\w{2,})+$/
if(re.test(str)){
alert("正确");
}else{
alert("请输入正确的邮箱号");
}
} */
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>

View File

@ -24,6 +24,50 @@
sButtonPosition = "south";
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<script type="text/javascript">
//请选择合同编号
function selectContractNumber(){
AsDialog.OpenSelector("selectContractNumber","","dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.6) + "px",function(sReturn){
if(!sReturn||sReturn=="_CANCEL_"){
alert(getHtmlMessage('1'));//请选择一条信息!
return;
}
sReturn = sReturn.split("@");//"@"表示了向页面添加数据时的连续性
setItemValue(0,getRow(),"CONTRACT_ID",sReturn[0]);//向页面的框中添加数据
setItemValue(0,getRow(),"CONTRACTIDNAME",sReturn[1]);
setItemValue(0,getRow(),"PROJECT_ID",sReturn[2]);
},"请选择合同编号");
}
//请选择经销商编号
function selectDistributorNumber(){
AsDialog.OpenSelector("selectDistributorNumber","","dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.6) + "px",function(sReturn){
if(!sReturn||sReturn=="_CANCEL_"){
alert(getHtmlMessage('1'));//请选择一条信息!
return;
}
sReturn = sReturn.split("@");//"@"表示了向页面添加数据时的连续性
setItemValue(0,getRow(),"DISTRIBUTOR_ID",sReturn[0]);//向页面的框中添加数据
setItemValue(0,getRow(),"DISTRIBUTOR_ID_NAME",sReturn[1]);
},"请选择经销商编号");
}
//请选择客户姓名
function selectCustomerName(){
AsDialog.OpenSelector("selectSurveyCustomerName","","dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.6) + "px",function(sReturn){
if(!sReturn||sReturn=="_CANCEL_"){
alert(getHtmlMessage('1'));//请选择一条信息!
return;
}
sReturn = sReturn.split("@");//"@"表示了向页面添加数据时的连续性
setItemValue(0,getRow(),"CUSTOMERID",sReturn[0]);//向页面的框中添加数据
setItemValue(0,getRow(),"CUSTOMERID_NAME",sReturn[1]);
},"请选择客户姓名");
}
function returnList(){
AsDialog.ClosePage();
}

View File

@ -0,0 +1,45 @@
<%@page import="com.tenwa.comm.util.date.DateAssistant"%>
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
/*
Author: undefined 2017-10-30
Content: 示例详情页面
History Log:
*/
String sPrevUrl = CurPage.getParameter("PrevUrl");
if(sPrevUrl == null) sPrevUrl = "/Tenwa/Lease/Flow/CollectionAudit/ClearRecord/LbClearFileRecordList.jsp";
String sTempletNo = "LbClearFileRecordDetail";//--模板号--
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
String currtToday = DateAssistant.getToday();
//设置默认值
doTemp.setDefaultValue("INPUTUSERID", CurUser.getUserID());
doTemp.setDefaultValue("INPUTORGID", CurUser.getOrgID());
doTemp.setDefaultValue("INPUTTIME", currtToday);
//doTemp.setDefaultValue("CLEAR_DATE", "2017/09/20");
doTemp.setDefaultValue("CLEAR_DATE", currtToday);
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
dwTemp.Style = "2";//freeform
//dwTemp.ReadOnly = "-2";//只读模式
dwTemp.genHTMLObjectWindow(CurPage.getParameter("SerialNo"));
String sButtons[][] = {
{"true","All","Button","确认","保存所有修改","save()","","","btn_icon_save",""},
};
sButtonPosition = "south";
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<script type="text/javascript">
function save(){
as_save("0","upload()");
}
function upload(){
var parm = "id="+getItemValue(0,getRow(0),"id")+",clearDate="+getItemValue(0,getRow(0),"clear_date");
var res = RunJavaMethodTrans("com.tenwa.collectaudit.cache.CollectAuditInfoCache","uploadClearFile", parm);
//关闭当前窗口
AsDialog.ClosePage();
}
function returnList(){
AsControl.OpenView("<%=sPrevUrl%>", "","_parent","");
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>

View File

@ -0,0 +1,56 @@
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
/*
Author: undefined 2017-10-30
Content:
History Log:
*/
ASObjectModel doTemp = new ASObjectModel("LbClearFileRecordList");
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/Lease/Flow/CollectionAudit/ClearRecord/LbClearFileRecordDetail.jsp";
var param="";
AsDialog.PopView(sUrl,param,"dialogWidth=480px;dialogHeight=200px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(message){
close();
reloadSelf();
},"选择清算日期");
}
//在加载完表格后调用
function afterSearch(){
for(var i=0;i<getRowCount(0);i++){
//var file_name=getItemValue(0,i,"file_name");
var html="";
html+='<a href='+getItemValue(0,i,"FULLPATH")+'><font color="blue">下载</font></a>';
getObj(0,i,"opertion").innerHTML=html;
}
}
function viewAndEdit(){
var sUrl = "/Tenwa/Lease/Flow/CollectionAudit/ClearRecord/LbClearFileRecordDetail.jsp";
var sPara = getItemValue(0,getRow(0),'ID');
if(typeof(sPara)=="undefined" || sPara.length==0 ){
alert("参数不能为空!");
return ;
}
var param='SerialNo=' +sPara;
AsDialog.PopView(sUrl,param,"dialogWidth=480px;dialogHeight=100px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(message){
reloadSelf();
},"修改清算日期");
//AsControl.OpenView(sUrl,'SerialNo=' +sPara ,'_self','');
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>

View File

@ -0,0 +1,79 @@
<%@page import="com.tenwa.comm.util.date.DateAssistant"%>
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
/*
Author: undefined 2017-09-20
Content:
History Log:
*/
String plan_date = DateAssistant.getToday();
ASObjectModel doTemp = new ASObjectModel("ViLcFirstAuditRentFileList");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1"; //--设置为Grid风格--
dwTemp.MultiSelect = true; //多选
dwTemp.ReadOnly = "1"; //只读模式
dwTemp.setPageSize(10);
dwTemp.genHTMLObjectWindow("");
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标CSS层叠样式 10、风格
String sButtons[][] = {
{"false","All","Button","审核","确认审核通过","if(confirm('确定要提交审核吗?')){auditRecord()}","","","","btn_icon_add",""},
};
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
function initFilter(){
<%-- setFilterAreaValue(0,"plan_date","<%=plan_date%>");
setFilterAreaOption(0,"plan_date","Equals"); --%>
//提交查询
//submitFilterArea();
}
window.onload= initFilter;
//在加载完表格后调用
function afterSearch(){
for(var i=0;i<getRowCount(0);i++){
var file_name=getItemValue(0,i,"file_name");
var html="";
html+='<a onclick=downloadFile(\''+getItemValue(0,i,"ID")+'\')><font color="blue">'+getObj(0,i,"file_name").innerHTML+'</font></a>';
getObj(0,i,"file_name").innerHTML=html;
}
}
function downloadFile(id){
if(!frames["downloadTemplate"]) $("<iframe name='downloadTemplate' style='display:none;'></iframe>").appendTo("body");
window.open(sWebRootPath+"/servlet/view/DownloadCollectServlet?CompClientID=<%=sCompClientID%>&sqlString=save@"+id, "downloadTemplate");
}
function auditRecord(){
var sParm = getItemValueArray(0, "id");
if(typeof(sParm) == "undefined" || sParm.length == 0 )
{
alert("请至少选择一条记录!");
return;
}
var ids = "";
for(var i = 0;i < sParm.length; i++){
if(ids.length == 0){
ids += sParm[i] +"@";
}else{
ids += sParm[i] +"@";
}
}
var res = RunJavaMethodTrans("com.tenwa.collectaudit.cache.CollectAuditInfoCache", "fristCollectAudit", "id="+ids);
if(res == "success"){
alert("审核通过!");
reloadSelf();
}
}
function viewAndEdit(){
var sUrl = "";
var sPara = getItemValue(0,getRow(0),'SerialNo');
if(typeof(sPara)=="undefined" || sPara.length==0 ){
alert("参数不能为空!");
return ;
}
AsControl.OpenView(sUrl,'SerialNo=' +sPara ,'_self','');
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>

View File

@ -0,0 +1,30 @@
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
/*
Author: undefined 2018-06-11
Content: 示例详情页面
History Log:
*/
String sPrevUrl = CurPage.getParameter("PrevUrl");
if(sPrevUrl == null) sPrevUrl = "";
String sTempletNo = "CustomerBankVertifyInfo";//--模板号--
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
doTemp.setColTips("", "测试");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
dwTemp.Style = "2";//freeform
//dwTemp.ReadOnly = "-2";//只读模式
dwTemp.genHTMLObjectWindow(CurPage.getParameter("SerialNo"));
String sButtons[][] = {
{"true","All","Button","保存","保存所有修改","as_save(0)","","","",""},
{String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","返回","返回列表","returnList()","","","",""}
};
sButtonPosition = "south";
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
<script type="text/javascript">
function returnList(){
AsControl.OpenView("<%=sPrevUrl%>", "","_self","");
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>

View File

@ -0,0 +1,93 @@
<%@page import="com.tenwa.comm.util.date.DateAssistant"%>
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
/*
Author: undefined 2017-09-20
Content:
History Log:
*/
String plan_date = DateAssistant.getToday();
ASObjectModel doTemp = new ASObjectModel("CustomerBankVertifyList");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1"; //--设置为Grid风格--
dwTemp.MultiSelect = true; //多选
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","验证银行卡信息","验证银行卡信息","verifyBankInfo()","","","","btn_icon_add",""},
{"true","All","Button","编辑","编辑","viewAndEdit()","","","","btn_icon_add",""},
};
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
<%-- function initFilter(){
setFilterAreaValue(0,"plan_date","<%=plan_date%>");
setFilterAreaOption(0,"plan_date","Equals");
//提交查询
//submitFilterArea();
}
window.onload= initFilter; --%>
//验证银行卡四、三、二要素
function verifyBankInfo(){
debugger;
var parm = getItemValueArray(0, "customerid");
if(typeof(parm) == "undefined" || parm.length == 0 )
{
alert("请至少选择一条记录,进行校验!");
return;
}
if(typeof(parm) == "undefined" || parm.length > 1 )
{
alert("请选择单条记录,进行校验!");
return;
}
var mobile = getItemValue(0,getRow(0),"mobile");
if(typeof(mobile) == "undefined" || mobile.length == 0 ){
alert("预留手机为空,请先补充预留手机号!");
return;
}
//验证银行卡四要素
var res = RunJavaMethodTrans("com.tenwa.comm.customerfilterlist.DebitCardAction", "verifyFourelementBankManage", "customerid="+parm[0]);
alert("校验完成!");
reloadSelf();
}
function auditRecord(){
var sParm = getItemValueArray(0, "id");
if(typeof(sParm) == "undefined" || sParm.length == 0 )
{
alert("请至少选择一条记录!");
return;
}
var ids = "";
for(var i = 0;i < sParm.length; i++){
if(ids.length == 0){
ids += sParm[i] +"@";
}else{
ids += sParm[i] +"@";
}
}
var res = RunJavaMethodTrans("com.tenwa.collectaudit.cache.CollectAuditInfoCache", "fristCollectAudit", "id="+ids);
if(res == "success"){
alert("审核通过!");
reloadSelf();
}
}
function viewAndEdit(){
var sUrl = "/Tenwa/Lease/Flow/CollectionAudit/LcCustomerBankVertifyInfo.jsp";
var sPara = getItemValue(0,getRow(0),'customerid');
if(typeof(sPara)=="undefined" || sPara.length==0 ){
alert("参数不能为空!");
return ;
}
AsControl.OpenView(sUrl,'CustomerId=' +sPara ,'_self','');
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>

View File

@ -1,71 +1,71 @@
<%@page import="com.tenwa.comm.util.date.DateAssistant"%>
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
/*
Author: undefined 2017-09-20
Content:
History Log:
*/
String plan_date = DateAssistant.getToday();
ASObjectModel doTemp = new ASObjectModel("ViLcFirstAuditRentPlanList");
//默认预查询
doTemp.setJboWhereWhenNoFilter(" and O.PLAN_DATE = '"+plan_date+"' ");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1"; //--设置为Grid风格--
dwTemp.MultiSelect = true; //多选
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","审核","确认审核通过","if(confirm('确定要提交审核吗?')){auditRecord()}","","","","btn_icon_add",""},
};
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
function initFilter(){
setFilterAreaValue(0,"plan_date","<%=plan_date%>");
setFilterAreaOption(0,"plan_date","Equals");
//提交查询
//submitFilterArea();
}
window.onload= initFilter;
function auditRecord(){
var sParm = getItemValueArray(0, "id");
if(typeof(sParm) == "undefined" || sParm.length == 0 )
{
alert("请至少选择一条记录!");
return;
}
var ids = "";
for(var i = 0;i < sParm.length; i++){
if(ids.length == 0){
ids += sParm[i] +"@";
}else{
ids += sParm[i] +"@";
}
}
var res = RunJavaMethodTrans("com.tenwa.collectaudit.cache.CollectAuditInfoCache", "fristCollectAudit", "id="+ids);
var result = res.split("@");
if(result[0] == "error"){
alert(result[1]);
return;
}else{
alert("审核通过!");
reloadSelf();
}
}
function viewAndEdit(){
var sUrl = "";
var sPara = getItemValue(0,getRow(0),'SerialNo');
if(typeof(sPara)=="undefined" || sPara.length==0 ){
alert("参数不能为空!");
return ;
}
AsControl.OpenView(sUrl,'SerialNo=' +sPara ,'_self','');
}
</script>
<%@page import="com.tenwa.comm.util.date.DateAssistant"%>
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
/*
Author: undefined 2017-09-20
Content:
History Log:
*/
String plan_date = DateAssistant.getToday();
ASObjectModel doTemp = new ASObjectModel("ViLcFirstAuditRentPlanList");
//默认预查询
doTemp.setJboWhereWhenNoFilter(" and O.PLAN_DATE = '"+plan_date+"' ");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1"; //--设置为Grid风格--
dwTemp.MultiSelect = true; //多选
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","审核","确认审核通过","if(confirm('确定要提交审核吗?')){auditRecord()}","","","","btn_icon_add",""},
};
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
function initFilter(){
setFilterAreaValue(0,"plan_date","<%=plan_date%>");
setFilterAreaOption(0,"plan_date","Equals");
//提交查询
//submitFilterArea();
}
window.onload= initFilter;
function auditRecord(){
var sParm = getItemValueArray(0, "id");
if(typeof(sParm) == "undefined" || sParm.length == 0 )
{
alert("请至少选择一条记录!");
return;
}
var ids = "";
for(var i = 0;i < sParm.length; i++){
if(ids.length == 0){
ids += sParm[i] +"@";
}else{
ids += sParm[i] +"@";
}
}
var res = RunJavaMethodTrans("com.tenwa.collectaudit.cache.CollectAuditInfoCache", "fristCollectAudit", "id="+ids);
var result = res.split("@");
if(result[0] == "error"){
alert(result[1]);
return;
}else{
alert("审核通过!");
reloadSelf();
}
}
/* function viewAndEdit(){
var sUrl = "";
var sPara = getItemValue(0,getRow(0),'SerialNo');
if(typeof(sPara)=="undefined" || sPara.length==0 ){
alert("参数不能为空!");
return ;
}
AsControl.OpenView(sUrl,'SerialNo=' +sPara ,'_self','');
} */
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>

View File

@ -1,126 +1,198 @@
<%@page import="com.tenwa.comm.util.date.DateAssistant"%>
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
/*
Author: undefined 2017-09-20
Content:
History Log:
*/
String plan_date = DateAssistant.getToday();
ASObjectModel doTemp = new ASObjectModel("ViLcReviewAuditRentPlanList");
doTemp.setJboWhere(" O.AUDIT_STATE = 'Y'");
//默认预查询
doTemp.setJboWhereWhenNoFilter(" and O.PLAN_DATE = '"+plan_date+"' and O.COLLECT_STATUS in ('1','2','4','5') ");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1"; //--设置为Grid风格--
dwTemp.MultiSelect = true; //多选
dwTemp.ReadOnly = "1"; //只读模式
dwTemp.setPageSize(10);
dwTemp.ShowSummary = "1"; //显示小计
dwTemp.genHTMLObjectWindow("");
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标CSS层叠样式 10、风格
String sButtons[][] = {
{"true","All","Button","扣款","扣款","batchCollect()","","","","btn_icon_add",""},
{"true","","Button","退回","审核未通过,退回初审","if(confirm('确定要退回吗?')){viewAndEdit()}","","","","btn_icon_detail",""},
};
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
window.onload=function(){
initFilter();
}
function initFilter(){
filterValues["myiframe0"][TableFactory.getTableColIndexFromDZ("myiframe0",getColIndex(0,"COLLECT_STATUS"))] = "未收款||部分收款";
setFilterAreaValue(0,"plan_date","<%=plan_date%>");
setFilterAreaOption(0,"plan_date","Equals");
//submitFilterArea();
}
//在加载完表格后调用
function afterSearch(){
for(var i=0;i<getRowCount(0);i++){
getObj(0,i,"DEDUCT_STATA").innerHTML='<a onclick="javascript:viewCollectRecord(1)" style="color: blue;">'+getItemValue(0,getRow(0),"DEDUCT_STATA")+'</a> ';
}
}
function viewCollectRecord(id){
var sUrl = "/Tenwa/Lease/Flow/CollectionAudit/LcCollectRecordStatusList.jsp";
var sPara = getItemValue(0,getRow(0),"ID");
if(typeof(sPara)=="undefined" || sPara.length==0 ){
alert("参数不能为空!");
return ;
}
//AsControl.PopView(sUrl,'plan_id=' +sPara ,'_self','');
AsDialog.PopView(sUrl,'plan_id=' +sPara ,
"dialogWidth=500px;dialogHeight=300px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(sReturnInfo){
},"代扣详细信息");
}
//批量代收
function batchCollect(){
if(confirm('确实要执行代收操作吗?')){
var sParm = getItemValueArray(0, "id");
if(typeof(sParm) == "undefined" || sParm.length == 0 )
{
alert("请至少选择一条记录!");
return;
}
var ids = "";
for(var i = 0;i < sParm.length; i++){
if(ids.length == 0){
ids += sParm[i] +"@";
}else{
ids += sParm[i] +"@";
}
}
//扣款前提校验
var result = RunJavaMethodTrans("com.tenwa.collectaudit.cache.CollectAuditInfoCache", "checkRentIsIncome", "id="+ids);
var value = result.split("@");
if (value[0] == "error") {
alert(value[1]);
return;
}
var parm = "id="+ids+",inputuserid="+"<%=CurUser.getUserID()%>"+",inputorgid="+"<%=CurUser.getOrgID()%>";
var res = RunJavaMethodTrans("com.tenwa.collectaudit.cache.CollectAuditInfoCache", "batchCollectManage", parm);
alert(res);
reloadSelf();
}
}
function viewAndEdit(){
var sParm = getItemValueArray(0, "id");
if(typeof(sParm) == "undefined" || sParm.length == 0 )
{
alert("请至少选择一条记录!");
return;
}
var ids = "";
for(var i = 0;i < sParm.length; i++){
if(ids.length == 0){
ids += sParm[i] +"@";
}else{
ids += sParm[i] +"@";
}
}
var result = RunJavaMethodTrans("com.tenwa.collectaudit.cache.CollectAuditInfoCache", "rebackCollectAudit", "id="+ids);
var value = result.split("@");
if (value[0] == "error") {
alert(value[1]);
return;
}else{
alert("退回初审成功!");
reloadSelf();
}
}
</script>
<%@page import="com.tenwa.comm.util.date.DateAssistant"%>
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
/*
Author: undefined 2017-09-20
Content:
History Log:
*/
String plan_date = DateAssistant.getToday();
ASObjectModel doTemp = new ASObjectModel("ViLcReviewAuditRentPlanList");
doTemp.setJboWhere(" O.AUDIT_STATE = 'Y'");
//默认预查询
doTemp.setJboWhereWhenNoFilter(" and O.PLAN_DATE = '"+plan_date+"' and O.COLLECT_STATUS in ('未收款','部分收款') ");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1"; //--设置为Grid风格--
dwTemp.MultiSelect = true; //多选
dwTemp.ReadOnly = "1"; //只读模式
dwTemp.setPageSize(10);
dwTemp.ShowSummary = "1"; //显示小计
dwTemp.genHTMLObjectWindow("");
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标CSS层叠样式 10、风格
String sButtons[][] = {
{"true","All","Button","批量扣款","批量扣款","batchCollect()","","","","btn_icon_add",""},
{"true","All","Button","实时扣款","实时扣款","timelyCollect()","","","","btn_icon_add",""},
{"true","All","Button","手工扣款","手工扣款","afterCollectManage()","","","","btn_icon_add",""},
{"false","All","Button","查询批量扣款","查询批量扣款","queryBatchCollect()","","","","btn_icon_add",""},
{"true","","Button","退回","审核未通过,退回初审","if(confirm('确定要退回吗?')){viewAndEdit()}","","","","btn_icon_detail",""},
};
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
window.onload=function(){
initFilter();
}
function initFilter(){
filterValues["myiframe0"][TableFactory.getTableColIndexFromDZ("myiframe0",getColIndex(0,"COLLECT_STATUS"))] = "未收款||部分收款";
setFilterAreaValue(0,"plan_date","<%=plan_date%>");
setFilterAreaOption(0,"plan_date","Equals");
//submitFilterArea();
}
function timelyCollect(){
if(confirm('确实要执行实时扣款操作吗?')){
var sParm = getItemValueArray(0, "id");
var fileSavePath = "<%=CurConfig.getConfigure("InterfaceFileSavePath")%>";
if(typeof(sParm) == "undefined" || sParm.length == 0 )
{
alert("请至少选择一条记录!");
return;
}
var ids = "";
for(var i = 0;i < sParm.length; i++){
if(ids.length == 0){
ids += sParm[i] +"@";
}else{
ids += sParm[i] +"@";
}
}
//扣款前提校验
var result = RunJavaMethodTrans("com.tenwa.collectaudit.cache.CollectAuditInfoCache", "checkRentIsIncome", "id="+ids);
var value = result.split("@");
if (value[0] == "error") {
alert(value[1]);
return;
}
var parm = "id="+ids+",fileSavePath="+fileSavePath+",inputuserid="+"<%=CurUser.getUserID()%>"+",inputorgid="+"<%=CurUser.getOrgID()%>";
var res = RunJavaMethodTrans("com.tenwa.collectaudit.cache.CollectAuditInfoCache", "barchCollectManage", parm);
alert(res);
reloadSelf();
}
}
//批量代收
function batchCollect(){
debugger;
if(confirm('确实要执行代收操作吗?')){
var sParm = getItemValueArray(0, "id");
var fileSavePath = "<%=CurConfig.getConfigure("InterfaceFileSavePath")%>";
if(typeof(sParm) == "undefined" || sParm.length == 0 )
{
alert("请至少选择一条记录!");
return;
}
var ids = "";
for(var i = 0;i < sParm.length; i++){
if(ids.length == 0){
ids += sParm[i] +"@";
}else{
ids += sParm[i] +"@";
}
}
//扣款前提校验
var result = RunJavaMethodTrans("com.tenwa.collectaudit.cache.CollectAuditInfoCache", "checkRentIsIncome", "id="+ids);
var value = result.split("@");
if (value[0] == "error") {
alert(value[1]);
return;
}
var parm = "id="+ids+",fileSavePath="+fileSavePath+",inputuserid="+"<%=CurUser.getUserID()%>"+",inputorgid="+"<%=CurUser.getOrgID()%>";
var res = RunJavaMethodTrans("com.tenwa.collectaudit.cache.CollectAuditInfoCache", "batchCollectManage", parm);
alert(res);
reloadSelf();
}
}
function queryBatchCollect(){
if(confirm('确实要执行代收操作吗?')){
var sParm = getItemValueArray(0, "id");
var fileSavePath = "<%=CurConfig.getConfigure("InterfaceFileSavePath")%>";
if(typeof(sParm) == "undefined" || sParm.length == 0 )
{
alert("请至少选择一条记录!");
return;
}
var ids = "";
for(var i = 0;i < sParm.length; i++){
if(ids.length == 0){
ids += sParm[i] +"@";
}else{
ids += sParm[i] +"@";
}
}
var parm = "id="+ids+",fileSavePath="+fileSavePath+",inputuserid="+"<%=CurUser.getUserID()%>"+",inputorgid="+"<%=CurUser.getOrgID()%>";
var res = RunJavaMethodTrans("com.tenwa.collectaudit.cache.CollectAuditInfoCache", "queryBatchCollectStatus", parm);
alert(res);
reloadSelf();
}
}
function afterCollectManage(){
if(confirm('确实要执行手工扣款操作吗?')){
var sParm = getItemValueArray(0, "id");
if(typeof(sParm) == "undefined" || sParm.length == 0 )
{
alert("请至少选择一条记录!");
return;
}
var ids = "";
for(var i = 0;i < sParm.length; i++){
if(ids.length == 0){
ids += sParm[i] +"@";
}else{
ids += sParm[i] +"@";
}
}
//扣款前提校验
var result = RunJavaMethodTrans("com.tenwa.collectaudit.cache.CollectAuditInfoCache", "checkRentIsIncome", "id="+ids);
var value = result.split("@");
if (value[0] == "error") {
alert(value[1]);
return;
}
var parm = "id="+ids+",inputuserid="+"<%=CurUser.getUserID()%>"+",inputorgid="+"<%=CurUser.getOrgID()%>";
var res = RunJavaMethodTrans("com.tenwa.collectaudit.cache.CollectAuditInfoCache", "afterCollectManage", parm);
alert(res);
reloadSelf();
}
}
function viewAndEdit(){
var sParm = getItemValueArray(0, "id");
if(typeof(sParm) == "undefined" || sParm.length == 0 )
{
alert("请至少选择一条记录!");
return;
}
var ids = "";
for(var i = 0;i < sParm.length; i++){
if(ids.length == 0){
ids += sParm[i] +"@";
}else{
ids += sParm[i] +"@";
}
}
var result = RunJavaMethodTrans("com.tenwa.collectaudit.cache.CollectAuditInfoCache", "rebackCollectAudit", "id="+ids);
var value = result.split("@");
if (value[0] == "error") {
alert(value[1]);
return;
}else{
alert("退回初审成功!");
reloadSelf();
}
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>

View File

@ -0,0 +1,328 @@
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
/*
Author: undefined 2017-09-28
Content:
History Log:
*/
String custtype = CurPage.getParameter("CustomerType");
String projectId = CurPage.getParameter("ProjectId");
// String signStatus = CurPage.getParameter("SignStatus");
String contractNumber = CurPage.getParameter("ContractNumber");
String productId = CurPage.getParameter("ProductId");
String flowunid = CurPage.getParameter("FlowUnid");
String action = CurPage.getParameter("action");
ASObjectModel doTemp = new ASObjectModel("LBContractPrintList");
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
dwTemp.Style="1"; //--设置为Grid风格--
dwTemp.ReadOnly = "1"; //只读模式
dwTemp.setPageSize(20);
String id=projectId;
dwTemp.genHTMLObjectWindow(id+","+flowunid);
String btnflag = "true";
String btnflagcom = "false";
if("01".equals(custtype)){
btnflagcom = "true";
}
if("queryContract".equals(action)){
btnflag = "false";
btnflagcom = "false";
}
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标CSS层叠样式 10、风格
String sButtons[][] = {
{btnflag,"","Button","发起电子签约","电子签章合同","signOnLine()","","","","btn_icon_sign",""},
{btnflag,"","Button","查询签约结果","查询签约结果","getStatus()","","","","btn_icon_obtain",""},
{btnflag,"","Button","重新发送短信","重新发送短信","sendMessageAgain()","","","","btn_icon_refresh",""},
{btnflagcom,"","Button","下载纸质合同","下载纸质合同","downFile()","","","","btn_icon_down",""},
};
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<style>
.test>td{
color:red;
}
</style>
<script type="text/javascript">
//测试电子签约
<%-- function signOnLinetest(){
var sReturn = RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignAction","signIng","ProjectId=<%=projectId%>,CurUserID=<%=CurUser.getUserID()%>");
} --%>
//完成电子签约
function signOnLine(){
var results = RunJavaMethodTrans("com.tenwa.action.channelportal.businesshanding.contractaward.ContractAward","projectStatus","project_id=<%=projectId%>");
var result = results.split("@");
if(eval(result[0])<3){
AsDebug.showMessage("提示","请生成合同,在电子签约","","",true);
return;
};
if(eval(result[0]) > 4 && eval(result[0]) < 7){
AsDebug.showMessage("提示","合同状态为:"+result[1]+"不可以电子签章","","",true,'','','',function(){
reloadSelf();
});
return;
}
if(eval(result[0])==4){
AsDebug.showMessage("提示","电子签约已完成,无需重复发起!","","",true);
return;
};
if(eval(result[0])==8){
AsDebug.showMessage("提示","电子签约已发起,请签署电子合同!","","",true);
return;
};
//查看合同word转换pdf进度
var result=RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignAction","getMakeContractProcess","ProjectId=<%=projectId%>");
if(eval(result)==1){
wordToPdfFalse();
alert("word转换PDF格式部分失败,");
return;
}else if(eval(result)==2){
wordToPdfFalse();
alert("word转换PDF格式失败");
return;
}else if(eval(result)==3){
alert("word转换PDF格式部分失败");
wordToPdfFalse();
return;
}else if(eval(result)==4){
alert("word文件正在转换PDF文件格式");
}else if(eval(result)==5){
wordToPdf();
alert("word文件没有转换PDF文件格式");
return;
}
//自然人电子签约
var sReturn = RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignAction","signIng","ProjectId=<%=projectId%>,CurUserID=<%=CurUser.getUserID()%>");
var sReturns = sReturn.split("@");
if("success"==sReturns[0]){
AsDebug.showMessage("提示","电子签约发起成功!","","",true,"","","",function(){
window.location.reload();
});
}else if(sReturns[1].indexOf("用户认证信息与合同签署方信息不匹配")!=-1){
var message="";
if("true"==sReturns[0]){
message = "部分合同发送成功;注意发送失败合同:";
}
AsDebug.showMessage("提示",message+sReturns[1],"","",true,"","","",function(){
window.location.reload();
});
}else{
var message="";
if("true"==sReturns[0]){
message = "部分合同发送成功;注意发送失败合同";
}else{
message = "电子签约发送失败";
}
AsDebug.showMessage("提示",message,"","",true,"","","",function(){
window.location.reload();
});
}
}
//查询电子签约状态
function getStatus(){
var results = RunJavaMethodTrans("com.tenwa.action.channelportal.businesshanding.contractaward.ContractAward","projectStatus","project_id=<%=projectId%>");
var result=results.split("@");
if(eval(result[0])<3){
AsDebug.showMessage("提示","请生成合同,在电子签约","","",true);
return;
};
if(eval(result[0])==4){
AsDebug.showMessage("提示","电子签约已完成!","","",true);
return;
}
if(eval(result[0])!=8 && result[2]=="false"){
AsDebug.showMessage("提示","没有发起电子签约,无法获取签约状态!","","",true);
return;
}
var sParams="ProjectId=<%=projectId%>,customerType=<%=custtype%>,CurUserID=<%=CurUser.getUserID()%>";
var sReturn=RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignAction","contractSignStatus",sParams);
AsDebug.showMessage("提示",sReturn,"","",true,'','','',function(){
window.location.reload();
});
}
$(function (){
var html="";
if("<%=custtype%>"=="03"){
//(无法完成电子签约,请采用下载纸质合同)
html='<tr id="contractsign" class="test"><td>合同签约操作步骤:<br/>1.制作合同<br/>2.发起电子签约<br/>3.完成电子签约</td></tr>';
}else{
html='<tr id="contractsign" class="test"><td>合同签约操作步骤:<br/>1.制作合同<br/>2.下载纸质合同</td></tr>';
}
$("#ListTable").prepend(html);
$("#myiframe0_static").height($("#myiframe0_static").height()-78);
$("#myiframe0_cells").height($("#myiframe0_cells").height()-78);
// setTimes1();
})
//定时器
function setTimes(){
var a=setInterval(function(){
var result=RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignAction","getMakeContractProcess","ProjectId=<%=projectId%>");
if("success"==result){
clearInterval(a);
AsDebug.showMessage("提示","生成的合同文件转换PDF格式已完成","","",true,"","","",function(){
window.location.reload();
});
}else{
AsDebug.showMessage("提示","生成的合同文件正在转换PDF格式......","","",true,"","","",function(){
window.location.reload();
});
// wordToPdf();
}
},5000);
}
//定时器
function setTimes1(){
var a=setInterval(function(){
var result=RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignAction","getMakeContractProcess","ProjectId=<%=projectId%>");
if("success"==result){
clearInterval(a);
}else{
AsDebug.showMessage("提示","生成的合同文件正在转换PDF格式......","","",true,"","","",function(){
window.location.reload();
});
// wordToPdf();
}
},3000);
}
//在加载完表格后调用
function afterSearch(){
for(var i=0;i<getRowCount(0);i++){
var fileinfo=getObj(0,i,"fileinfo").innerHTML;
var obj=eval('('+fileinfo+')');
var html="";
for(var file in obj){
if(obj[file]['pdf']=="true"){
html+='<a class="btn_icon btn_icon_search" onclick="showPDF(\''+obj[file]['id']+'\',\''+obj[file]['filename']+'\');">&nbsp;</a>';
}
html+='<a onclick="downloadFile(\''+obj[file]['id']+'\',\''+obj[file]['filename']+'\');">&nbsp;';
html+='<font color="blue">'+obj[file]['filename']+'</font></a>';
html+='【操作时间:'+obj[file]['inputtime']+'】';
html+='【操作人:'+obj[file]['inputuser']+'】';
html+='【大小:'+Math.floor(obj[file]['FileSize']/1024*100)/100+'kb】';
html+='</br>';
}
getObj(0,i,"fileinfo").innerHTML=html;
getObj(0,i,"fileinfo").style["white-space"]="pre-wrap";
}
}
function downloadFile(id){
if(!frames["downloadTemplate"]) $("<iframe name='downloadTemplate' style='display:none;'></iframe>").appendTo("body");
window.open(sWebRootPath+"/servlet/view/docDownloadServlet?CompClientID=<%=sCompClientID%>&sqlString=save@"+id, "downloadTemplate");
}
function downFile(){
var results = RunJavaMethodTrans("com.tenwa.action.channelportal.businesshanding.contractaward.ContractAward","projectStatus","project_id=<%=projectId%>");
var result = results.split("@");
if("<%=custtype%>"=="01"){
if(eval(result[0])<3){
AsDebug.showMessage("提示","请生成合同,在下载纸质合同","","",true);
return;
};
//查看合同word转换pdf进度
var result=RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignAction","getMakeContractProcess","ProjectId=<%=projectId%>");
if(result=="error"){
AsDebug.showMessage("提示","合同文件正在转换pdf......","","",true,"","","",function(){
window.location.reload();
});
return;
}else{
downloadZipFile();
}
}else{
if(eval(result[0])<3){
AsDebug.showMessage("提示","请生成合同,自然人没有权限下载纸质合同!","","",true);
return;
};
AsDebug.showMessage("提示","自然人没有权限下载纸质合同,请电子签约!","","",true);
}
}
function downloadZipFile(){
var id="<%=projectId%>";
//打包文件名
var fileName="ContractSign<%=contractNumber%>";
//打包类型为合同签约模块
var packageType="contractSign";
var filePath = "<%=CurConfig.getConfigure("FileSavePath")%>";
if(!frames["downloadTemplate"]) $("<iframe name='downloadTemplate' style='display:none;'></iframe>").appendTo("body");
window.open(sWebRootPath+"/servlet/view/ContractSigndocDownloadServlet?CompClientID=<%=sCompClientID%>&id="+id+"&filePath="+filePath+"&fileName="+fileName+"&packageType="+packageType, "downloadTemplate");
}
function showPDF(id,name){
var sUrl="/Tenwa/Comm/DocList/showPDF.jsp";
var param="attrid="+id;
AsControl.OpenPage(sUrl,param,"","");
}
//重新发送短信
function sendMessageAgain(){
var results = RunJavaMethodTrans("com.tenwa.action.channelportal.businesshanding.contractaward.ContractAward","projectStatus","project_id=<%=projectId%>");
var result=results.split("@");
debugger;
if(eval(result[0])<3){
AsDebug.showMessage("提示","请先制作合同!","","",true);
return;
};
if(eval(result[0])==4){
AsDebug.showMessage("提示","电子签约已完成,无法发送短信!","","",true);
return;
}
if(eval(result[0])!=8 && result[2]=="false"){
AsDebug.showMessage("提示","没有发起电子签约,无法发送短信!","","",true);
return;
}
var sReturn = RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignAction","sendMessageAgain","ProjectId=<%=projectId%>");
if("success"==sReturn){
AsDebug.showMessage("提示","短信发送成功!","","",true);
}else{
AsDebug.showMessage("提示","短信发送失败!["+sReturn+"]","","",true);
}
}
//当前日期
function getNowFormatDate() {
var date = new Date();
var seperator1 = "-";
var seperator2 = ":";
var month = date.getMonth() + 1;
var strDate = date.getDate();
var strMinutes = date.getMinutes()
var strSeconds = date.getSeconds();
if (month >= 1 && month <= 9) {
month = "0" + month;
}
if (strDate >= 0 && strDate <= 9) {
strDate = "0" + strDate;
}
if (strMinutes >= 0 && strMinutes <= 9) {
strMinutes = "0" + strMinutes;
}
if (strSeconds >= 0 && strSeconds <= 9) {
strSeconds = "0" + strSeconds;
}
var currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate
+ " " + date.getHours() + seperator2 + strMinutes
+ seperator2 + strSeconds;
return currentdate;
}
</script>
<%@ include file="/Frame/resources/include/include_end.jspf"%>

View File

@ -198,7 +198,6 @@
alert("请勾选合同模板!");
return;
}
alert(tempids);
var param={};
var tempParam={};
var sparam="";
@ -225,6 +224,7 @@ alert(tempids);
if(sReturn0.length>2){
alert(sReturn0);
}else{
RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignAction","wordToPdf","FlowUnid=<%=flowunid%>,flagType=word");
alert("生成成功");
}
reloadSelf();

View File

@ -51,6 +51,7 @@
String taskno=CurPage.getParameter("TaskNo");
String ishistory=CurPage.getParameter("IsHistory");
String nodeNo=CurPage.getParameter("NodeNo");
String CustomerType=CurPage.getParameter("CustomerType");
%>
<%/*~END~*/%>

View File

@ -49,6 +49,8 @@
String nodeNo=CurPage.getParameter("NodeNo");
String taskno=CurPage.getParameter("TaskNo");
String RightType= CurPage.getParameter("RightType");
String CarAttributes=CurPage.getParameter("CarAttributes");
String Leasehold=CurPage.getParameter("Leasehold");
%>
<%/*~END~*/%>
@ -139,70 +141,53 @@
}
function getselectCarBrand(){
var cityid = getItemValue(0,getRow(0),"cityid");
if(typeof(cityid) == "undefined" || cityid.length == 0 ){
AsDebug.showMessage("提示","请选择区域!","","",true);
return;
}
var params = "cityid=" + cityid + "&carType=<%=carType%>";
AsDialog.PopView("/Tenwa/Lease/App/Interface/CarInterface/CarBrand.jsp",params,
"dialogWidth=800px;dialogHeight=600px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(myBrand){
if(myBrand=="NO"){
setItemReadOnly(0,0,"BRAND",false);
setItemReadOnly(0,0,"VEHICLES",false);
setItemReadOnly(0,0,"MODEL",false);
setItemValue(0,0,"EVAL_PRICE","0");
$('#GUIDEDPRICE').attr('disabled',false);
setItemReadOnly(0,0,"DISPLACEMENT",false);
}else{
setItemReadOnly(0,0,"BRAND",true);
setItemReadOnly(0,0,"VEHICLES",true);
setItemReadOnly(0,0,"MODEL",true);
$('#GUIDEDPRICE').attr('disabled',true);
setItemReadOnly(0,0,"DISPLACEMENT",true);
for (var key in myBrand){
if(key=="guidedprice" || key=="eval_price" || key=="m_eval_price" || key=="purchaseprice"){
setItemValue(0,0,key,myBrand[key]=="0"?"0":myBrand[key]*10000);
}else{
setItemValue(0,0,key,myBrand[key]);
}
}
}
},"车品牌选择");
<%/*~[Describe=选择车品牌;]~*/%>
var MyOjbect={};
AsDialog.OpenSelector("SelectCardataBrand","","dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px",
function(sReturn){
if(!sReturn||sReturn=="_CANCEL_"||sReturn==""||sReturn=="_NONE_")
{
//alert(getHtmlMessage('1'));//请选择一条信息!
return;
}
sReturn = sReturn.split("@");
MyOjbect.brandid=sReturn[0];
MyOjbect.brandname=sReturn[1];
setItemValue(0,0,"BRAND",sReturn[1]);
},"请选择车品牌",'');
// var cityid = getItemValue(0,getRow(0),"cityid");
// if(typeof(cityid) == "undefined" || cityid.length == 0 ){
// AsDebug.showMessage("提示","请选择区域!","","",true);
// return;
// }
<%-- var params = "cityid=" + cityid + "&carType=<%=carType%>"; --%>
// AsDialog.PopView("/Tenwa/Lease/App/Interface/CarInterface/CarBrand.jsp",params,
// "dialogWidth=800px;dialogHeight=600px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(myBrand){
// if(myBrand=="NO"){
// setItemReadOnly(0,0,"BRAND",false);
// setItemReadOnly(0,0,"VEHICLES",false);
// setItemReadOnly(0,0,"MODEL",false);
// setItemValue(0,0,"EVAL_PRICE","0");
// $('#GUIDEDPRICE').attr('disabled',false);
// setItemReadOnly(0,0,"DISPLACEMENT",false);
// }else{
// setItemReadOnly(0,0,"BRAND",true);
// setItemReadOnly(0,0,"VEHICLES",true);
// setItemReadOnly(0,0,"MODEL",true);
// $('#GUIDEDPRICE').attr('disabled',true);
// setItemReadOnly(0,0,"DISPLACEMENT",true);
// for (var key in myBrand){
// if(key=="guidedprice" || key=="eval_price" || key=="m_eval_price" || key=="purchaseprice"){
// setItemValue(0,0,key,myBrand[key]=="0"?"0":myBrand[key]*10000);
// }else{
// setItemValue(0,0,key,myBrand[key]);
// }
// }
// }
// },"车品牌选择");
}
function getselectProvinceAndCity(){
AsDialog.PopView("/Tenwa/Lease/App/Interface/ProvinceCity/SelectProvinceCity.jsp","",
"dialogWidth=600px;dialogHeight=450px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(sReturnInfo){
if(sReturnInfo.length==0){
return;
}
var brand = getItemValue(0,0,"BRAND");
if (!(typeof(brand)=="undefined" || ""==brand || null==brand)){
alert("城市已重新选择,需要重新选择车辆信息!");
setItemValue(0,0,"BRAND","");
setItemValue(0,0,"VEHICLES","");
setItemValue(0,0,"MODEL","");
setItemValue(0,0,"GUIDEDPRICE","");
setItemValue(0,0,"INVOICEDPRICE","");
setItemValue(0,0,"CARCOLOR","");
setItemValue(0,0,"DISPLACEMENT","");
setItemValue(0,0,"INVOICEDPRICE","");
setItemValue(0,0,"FRAME_NUMBER","");
}
var cityid= sReturnInfo.split("@")[2];
var cityname= sReturnInfo.split("@")[1]+sReturnInfo.split("@")[3];
setItemValue(0,0,"cityid",cityid);
setItemValue(0,0,"cityname",cityname);
if(getItemValue(0,0,"ID")){
setItemValue(0,0,"GUIDEDPRICE","0");
setItemValue(0,0,"M_EVAL_PRICE","0");
setItemValue(0,0,"EVAL_PRICE","0");
setItemValue(0,0,"PURCHASEPRICE","0");
setItemValue(0,0,"INVOICEDPRICE","0");
}
},"省份城市");
}
</script>
<%/*~END~*/%>

View File

@ -43,6 +43,12 @@
String taskno=CurPage.getParameter("TaskNo");
String ishistory=CurPage.getParameter("IsHistory");
String nodeNo=CurPage.getParameter("NodeNo");
String carAttributes=CurPage.getParameter("carAttributes");
String leasehold=CurPage.getParameter("leasehold");
String carSystem=CurPage.getParameter("carSystem");
System.out.print("+++++++++++++++++++++++++"+carSystem+"------------------");
%>
<%/*~END~*/%>
@ -111,6 +117,11 @@ if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory.
<script type="text/javascript">
/*~[Describe=µ¼Èë×âÁÞÎïexcel;InputParam=ÎÞ;OutPutParam=ÎÞ;]~*/
$(function(){
var carSystem="<%=carSystem%>";
setItemValue(0,0,"MODEL",carSystem);
});
function inExcel(){
var importCondition = {};//µ¼ÈëÅäÖÃ
var sEquipType = "<%=sEquipType%>";//×âÁÞÎïÀàÐÍ

View File

@ -21,8 +21,9 @@
var product_id=sReturn[1];
var project_id = sReturn[2];
var project_name = sReturn[3];
var customertype = sReturn[4];
var sParams = "ApplyType=<%=sApplyType%>,CurUserID=<%=CurUser.getUserID()%>";
sParams =sParams+",ProductId="+product_id+",ProjectId="+id+",ProjectNo="+project_id+",ProjectName="+project_name+",ApplyType=<%=sApplyType%>";
sParams =sParams+",ProductId="+product_id+",ProjectId="+id+",ProjectNo="+project_id+",customertype="+customertype+",ProjectName="+project_name+",ApplyType=<%=sApplyType%>";
var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.contract.contractapproval.ContractApprovalStartAction","initFLow",sParams);
if(typeof(sReturnInfo)=="undefined" || sReturnInfo=="" || sReturnInfo=="_CANCEL_") return;

View File

@ -22,7 +22,22 @@
{"true","All","Button","±£´æ","±£´æ","saveRecord()","","","","btn_icon_add",""},
};
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
<script type="text/javascript">
<script type="text/javascript">
$(function (){
var html="";
<%-- if("<%=custtype%>"=="03"){ --%>
// //(无法完成电子签约,请采用下载纸质合同)
// html='<tr id="contractsign" class="test"><td>合同签约操作步骤:<br/>1.制作合同<br/>2.发起电子签约<br/>3.完成电子签约<br/>4.资料上传</td></tr>';
// }else{
// }
html='<tr id="contractsign" class="test"><td><a href="http://www.chinatax.gov.cn/">国家税务总局</a></td></tr>';
$("#ListTable").prepend(html);
// $("#myiframe0_static").height($("#myiframe0_static").height()-108);
// $("#myiframe0_cells").height($("#myiframe0_cells").height()-108);
// setTimes1();
})
function saveRecord(){
as_save("myiframe0");
}

View File

@ -75,19 +75,22 @@
function saveRecord()
{
//从页面上获取客户编号,产品编号
var carAttributes = getItemValue(0,getRow(),"carAttributes");
var leasehold = getItemValue(0,getRow(),"leasehold");
var productModel =getItemValue(0,getRow(),"productModel");
var carSeries = getItemValue(0,getRow(),"carSeries");
var carSystem = getItemValue(0,getRow(),"carSystem");
var productid = getItemValue(0,getRow(),"productId");
var productname = getItemValue(0,getRow(),"productName");
var custid = getItemValue(0,getRow(),"CustomerID");
var custname = getItemValue(0,getRow(),"CustomerName");
var customerType = getItemValue(0,getRow(),"Customer_type");
var carSystem = getItemValue(0,getRow(),"carSystem");
var certtype =getItemValue(0,getRow(),"certtype");
var certid =getItemValue(0,getRow(),"certid");
var carSeries = getItemValue(0,getRow(),"carSeries");
var productModel =getItemValue(0,getRow(),"productModel");
var brandid = getItemValue(0,getRow(),"brandid");
var seriesid = getItemValue(0,getRow(),"seriesid");
var modelid = getItemValue(0,getRow(),"modelid");
var carSystem = getItemValue(0,getRow(),"carSystem");
if(certtype==""){
alert("请选择证件类型");
@ -124,16 +127,15 @@
}
var sParams = "ApplyType=<%=sApplyType%>,CurUserID=<%=CurUser.getUserID()%>";
sParams =sParams+",ProductId="+productid+",ProductName="+productname+",Customer_type="+customerType+",CustomerType="+customerType;
sParams =sParams+",ProductId="+productid+",ProductName="+productname+",CustomerType="+customerType+",carAttributes="+carAttributes+",leasehold="+leasehold+",carSystem="+carSystem;
var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.project.projectapproval.BusinessApprovalStartAction","initFLow",sParams);
if(typeof(sReturnInfo)=="undefined" || sReturnInfo=="" || sReturnInfo=="_CANCEL_" )
{
doCancel();
}
else
{
parent.AsDialog.ClosePage(sReturnInfo+"@"+customerType);
parent.AsDialog.ClosePage(sReturnInfo+"@"+customerType+"@"+carAttributes+"@"+leasehold+"@"+carSystem);
}
}
@ -158,43 +160,8 @@
<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=Info07;Describe=自定义函数;]~*/%>
<script type="text/javascript">
var MyOjbect={};
<%/*~[Describe=选择客户;]~*/%>
function selectCustomerName()
{
AsDialog.OpenSelector("SelectCustomerForProjectApprove","","dialogWidth=" + parseInt(window.screen.width * 0.8) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px",
function(sReturn){
if(!sReturn||sReturn=="_CANCEL_"||sReturn=="")
{
//alert(getHtmlMessage('1'));//请选择一条信息!
return;
}
sReturn = sReturn.split("@");
alert(sReturn[1]);
setItemValue(0,0,"CUSTOMERID",sReturn[0]);
setItemValue(0,0,"customername",sReturn[1]);
},"请选择客户",'');
}
<%/*~[Describe=选择业务品种;]~*/%>
function selectBusinessType()
{
AsDialog.OpenSelector("SelectBusinessType","ProductType,1,TypeNo,0005","dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px",
function(sReturn){
if(!sReturn||sReturn=="_CANCEL_"||sReturn==""||sReturn=="_NONE_")
{
//alert(getHtmlMessage('1'));//请选择一条信息!
return;
}
sReturn = sReturn.split("@");
alert(sReturn);
setItemValue(0,0,"productId",sReturn[0]);
setItemValue(0,0,"productName",sReturn[1]);
},"请选择业务品种",'');
}
var MyOjbect={};
<%/*~[Describe=选择车品牌;]~*/%>
function selectProductModel()
{
@ -211,6 +178,7 @@
setItemValue(0,getRow(),"productModel",sReturn[1]);
},"请选择车品牌",'');
}
<%/*~[Describe=请选择车系;]~*/%>
function selectCarSeries()
{
@ -235,6 +203,7 @@
}
}
<%/*~[Describe=选择车型;]~*/%>
function selectCarSystem()
{
@ -256,7 +225,62 @@
}else{
alert("请先选择车系");
}
}
<%/*~[Describe=选择产品类型;]~*/%>
function selectBusinessType()
{
var carAttributes = getItemValue(0,getRow(),"carAttributes");
var leasehold = getItemValue(0,getRow(),"leasehold");
if(carAttributes=='1'){
AsDialog.OpenSelector("SelectBusinessType","ProductType,1,TypeNo,0005","dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px",
function(sReturn){
if(!sReturn||sReturn=="_CANCEL_"||sReturn==""||sReturn=="_NONE_")
{
//alert(getHtmlMessage('1'));//请选择一条信息!
return;
}
sReturn = sReturn.split("@");
// alert(sReturn);
setItemValue(0,0,"productId",sReturn[0]);
setItemValue(0,0,"productName",sReturn[1]);
},"请选择产品类型",'');
}else if(carAttributes=='2'){
AsDialog.OpenSelector("SelectBusinessType","ProductType,1,TypeNo,0005","dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px",
function(sReturn){
if(!sReturn||sReturn=="_CANCEL_"||sReturn==""||sReturn=="_NONE_")
{
//alert(getHtmlMessage('1'));//请选择一条信息!
return;
}
sReturn = sReturn.split("@");
// alert(sReturn);
setItemValue(0,0,"productId",sReturn[0]);
setItemValue(0,0,"productName",sReturn[1]);
},"请选择产品类型",'');
}
}
<%/*~[Describe=选择客户;]~*/%>
function selectCustomerName()
{
AsDialog.OpenSelector("SelectCustomerForProjectApprove","","dialogWidth=" + parseInt(window.screen.width * 0.8) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px",
function(sReturn){
if(!sReturn||sReturn=="_CANCEL_"||sReturn=="")
{
//alert(getHtmlMessage('1'));//请选择一条信息!
return;
}
sReturn = sReturn.split("@");
// alert(sReturn[1]);
setItemValue(0,0,"CUSTOMERID",sReturn[0]);
setItemValue(0,0,"customername",sReturn[1]);
},"请选择客户",'');
}
</script>
<%/*~END~*/%>
@ -279,7 +303,7 @@
showItem(0,"product_id");//字段显示
}
}
initRow();
//initRow();
</script>
<%/*~END~*/%>

View File

@ -7,14 +7,14 @@
<DataSource>als</DataSource>
<DataSource_Report>als_rpt</DataSource_Report>
<!--TranDebugMode Remark 0:不输出Sql运行信息,1:输出Sql运行信息 -->
<TranDebugMode>1</TranDebugMode>
<!--StatementMode Remark 查询SQL游标模式 0:Statement,1: prepareStatement -->
<StatementMode>1</StatementMode>
<!--DBChange Remark 1:GBK->ISO8859_1,2:NoChange,3:ISO8859_1->GBK -->
<DBChange>2</DBChange>
<AmarDWChange>1</AmarDWChange>
<AmarDWMaxRows>1000000</AmarDWMaxRows>
<AmarDWDefPageSize>20</AmarDWDefPageSize>
@ -26,7 +26,7 @@
<RunMode>Development</RunMode>
<!--FileSaveMode Remark Table存放在数据库Disk存放在文件服务器 -->
<FileSaveMode>Disk</FileSaveMode>
<!--为满足程序和文档分开的需要,下面指定的文档保存、下载路径一般都为绝对路径-->
<!--为满足程序和文档分开的需要,下面指定的文档保存、下载路径一般都为绝对路径 -->
<!--FileSavePath Remark 文件保存路径 在FileSaveMode为Disk指定如果指定目录不存在则保存在WEB-INF的Upload下 -->
<FileSavePath>d:/tmp/als/Upload</FileSavePath>
<!--文件模板位置 -->
@ -36,7 +36,8 @@
<!--WorkDocSaveMode Remark Table存放在数据库Disk存放在文件服务器 -->
<WorkDocSaveMode>Disk</WorkDocSaveMode>
<!--WorkDocOfflineSavePath Remark 离线格式化报告存储位置 -->
<WorkDocOfflineSavePath>/tmp/als/offlineworkdoc</WorkDocOfflineSavePath>
<WorkDocOfflineSavePath>/tmp/als/offlineworkdoc
</WorkDocOfflineSavePath>
<!--DWDownloadFilePath 表示DataWindow下载的文件存放的服务器位置必须以/表示目录分割符 -->
<DWDownloadFilePath>/tmp/DownLoad</DWDownloadFilePath>
@ -48,10 +49,10 @@
<FileNameType>SRC</FileNameType>
<!-- OW列表模糊查询 -->
<ListFuzzyQuery>true</ListFuzzyQuery>
<!-- 异步查询导出文件路径 -->
<SynchQueryFilePath>/home/amarsoft/als/Download</SynchQueryFilePath>
<!-- 是否从文件读取语言翻译 -->
<File4Language>true</File4Language>
<!-- 是否自动生成语言文件开发环境设为true生产或演示模式设为false -->
@ -68,35 +69,46 @@
<ImplementationName>Leasing Cloud</ImplementationName>
<ImplementationVersion></ImplementationVersion>
<BankName>安硕</BankName>
<!-- =========================================业务配置 - begin======================================= -->
<!--根据ApporveNeed的配置判断是否登记最终审批意见true-登记最终审批意见false-不登记最终审批 意见 -->
<ApproveNeed>true</ApproveNeed>
<!--ClassifyObjectType Remark BusinessDueBill:五级分类按借据,BusinessContract:五级分类按合同 -->
<ClassifyObjectType>BusinessDueBill</ClassifyObjectType>
<!-- =========================================业务配置 - end ========================================= -->
<ReportServer>http://localhost:8080/report</ReportServer>
<ReportOutServer>http://localhost:8080/report</ReportOutServer>
<!-- =========================================APP推送配置 - begin ========================================= -->
<IS_PUSH>true</IS_PUSH>
<APP_SECRET_KEY>WZ5jwvsdAFzo+sDY7wrZgA==</APP_SECRET_KEY>
<MY_PACKAGE_NAME>com.tenwa.sinopharmEleasing</MY_PACKAGE_NAME>
<APP_SECRET_KEY_IOS>rfL+5IFP/fHrsIiCZlJu5Q==</APP_SECRET_KEY_IOS>
<!-- =========================================APP推送配置 - begin ========================================= -->
<!-- =======车300接口===== -->
<CAR_TOKEN>ee450692cbd24e8bacb27b6f46b4d752</CAR_TOKEN>
<CAR_BRAND>http://api.che300.com/service/getCarBrandList</CAR_BRAND>
<CAR_BRAND_SERIES>http://api.che300.com/service/getCarSeriesList</CAR_BRAND_SERIES>
<CAR_BRAND_MODEL>http://api.che300.com/service/getCarModelList</CAR_BRAND_MODEL>
<CAR_NEW_PRICE>http://api.che300.com/service/getNewCarPrice</CAR_NEW_PRICE>
<USED_CAR_PRICE>http://api.che300.com/service/getUsedCarPrice</USED_CAR_PRICE>
<!-- ==================================(Hession推送配置 Springboot) ========================================= -->
<!-- <RequestHessionUrl>http://localhost:8080/skeleton/remoting/api</RequestHessionUrl>-->
<RequestHessionUrl>http://111.205.51.131:27203/clms_proxy/remoting/api</RequestHessionUrl>
<!-- <RequestHessionUrl>http://192.168.7.2:9090/HttpRequestAppService</RequestHessionUrl> -->
<CAR_BRAND>http://api.che300.com/service/getCarBrandList</CAR_BRAND>
<CAR_BRAND_SERIES>http://api.che300.com/service/getCarSeriesList
</CAR_BRAND_SERIES>
<CAR_BRAND_MODEL>http://api.che300.com/service/getCarModelList
</CAR_BRAND_MODEL>
<CAR_NEW_PRICE>http://api.che300.com/service/getNewCarPrice
</CAR_NEW_PRICE>
<USED_CAR_PRICE>http://api.che300.com/service/getUsedCarPrice
</USED_CAR_PRICE>
<!-- ==================================(Hession推送配置 Springboot) ========================================= -->
<!-- <RequestHessionUrl>http://localhost:8080/skeleton/remoting/api</RequestHessionUrl> -->
<RequestHessionUrl>http://111.205.51.131:27203/clms_proxy/remoting/api
</RequestHessionUrl>
<!-- <RequestHessionUrl>http://192.168.7.2:9090/HttpRequestAppService</RequestHessionUrl> -->
<!--AppConfigPath Remark Tableapp_config.properties路径 -->
<!-- <AppConfigPath>C:/Users/admin/git/TEL6_V1.0/WebContent/WEB-INF/etc/app_config.properties</AppConfigPath> -->
<!-- <AppConfigPath>/soft/apache-tomcat-8.0.47-8081-nfzl/webapps/nfzl/WEB-INF/etc/app_config.properties</AppConfigPath> -->
<!-- 本地 -->
<AppConfigPath>/etc/app_config.properties</AppConfigPath>
</Domain>

File diff suppressed because one or more lines are too long

View File

@ -156,7 +156,7 @@
<Parameter COMPONENTTYPE="PRD0350" DATATYPE="1" METHODTYPE="Nothing" OPERATOR="VALUE" PARAMETERID="RentRate" PARAMETERNAME="租金税率(%)" STATUS="1"/>
<Parameter CODESCRIPT="applicable_channel" CODESOURCE="Code" DATATYPE="4" METHODTYPE="Nothing" OPERATOR="VALUE" PARAMETERID="ApplicableChannel" PARAMETERNAME="适用渠道" SELECTTYPE="05" STATUS="1"/>
<Parameter CODESCRIPT="onhire_determination" CODESOURCE="Code" COMPONENTTYPE="PRD0350" DATATYPE="4" METHODTYPE="Nothing" OPERATOR="VALUE" PARAMETERID="OnhireDetermination" PARAMETERNAME="起租认定" SELECTTYPE="05" STATUS="1"/>
<Parameter COMPONENTTYPE="PRD0350" DATATYPE="6" METHODTYPE="Nothing" OPERATOR="VALUE" PARAMETERID="ProductRate" PARAMETERNAME="产品利率" STATUS="1"/>
<Parameter COMPONENTTYPE="PRD0350" DATATYPE="6" METHODTYPE="Nothing" OPERATOR="MINIMUMVALUE,MAXIMUMVALUE,VALUE" PARAMETERID="ProductRate" PARAMETERNAME="产品利率/费率" STATUS="1"/>
<Parameter COMPONENTTYPE="PRD0312" DATATYPE="1" METHODTYPE="Nothing" OPERATOR="VALUE" PARAMETERID="EquipmentScope" PARAMETERNAME="租赁物适用范围" STATUS="1"/>
<Parameter CODESCRIPT="read_write_mode" CODESOURCE="Code" COMPONENTTYPE="PRD0380" DATATYPE="4" METHODTYPE="Nothing" OPERATOR="VALUE" PARAMETERID="ReadWriteMode" PARAMETERNAME="读写方式" SELECTTYPE="05" STATUS="1"/>
<Parameter CODESCRIPT="telephone_home_visit" CODESOURCE="Code" COMPONENTTYPE="PRD0382" DATATYPE="4" METHODTYPE="Nothing" OPERATOR="VALUE" PARAMETERID="TelephoneHomeVisit" PARAMETERNAME="电核家访" SELECTTYPE="05" STATUS="1"/>
@ -167,7 +167,7 @@
<Parameter COMPONENTTYPE="PRD0381" DATATYPE="5" METHODTYPE="Nothing" OPERATOR="VALUE" PARAMETERID="AdvanceInvoicing" PARAMETERNAME="提前开票天数" STATUS="1"/>
<Parameter COMPONENTTYPE="PRD0380" DATATYPE="5" METHODTYPE="Nothing" OPERATOR="MINIMUMVALUE,MAXIMUMVALUE,VALUE" PARAMETERID="DefaultValue" PARAMETERNAME="默认值" STATUS="1"/>
<Parameter CODESCRIPT="residual_method" CODESOURCE="Code" COMPONENTTYPE="PRD0380" DATATYPE="4" METHODTYPE="Nothing" OPERATOR="VALUE" PARAMETERID="ResidualMethod" PARAMETERNAME="残值处理方式" SELECTTYPE="05" STATUS="1"/>
<Parameter CODESCRIPT="INCOME_NUMBER" CODESOURCE="Code" COMPONENTTYPE="PRD0350" DATATYPE="4" METHODTYPE="Nothing" OPERATOR="VALUE" PARAMETERID="RentMonth" PARAMETERNAME="租赁期限" SELECTTYPE="04" STATUS="1"/>
<Parameter CODESCRIPT="INCOME_NUMBER" CODESOURCE="Code" COMPONENTTYPE="PRD0350" DATATYPE="5" METHODTYPE="Nothing" OPERATOR="MINIMUMVALUE,MAXIMUMVALUE,VALUE" PARAMETERID="RentMonth" PARAMETERNAME="租赁期限" SELECTTYPE="04" STATUS="1"/>
<Parameter COMPONENTTYPE="PRD0380" DATATYPE="6" METHODTYPE="Nothing" OPERATOR="VALUE" PARAMETERID="EndValueRatio" PARAMETERNAME="残值比例限定" STATUS="1"/>
<Parameter CODESCRIPT="yes_no" CODESOURCE="Code" COMPONENTTYPE="PRD0385" DATATYPE="4" METHODTYPE="Nothing" OPERATOR="VALUE" PARAMETERID="isBalance" PARAMETERNAME="是否差额放款" SELECTTYPE="05" STATUS="1"/>
<Parameter COMPONENTTYPE="PRD0386" DATATYPE="1" METHODTYPE="Nothing" OPERATOR="VALUE" PARAMETERID="GuaranteeName" PARAMETERNAME="担保人名称" STATUS="1"/>
@ -178,13 +178,13 @@
<Parameter CODESCRIPT="AssureRelation" CODESOURCE="Code" COMPONENTTYPE="PRD0386" DATATYPE="4" METHODTYPE="Nothing" OPERATOR="VALUE" PARAMETERID="Relationship" PARAMETERNAME="关系" SELECTTYPE="04" STATUS="1"/>
<Parameter COMPONENTTYPE="PRD0386" DATATYPE="1" METHODTYPE="Nothing" OPERATOR="VALUE" PARAMETERID="SigningAddress" PARAMETERNAME="签约地点" STATUS="1"/>
<Parameter CODESCRIPT="InputType" CODESOURCE="Code" COMPONENTTYPE="PRD0315,PRD0380" DATATYPE="4" METHODTYPE="Nothing" OPERATOR="VALUE" PARAMETERID="InputType" PARAMETERNAME="残值输入方式" SELECTTYPE="04" STATUS="1"/>
<Parameter COMPONENTTYPE="PRD0350" DATATYPE="6" METHODTYPE="Nothing" OPERATOR="VALUE" PARAMETERID="IRR" PARAMETERNAME="IRR" STATUS="1"/>
<Parameter COMPONENTTYPE="PRD0350" DATATYPE="6" METHODTYPE="Nothing" OPERATOR="MINIMUMVALUE,MAXIMUMVALUE,VALUE" PARAMETERID="IRR" PARAMETERNAME="IRR" STATUS="1"/>
<Parameter COMPONENTTYPE="PRD0350" DATATYPE="2" METHODTYPE="Nothing" OPERATOR="VALUE" PARAMETERID="MoneyUpLimits" PARAMETERNAME="贷款比例上限" STATUS="1"/>
<Parameter COMPONENTTYPE="PRD0350" DATATYPE="2" METHODTYPE="Nothing" OPERATOR="VALUE" PARAMETERID="MoneyLowLimits" PARAMETERNAME="融资额下限" STATUS="1"/>
<Parameter COMPONENTTYPE="PRD0350" DATATYPE="2" METHODTYPE="Nothing" OPERATOR="VALUE" PARAMETERID="EquipUplimpits" PARAMETERNAME="融资额上限" STATUS="1"/>
<Parameter COMPONENTTYPE="PRD0350" DATATYPE="6" METHODTYPE="Nothing" OPERATOR="VALUE" PARAMETERID="HandleMoneyRate" PARAMETERNAME="手续费比例" STATUS="1"/>
<Parameter COMPONENTTYPE="PRD0350" DATATYPE="6" METHODTYPE="Nothing" OPERATOR="MINIMUMVALUE,MAXIMUMVALUE,VALUE" PARAMETERID="HandleMoneyRate" PARAMETERNAME="手续费比例" STATUS="1"/>
<Parameter COMPONENTTYPE="PRD0386" DATATYPE="1" METHODTYPE="Nothing" OPERATOR="VALUE" PARAMETERID="GuarantorName" PARAMETERNAME="保证人名称" STATUS="1"/>
<Parameter COMPONENTTYPE="PRD0403" DATATYPE="1" METHODTYPE="Nothing" OPERATOR="VALUE" PARAMETERID="BusinessEDocsNumber" PARAMETERNAME="合同模板编号" STATUS="1"/>
<Parameter CODESCRIPT="RentRound" CODESOURCE="Code" COMPONENTTYPE="PRD0323" DATATYPE="4" METHODTYPE="JBO" OPERATOR="VALUE" PARAMETERID="CleanMoney" PARAMETERNAME="租赁本金圆整" SELECTTYPE="02" STATUS="1"/>
<Parameter CODESCRIPT="RentRoundType" CODESOURCE="Code" COMPONENTTYPE="PRD0323" DATATYPE="4" METHODTYPE="Nothing" OPERATOR="VALUE" PARAMETERID="CleanMoneyType" PARAMETERNAME="租赁本金圆整方式" SELECTTYPE="05" STATUS="1"/>
</Parameters>
<Parameter CODESCRIPT="YesNo" CODESOURCE="Code" DATATYPE="4" METHODTYPE="Nothing" OPERATOR="VALUE" PARAMETERID="RentMonthReadOnly" PARAMETERNAME="是否只读" SELECTTYPE="05" STATUS="1"/><Parameter CODESCRIPT="YesNo" CODESOURCE="Code" COMPONENTTYPE="PRD0350" DATATYPE="4" METHODTYPE="Nothing" OPERATOR="VALUE" PARAMETERID="IRRReadOnly" PARAMETERNAME="是否只读" SELECTTYPE="05" STATUS="1"/><Parameter CODESCRIPT="YesNo" CODESOURCE="Code" COMPONENTTYPE="PRD0350" DATATYPE="4" METHODTYPE="Nothing" OPERATOR="VALUE" PARAMETERID="HMRReadOnly" PARAMETERNAME="是否只读" SELECTTYPE="05" STATUS="1"/><Parameter CODESCRIPT="YesNo" CODESOURCE="Code" COMPONENTTYPE="PRD0350" DATATYPE="4" METHODTYPE="Nothing" OPERATOR="VALUE" PARAMETERID="ProductRateReadOnly" PARAMETERNAME="是否只读" SELECTTYPE="05" STATUS="1"/><Parameter CODESCRIPT="RateOrInterest" CODESOURCE="Code" COMPONENTTYPE="PRD0350" DATATYPE="4" METHODTYPE="Nothing" OPERATOR="VALUE" PARAMETERID="ProductType" PARAMETERNAME="利率/费率" SELECTTYPE="05" STATUS="1"/></Parameters>

View File

@ -2,7 +2,7 @@
<ComponentTypes>
<ComponentType ID="PRD01" NAME="准入要求" STATUS="2"/>
<ComponentType ID="PRD0350" NAME="产品设定" STATUS="1"/>
<ComponentType ID="PRD0314" NAME="方案信息" STATUS="1"/>
<ComponentType ID="PRD0314" NAME="方案信息" STATUS="2"/>
<ComponentType ID="PRD0313" NAME="多次起租" STATUS="2"/>
<ComponentType ID="PRD0312" NAME="租赁物类型" STATUS="1"/>
<ComponentType ID="PRD0401" NAME="受理调查" STATUS="2"/>

View File

@ -0,0 +1,69 @@
###############################################################################
# APP_CONFIG properties
###############################################################################
###############################################################################
# APP_BASE_CONFIG
###############################################################################
# base.data.
base.data.source=als
base.data.encoding=UTF-8
base.data.fource.encoding=true
# base.param.key.
base.param.key.hold.time=TokenHoldTime
base.param.key.encoding=encoding
base.param.key.no.check.uri=NoCheckURI
# session check.
base.session.check.token=token
base.session.check.user.id=userid
base.session.check.dev.id=devid
base.session.check.dev.os=devos
base.session.check.expire=expire
# session.
base.session.web.api.page=WebApiPage
base.session.req.uri=ReqURI
# base.return.
base.return.code.500=500
base.return.msg.500=\u540E\u53F0\u670D\u52A1\u51FA\u73B0\u5F02\u5E38!
base.return.code.404=404
base.return.code.406=406
base.return.msg.406=\u8BBF\u95EE\u670D\u52A1\u540E\u53F0\u6743\u9650\u65E0\u6548!
base.return.result.success.code=SUCCESS
base.return.result.fail.code=FAIL
base.return.msg.save.fail=\u4FDD\u5B58\u5931\u8D25
base.return.msg.save.success=\u4FDD\u5B58\u6210\u529F
base.return.msg.edit.fail=\u7F16\u8F91\u5931\u8D25
base.return.msg.edit.success=\u7F16\u8F91\u6210\u529F
base.return.msg.del.fail=\u5220\u9664\u5931\u8D25
base.return.msg.del.success=\u5220\u9664\u6210\u529F
base.return.msg.init.display.fail=\u521D\u59CB\u5316\u9875\u9762\u5931\u8D25
base.return.msg.init.display.success=\u521D\u59CB\u5316\u9875\u9762\u6210\u529F
base.return.type.void=void
base.return.type.app.att=AppAtt
# base pwd encryption des.
base.pwd.encryption.des.one=0123456789abc
base.pwd.encryption.des.two=1234567890abc
base.pwd.encryption.des.three=1234567890!@#
# customer type
base.customer.type.company=01
base.customer.type.person=03
###############################################################################
# APP_PUSH_MESSAGE_CONFIG
###############################################################################
push.message.switch=true
push.message.secret.key.android=xpStkADS2IUJk10PejtJvQ==
push.message.secret.key.ios=WZ5jwvsdAFzo+sDY7wrZgA==
push.message.package.name=com.tenwa.test
#base.filter.user.role.id='800090001R00000004','800090001R00000005','099','299','399','800090001R00000010','800090002R00000001','800090002R00000003','800090002R00000045','800090001R00000006','800090001R00000007','800090001R00000008','800090001R00000009','800090001R00000013','800090001R00000014','800090001R00000022','800090001R00000019','800090001R00000020','800090001R00000015','800090001R00000025'
base.filter.user.role.id=none

View File

@ -76,6 +76,7 @@
<Property name="com.amarsoft.are.jbo.impl.DefaultXMLJBOFactory.configFile"
value="{$ARE.APP_HOME}/etc/jbo/jbomanagers.xml,
{$ARE.APP_HOME}/etc/jbo/jbo_app.xml,
{$ARE.APP_HOME}/etc/jbo/jbo_app_fresh.xml,
{$ARE.APP_HOME}/etc/jbo/jbo_awe.xml,
{$ARE.APP_HOME}/etc/jbo/jbo_oti.xml,
{$ARE.APP_HOME}/etc/jbo/jbo_sys.xml,

View File

@ -1,24 +1,43 @@
<?xml version="1.0" encoding="GB2312"?>
<CacheConfig dbname="als" Version="1.0.0.0">
<cache name="代码表" loadClass="com.amarsoft.dict.als.cache.loader.CodeLoader"/>
<cache name="业务对象" loadClass="com.amarsoft.dict.als.cache.loader.ObjectTypeLoader"/>
<cache name="菜单" loadClass="com.amarsoft.dict.als.cache.loader.AWEMenuLoader"/>
<cache name="子系统" loadClass="com.amarsoft.dict.als.cache.loader.AWEAppLoader"/>
<cache name="URL控制表" loadClass="com.amarsoft.dict.als.cache.loader.AWEHrefLoader"/>
<cache name="功能点URL控制表" loadClass="com.amarsoft.dict.als.cache.loader.AWEFuncHrefLoader"/>
<cache name="角色" loadClass="com.amarsoft.dict.als.cache.loader.AWERoleLoader"/>
<cache name="名称对照" loadClass="com.amarsoft.dict.als.cache.loader.NameLoader" size="1000" expireTime="600"/>
<cache name="错误代码信息" loadClass="com.amarsoft.dict.als.cache.loader.ErrMsgLoader"/>
<cache name="ObjectWindow缓存" loadClass="com.amarsoft.dict.als.cache.loader.AWEDataWindowLoader" size="50" expireTime="1200"/>
<cache name="JBO关联对象缓存" loadClass="com.amarsoft.asquery.JBORelatedObjLoader"/>
<!--
<cache name="APP_CODE缓存" loadClass="apx.com.amarsoft.als.base.constant.cache.loader.AppCodeLoader"/>
<cache name="APP_DO缓存" loadClass="apx.com.amarsoft.als.base.constant.cache.loader.AppAweDoLoader" size="10000" />
<cache name="SYSCONF_CLTYPE" loadClass="com.amarsoft.app.creditline.cache.loader.CreditLineTypeDefinitionLoader"/>额度类型信息
<cache name="SYSCONF_LIMITATIONTYPE" loadClass="com.amarsoft.app.creditline.cache.loader.LimitationTypeDefinitionLoader"/>额度限制类型信息
<cache name="SYSCONF_CL_ERROR_TYPE" loadClass="com.amarsoft.app.creditline.cache.loader.ErrorTypeDefinitionLoader"/>额度异常点类型信息
-->
<!-- 新增核算cache -->
<cache name="核算交易定义" loadClass="com.amarsoft.app.als.sys.SystemConfigLoader"/>
<cache name="产品参数" loadClass="com.amarsoft.app.als.prd.config.loader.ProductConfigLoader"/>
<!-- app cache -->
<cache name="APP_CONFIG缓存"
loadClass="apx.com.amarsoft.als.base.cache.loader.AppConfigLoader" />
<cache name="APP_CODE缓存"
loadClass="apx.com.amarsoft.als.base.cache.loader.AppCodeLoader" size="1000000"
expireTime="600" />
<!-- 备注:元代买注释 解放启动时间 -->
<cache name="APP_DO缓存"
loadClass="apx.com.amarsoft.als.base.cache.loader.AppAweDoLoader"
size="1000000" expireTime="600" />
<!-- 备注国家行业map注释 解放启动时间 -->
<cache name="APP_Constant缓存"
loadClass="apx.com.amarsoft.als.base.cache.loader.AppConstantLoader" />
<cache name="代码表" loadClass="com.amarsoft.dict.als.cache.loader.CodeLoader" />
<cache name="业务对象" loadClass="com.amarsoft.dict.als.cache.loader.ObjectTypeLoader" />
<cache name="菜单" loadClass="com.amarsoft.dict.als.cache.loader.AWEMenuLoader" />
<cache name="子系统" loadClass="com.amarsoft.dict.als.cache.loader.AWEAppLoader" />
<cache name="URL控制表" loadClass="com.amarsoft.dict.als.cache.loader.AWEHrefLoader" />
<cache name="功能点URL控制表"
loadClass="com.amarsoft.dict.als.cache.loader.AWEFuncHrefLoader" />
<cache name="角色" loadClass="com.amarsoft.dict.als.cache.loader.AWERoleLoader" />
<cache name="名称对照" loadClass="com.amarsoft.dict.als.cache.loader.NameLoader"
size="1000" expireTime="600" />
<cache name="错误代码信息" loadClass="com.amarsoft.dict.als.cache.loader.ErrMsgLoader" />
<cache name="ObjectWindow缓存"
loadClass="com.amarsoft.dict.als.cache.loader.AWEDataWindowLoader"
size="50" expireTime="1200" />
<cache name="JBO关联对象缓存" loadClass="com.amarsoft.asquery.JBORelatedObjLoader" />
<!-- <cache name="APP_CODE缓存" loadClass="apx.com.amarsoft.als.base.constant.cache.loader.AppCodeLoader"/>
<cache name="APP_DO缓存" loadClass="apx.com.amarsoft.als.base.constant.cache.loader.AppAweDoLoader"
size="10000" /> <cache name="SYSCONF_CLTYPE" loadClass="com.amarsoft.app.creditline.cache.loader.CreditLineTypeDefinitionLoader"/>额度类型信息
<cache name="SYSCONF_LIMITATIONTYPE" loadClass="com.amarsoft.app.creditline.cache.loader.LimitationTypeDefinitionLoader"/>额度限制类型信息
<cache name="SYSCONF_CL_ERROR_TYPE" loadClass="com.amarsoft.app.creditline.cache.loader.ErrorTypeDefinitionLoader"/>额度异常点类型信息 -->
<!-- 新增核算cache -->
<cache name="核算交易定义" loadClass="com.amarsoft.app.als.sys.SystemConfigLoader" />
<cache name="产品参数"
loadClass="com.amarsoft.app.als.prd.config.loader.ProductConfigLoader" />
</CacheConfig>

View File

@ -4441,6 +4441,130 @@
</managerProperties>
</manager>
</class>
<class name="LB_PRODUCT_CAR" label="车系信息管理" keyAttributes="id">
<attributes>
<attribute name="id" label="标识" type="STRING" length="32"/>
<attribute name="product_id" label="产品编号" type="STRING" length="32"/>
<attribute name="brandid" label="车系编号" type="STRING" length="32"/>
<attribute name="inputuserid" label="登记人" type="STRING" length="100"/>
<attribute name="inputorgid" label="登记部门" type="STRING" length="100"/>
<attribute name="inputtime" label="登记时间" type="STRING" length="100"/>
<attribute name="updateuserid" label="更新人" type="STRING" length="100"/>
<attribute name="updateorgid" label="更新部门" type="STRING" length="100"/>
<attribute name="updatetime" label="更新时间" type="STRING" length="100"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="lb_product_car" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
<class name="LB_CAR_BRAND" label="车品牌" keyAttributes="id">
<attributes>
<attribute name="id" label="标识编号" type="STRING" length="100"/>
<attribute name="brandid" label="品牌ID" type="STRING" length="100"/>
<attribute name="initiala" label="品牌首字母" type="STRING" length="32"/>
<attribute name="name" label="品牌名称" type="STRING" length="100"/>
<attribute name="sortno" label="排序号" type="STRING" length="10"/>
<attribute name="isshow" label="是否显示" type="STRING" length="10"/>
<attribute name="inputuserid" label="登记人" type="STRING" length="100"/>
<attribute name="inputorgid" label="登记部门" type="STRING" length="100"/>
<attribute name="inputtime" label="登记时间" type="STRING" length="100"/>
<attribute name="updateuserid" label="更新人" type="STRING" length="100"/>
<attribute name="updateorgid" label="更新部门" type="STRING" length="100"/>
<attribute name="updatetime" label="更新时间" type="STRING" length="100"/>
<attribute name="interfactid" label="第三方ID" type="STRING" length="100"/>
<attribute name="carimage" label="图标" type="STRING" length="100"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="lb_car_brand" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
<class name="LB_CAR_BRANDSE" label="车系列" keyAttributes="id">
<attributes>
<attribute name="id" label="编号" type="STRING" length="100"/>
<attribute name="brandid" label="品牌ID" type="STRING" length="100"/>
<attribute name="brandname" label="品牌名称" type="STRING" length="100"/>
<attribute name="seriesid" label="车系ID" type="STRING" length="100"/>
<attribute name="seriesname" label="车系名称" type="STRING" length="100"/>
<attribute name="seriesgroupname" label="车系组名" type="STRING" length="100"/>
<attribute name="modelid" label="车型ID" type="STRING" length="100"/>
<attribute name="modelname" label="车型名称" type="STRING" length="100"/>
<attribute name="levelname" label="汽车品种" type="STRING" length="100"/>
<attribute name="makertype" label="制造商类型" type="STRING" length="100"/>
<attribute name="geartype" label="变速箱" type="STRING" length="100"/>
<attribute name="dischargestandard" label="排放标准" type="STRING" length="100"/>
<attribute name="seatnumber" label="座位数" type="STRING" length="100"/>
<attribute name="year" label="年款" type="STRING" length="100"/>
<attribute name="displacement" label="排量" type="STRING" length="100"/>
<attribute name="guidanceprice" label="指导价" type="STRING" length="100"/>
<attribute name="minregyear" label="最小上牌年份" type="STRING" length="100"/>
<attribute name="maxregyear" label="最大上牌年份" type="STRING" length="100"/>
<attribute name="isshow" label="是否显示" type="STRING" length="32"/>
<attribute name="interfaceid" label="第三方ID" type="STRING" length="100"/>
<attribute name="dynamictype" label="动力类型" type="STRING" length="100"/>
<attribute name="transmission" label="变速器" type="STRING" length="100"/>
<attribute name="drive" label="驱动" type="STRING" length="100"/>
<attribute name="configure" label="配置" type="STRING" length="100"/>
<attribute name="redbluelabel" label="红蓝标" type="STRING" length="100"/>
<attribute name="assetcoding" label="资产编码" type="STRING" length="100"/>
<attribute name="assetname" label="资产名称" type="STRING" length="200"/>
<attribute name="sortno" label="排序号" type="STRING" length="100"/>
<attribute name="inputuserid" label="登记人" type="STRING" length="100"/>
<attribute name="inputorgid" label="登记部门" type="STRING" length="100"/>
<attribute name="inputtime" label="登记时间" type="STRING" length="100"/>
<attribute name="updateuserid" label="更新人" type="STRING" length="100"/>
<attribute name="updateorgid" label="更新部门" type="STRING" length="100"/>
<attribute name="updatetime" label="更新时间" type="STRING" length="100"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="lb_car_brandse" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
<class name="LB_PRODUCT_SALVAGE" label="贴息管理" keyAttributes="id">
<attributes>
<attribute name="id" label="标识id" type="STRING" length="32"/>
<attribute name="product_id" label="产品id" type="STRING" length="32"/>
<attribute name="car_id" label="车系id" type="STRING" length="32"/>
<attribute name="dis_attribute" label="贴息属性" type="STRING" length="32"/>
<attribute name="fix_amount" label="固定金额" type="STRING" length="32"/>
<attribute name="dis_ratio" label="贴息比例" type="STRING" length="32"/>
<attribute name="total_discount" label="贴息总额" type="STRING" length="52"/>
<attribute name="inputuserid" label="登记人" type="STRING" length="100"/>
<attribute name="inputorgid" label="登记部门" type="STRING" length="100"/>
<attribute name="inputtime" label="登记时间" type="STRING" length="100"/>
<attribute name="updateuserid" label="更新人" type="STRING" length="100"/>
<attribute name="updateorgid" label="更新部门" type="STRING" length="100"/>
<attribute name="updatetime" label="更新时间" type="STRING" length="100"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="lb_product_salvage" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
<class name="LB_EQUIPMENT_CAR" label="汽车租赁物" keyAttributes="ID">
<attributes>
<attribute name="ID" label="标识" type="STRING" length="32"/>

View File

@ -0,0 +1,418 @@
<?xml version="1.0" encoding="UTF-8"?>
<jbo>
<package name="jbo.app" label="应用相关配置">
<class name="TOKEN_SESSION" label="手机登录记录" keyAttributes="TOKEN">
<attributes>
<attribute name="TOKEN" label="TOKEN" type="STRING"
length="255" />
<attribute name="USER_ID" label="用户识别号" type="STRING"
length="32" />
<attribute name="DEV_ID" label="设备识别号" type="STRING"
length="255" />
<attribute name="DEV_OS" label="设备系统类别" type="STRING"
length="255" />
<attribute name="CREATED" label="创建时间" type="STRING"
length="40" />
<attribute name="EXPIRE_IN" label="更新时间" type="STRING"
length="40" />
</attributes>
<manager>
<managerProperties>
<property name="createKey" value="true" />
<property name="table" value="TOKEN_SESSION" />
</managerProperties>
</manager>
</class>
<class name="APP_DO_CATALOG" label="模板录" keyAttributes="DONO">
<attributes>
<attribute name="DONO" label="模板号" type="STRING" length="32" />
<attribute name="DONAME" label="模板CODE" type="STRING"
length="100" />
</attributes>
</class>
<class name="AWE_DO_GROUP" label="模板分组" keyAttributes="dono">
<attributes>
<attribute name="DONO" label="模板号" type="STRING" length="32" />
<attribute name="DOCKID" label="分组编号" type="STRING"
length="32" />
<attribute name="DOCKNAME" label="分组名" type="STRING"
length="80" />
<attribute name="SORTNO" label="排序号" type="STRING" length="100" />
</attributes>
<manager>
<managerProperties>
<property name="table" value="AWE_DO_GROUP" />
</managerProperties>
</manager>
</class>
<class name="AWE_DO_LIBRARY" label="模板库" keyAttributes="dono">
<attributes>
<attribute name="dono" label="模板号" type="String" length="400" />
<attribute name="colindex" label="字段索引" type="String"
length="400" />
<attribute name="sortno" label="字段排序" type="String"
length="400" />
<attribute name="isinuse" label="是否废弃" type="String"
length="400" />
<attribute name="coltablename" label="数据表名" type="String"
length="400" />
<attribute name="colactualname" label="数据库源名" type="String"
length="400" />
<attribute name="colname" label="使用名称" type="String"
length="400" />
<attribute name="coltype" label="值类型" type="String"
length="400" />
<attribute name="coldefaultvalue" label="缺省值" type="String"
length="400" />
<attribute name="colheader" label="内置按钮事件" type="String"
length="400" />
<attribute name="colunit" label="中文名称" type="String"
length="400" />
<attribute name="colcolumntype" label="是否汇总" type="String"
length="400" />
<attribute name="coleditstyle" label="编辑形式" type="String"
length="400" />
<attribute name="colcheckformat" label="校验样式" type="String"
length="400" />
<attribute name="colalign" label="对齐方式" type="String"
length="400" />
<attribute name="coleditsourcetype" label="显示来源类型" type="String"
length="400" />
<attribute name="coleditsource" label="显示来源" type="String"
length="400" />
<attribute name="colhtmlstyle" label="HTML显示格式" type="String"
length="400" />
<attribute name="collimit" label="长度限制" type="String"
length="400" />
<attribute name="colvisible" label="是否可见" type="String"
length="400" />
<attribute name="colreadonly" label="是否只读" type="String"
length="400" />
<attribute name="colrequired" label="是否必须" type="String"
length="400" />
<attribute name="colsortable" label="是否排序" type="String"
length="400" />
<attribute name="isfilter" label="是否查询" type="String"
length="400" />
<attribute name="colspan" label="跨几栏" type="String"
length="400" />
<attribute name="isautocomplete" label="自动输入提示" type="String"
length="400" />
<attribute name="groupid" label="组编号" type="String"
length="400" />
<attribute name="colfilterrefid" label="实际的关联字段" type="String"
length="400" />
<attribute name="inputuser" label="登记人" type="String"
length="400" />
<attribute name="inputtime" label="登记时间" type="String"
length="400" />
<attribute name="updateuser" label="更新人" type="String"
length="400" />
<attribute name="updatetime" label="更新时间" type="String"
length="400" />
<attribute name="isaudit" label="" type="String" length="400" />
<attribute name="colfilterattrs" label="关联内容选择" type="String"
length="400" />
<attribute name="isupdate" label="是否更新" type="String"
length="400" />
<attribute name="parentcolindex" label="父序号" type="String"
length="400" />
<attribute name="tips" label="提示" type="String" length="400" />
<attribute name="colinnerbtevent" label="内置按钮事件" type="String"
length="400" />
<attribute name="colfilteroptions" label="过滤设置" type="String"
length="400" />
</attributes>
<manager>
<managerProperties>
<property name="table" value="awe_do_library" />
</managerProperties>
</manager>
</class>
<class name="APP_PUSH_CONFIG" label="app推送配置模板" keyAttributes="ID">
<attributes>
<attribute name="ID" label="编号" type="STRING" length="100" />
<attribute name="IS_PUSH" label="是否开启推送功能" type="STRING"
length="100" />
<attribute name="APP_SECRET_KEY_ANDROID" label="安卓手机推送秘钥"
type="STRING" length="4000" />
<attribute name="APP_SECRET_KEY_IOS" label="IOS手机推送秘钥"
type="STRING" length="4000" />
<attribute name="MY_PACKAGE_NAME" label="安卓应用程序包名" type="STRING"
length="4000" />
</attributes>
<manager>
<managerProperties>
<property name="table" value="APP_PUSH_CONFIG" />
</managerProperties>
</manager>
</class>
<class name="APP_PUSH_MESSAGE" label="app推送模板" keyAttributes="ID">
<attributes>
<attribute name="ID" label="编号" type="STRING" length="100" />
<attribute name="USERID" label="用户编号" type="STRING"
length="100" />
<attribute name="title" label="消息标题" type="STRING" length="4000" />
<attribute name="MESSAGE_CONTENT" label="信息内容" type="STRING"
length="4000" />
<attribute name="PUSH_TYPE" label="推送状态" type="STRING"
length="1" />
<attribute name="PUSH_RESULT" label="推送结果" type="STRING"
length="4000" />
<attribute name="PUSH_TS" label="推送时间" type="STRING"
length="100" />
<attribute name="RECORD_TS" label="记录时间" type="STRING"
length="100" />
</attributes>
<manager>
<managerProperties>
<property name="table" value="APP_PUSH_MESSAGE" />
</managerProperties>
</manager>
</class>
<class name="APP_VERSION" label="APP版本" keyAttributes="id">
<attributes>
<attribute name="id" label="编号" type="STRING" length="32" />
<attribute name="VERSION_DESC" label="版本描述" type="STRING"
length="255" />
<attribute name="UP_DATE" label="上传时间" type="STRING"
length="20" />
<attribute name="IMAGE_PATH" label="下载路径" type="STRING"
length="512" />
<attribute name="IS_NEW" label="是否新版本" type="STRING"
length="10" />
<attribute name="PHONE_TYPE" label="手机类型" type="STRING"
length="10" />
<attribute name="CREATE_DATE" label="创造日期" type="STRING"
length="20" />
<attribute name="MODIFY_DATE" label="修改日期" type="STRING"
length="20" />
<attribute name="BASE_FILE_ID" label="基本文件id" type="STRING"
length="32" />
<attribute name="CREATOR" label="创造者" type="STRING"
length="32" />
<attribute name="MODIFICATOR" label="修改者" type="STRING"
length="32" />
<attribute name="VERSION_CODE" label="版本号" type="STRING"
length="255" />
<attribute name="VERSION_NAME" label="版本名" type="STRING"
length="255" />
<attribute name="MUST_UPDATE" label="是否强制更新" type="STRING"
length="10" />
<attribute name="FILE_NAME" label="文件名" type="STRING"
length="512" />
</attributes>
<manager>
<managerProperties>
<property name="createKey" value="true" />
<property name="table" value="APP_VERSION" />
</managerProperties>
</manager>
</class>
<!-- <class name="APP_BUSINESS_GROUP" label="App业务详情分组配置" keyAttributes="GROUP_CODE">
<attributes> <attribute name="GROUP_CODE" lable="分组描述" type="STRING" length="300"
/> <attribute name="GROUP_NAME" lable="分组名称" type="STRING" length="300" />
<attribute name="FLOWNO" lable="流程号" type="STRING" length="2000" /> <attribute
name="PHASENO" lable="节点号" type="STRING" length="2000" /> <attribute name="ISLIST"
lable="是否显示列表" type="STRING" length="18" /> <attribute name="GROUP_POSITION"
lable="分组位置" type="int" length="20" /> </attributes> <manager> <managerProperties>
<property name="createKey" value="true" /> <property name="table" value="APP_BUSINESS_GROUP"
/> </managerProperties> </manager> </class> <class name="APP_BUSINESS_TEMPLATE"
label="App业务详情数据配置" keyAttributes="DATA_CODE"> <attributes> <attribute name="GROUP_CODE"
lable="分组号" type="STRING" length="900" /> <attribute name="DONO" lable="library
绑定用-模板号" type="STRING" length="96" /> <attribute name="COLINDEX" lable="library
绑定用-字段号" type="STRING" length="54" /> <attribute name="SORTNO" lable="library
绑定用-字段号" type="STRING" length="54" /> <attribute name="COLNAME" lable="library
绑定用-使用名称" type="STRING" length="80" /> <attribute name="DATA_NAME" lable="数据名称"
type="STRING" length="900" /> <attribute name="DATA_CODE" lable="数据域名" type="STRING"
length="900" /> <attribute name="ISLIST" lable="列表页面显示" type="STRING" length="54"
/> <attribute name="ISSHOW" lable="详情页面显示" type="STRING" length="54" /> <attribute
name="DATA_POSITION" lable="数据位置" type="int" length="20" /> <attribute name="ISCONVERT"
lable="是否转换" type="STRING" length="54" /> </attributes> <manager> <managerProperties>
<property name="createKey" value="true" /> <property name="table" value="APP_BUSINESS_TEMPLATE"
/> </managerProperties> </manager> </class> -->
<class name="APP_BUSINESS_GROUP" label="App业务详情分组配置"
keyAttributes="GROUP_CODE">
<attributes>
<attribute name="GROUP_CODE" lable="分组描述" type="STRING"
length="300" />
<attribute name="GROUP_NAME" lable="分组名称" type="STRING"
length="300" />
<attribute name="ISLIST" lable="是否显示列表" type="STRING"
length="18" />
<attribute name="GROUP_POSITION" lable="分组位置" type="int"
length="20" />
<attribute name="GROUP_ENABLE" lable="是否开启分组" type="STRING"
length="1" />
</attributes>
<manager>
<managerProperties>
<property name="createKey" value="true" />
<property name="table" value="APP_BUSINESS_GROUP" />
</managerProperties>
</manager>
</class>
<class name="APP_BUSINESS_TEMPLATE" label="App业务详情数据配置"
keyAttributes="GROUP_CODE,DATA_CODE">
<attributes>
<attribute name="GROUP_CODE" lable="分组号" type="STRING"
length="900" />
<attribute name="DONO" lable="library 绑定用-模板号" type="STRING"
length="96" />
<attribute name="COLINDEX" lable="library 绑定用-字段号" type="STRING"
length="54" />
<attribute name="SORTNO" lable="library 绑定用-字段号" type="STRING"
length="54" />
<attribute name="COLNAME" lable="library 绑定用-使用名称" type="STRING"
length="80" />
<attribute name="DATA_NAME" lable="数据名称" type="STRING"
length="900" />
<attribute name="DATA_CODE" lable="数据域名" type="STRING"
length="900" />
<attribute name="ISLIST" lable="列表页面显示" type="STRING"
length="54" />
<attribute name="ISSHOW" lable="详情页面显示" type="STRING"
length="54" />
<attribute name="DATA_POSITION" lable="数据位置" type="int"
length="20" />
</attributes>
<manager>
<managerProperties>
<property name="createKey" value="true" />
<property name="table" value="APP_BUSINESS_TEMPLATE" />
</managerProperties>
</manager>
</class>
<!-- app流程页签配置 -->
<class name="PRD_NODEINFO_CATALOG_APP" label="app流程页签配置"
keyAttributes="ID">
<attributes>
<attribute name="ID" lable="主键ID" type="STRING" length="100" />
<attribute name="FLOWNO" lable="流程编号" type="STRING"
length="100" />
<attribute name="PHASENO" lable="节点编号" type="STRING"
length="100" />
<attribute name="CONFIG_TYPE" lable="配置类型" type="STRING"
length="100" />
<attribute name="CONFIG_DISPLAY" lable="配置显示" type="STRING"
length="100" />
<attribute name="ENABLE_OPERATION" lable="是否可操作" type="STRING"
length="1" />
<attribute name="SORTNO" lable="排序号" type="int" length="19" />
</attributes>
<manager>
<managerProperties>
<property name="createKey" value="true" />
<property name="table" value="PRD_NODEINFO_CATALOG_APP" />
</managerProperties>
</manager>
</class>
<class name="PRD_NODEINFO_LIBRARY_APP" label="app流程页签库配置"
keyAttributes="ID">
<attributes>
<attribute name="ID" lable="编号" type="STRING" length="100" />
<attribute name="APP_BUSINESS_GROUP_CODE" lable="App业务详情分组配置COD"
type="STRING" length="100" />
<attribute name="INITIAL_CONDITION" lable="初始参数" type="STRING"
length="3000" />
<attribute name="AUXILIARY_CONDITION" lable="附加参数" type="STRING"
length="3000" />
<attribute name="INTERFACE_DESC" lable="接口描述" type="STRING"
length="3000" />
<attribute name="ATTRIBUTE1" lable="追加参数1" type="STRING"
length="3000" />
<attribute name="ATTRIBUTE2" lable="追加参数2" type="STRING"
length="3000" />
<attribute name="ATTRIBUTE3" lable="追加参数3" type="STRING"
length="3000" />
<attribute name="ATTRIBUTE4" lable="追加参数4" type="STRING"
length="3000" />
<attribute name="ATTRIBUTE5" lable="追加参数5" type="STRING"
length="3000" />
<attribute name="ATTRIBUTE6" lable="追加参数6" type="STRING"
length="3000" />
<attribute name="ATTRIBUTE7" lable="追加参数7" type="STRING"
length="3000" />
<attribute name="ATTRIBUTE8" lable="追加参数8" type="STRING"
length="3000" />
<attribute name="ATTRIBUTE9" lable="追加参数9" type="STRING"
length="3000" />
<attribute name="REBUILD_JBO_CLASS" lable="追加参数9" type="STRING"
length="3000" />
<attribute name="FATHER_ID" lable="父ID" type="STRING"
length="3000" />
<attribute name="DISPLAY_MANAGE_CLASS" lable="查询模板控制类"
type="STRING" length="3000" />
<attribute name="SAVE_MANAGE_CLASS" lable="保存模板控制类" type="STRING"
length="3000" />
<attribute name="DELETE_MANAGE_CLASS" lable="删除模板控制类"
type="STRING" length="3000" />
<attribute name="ENABLE_CONDITION" lable="启用条件开启" type="STRING"
length="1" />
<attribute name="OPEN_CONDITION" lable="开启条件" type="STRING"
length="3000" />
</attributes>
<manager>
<managerProperties>
<property name="createKey" value="true" />
<property name="table" value="PRD_NODEINFO_LIBRARY_APP" />
</managerProperties>
</manager>
</class>
<class name="PRD_NODEINFO_MIDDLE_APP" label="app流程页签库配置中间表"
keyAttributes="APP_NODE_LIBRARY_ID,APP_NODE_CATALOG_ID">
<attributes>
<attribute name="APP_NODE_LIBRARY_ID" lable="app流程页签接口库配置ID"
type="STRING" length="100" />
<attribute name="APP_NODE_CATALOG_ID" lable="app流程页签配置ID"
type="STRING" length="100" />
<attribute name="APP_DISPLAY" lable="配置显示" type="STRING"
length="100" />
<attribute name="ENABLE_QUERY" lable="可查询操作" type="STRING"
length="1" />
<attribute name="ENABLE_SAVE" lable="可保持操作" type="STRING"
length="1" />
<attribute name="ENABLE_DELETE" lable="可删除操作" type="STRING"
length="1" />
<attribute name="SORTNO" lable="排序号" type="int" length="19" />
<attribute name="ISINUSE" lable="是否有效" type="STRING"
length="1" />
<attribute name="ENABLE_DOWNLOAD" lable="可下载操作" type="STRING"
length="1" />
<attribute name="DOWNLOAD_PARAM" lable="下载参数" type="STRING"
length="1000" />
</attributes>
</class>
<class name="APP_BUSINESS_START" label="业务申请发起" keyAttributes="">
<attributes>
<attribute name="CARATTRIBUTES" lable="车辆属性" type="STRING" length="1000" />
<attribute name="LEASEHOLD" lable="租赁方式" type="STRING" length="1000" />
<attribute name="PRODUCTMODEL" lable="品牌选择" type="STRING" length="1000" />
<attribute name="CARSERIES" lable="车系选择" type="STRING" length="1000" />
<attribute name="CARSYSTEM" lable="车型选择" type="STRING" length="1000" />
<attribute name="PRODUCTID" lable="产品编号" type="STRING" length="1000" />
<attribute name="PRODUCTNAME" lable="产品名称" type="STRING" length="1000" />
<attribute name="CUSTOMERID" lable="客户编号" type="STRING" length="1000" />
<attribute name="CUSTOMERNAME" lable="客户名称" type="STRING" length="1000" />
<attribute name="CUSTOMER_TYPE" lable="客户类型" type="STRING" length="1000" />
<attribute name="CERTTYPE" lable="证件类型" type="STRING" length="1000" />
<attribute name="CERTID" lable="证件号" type="STRING" length="1000" />
</attributes>
</class>
<!-- app流程页签配置 -->
</package>
</jbo>

View File

@ -546,7 +546,8 @@
</managerProperties>
</manager>
</class>
<class name="LC_RENT_PLAN_TEMP" label="测算租金计划" keyAttributes="ID">
<class name="LC_RENT_PLAN_TEMP" label="测算租金计划临时表" keyAttributes="ID">
<attributes>
<attribute name="ID" label="标识" type="STRING" length="32"/>
<attribute name="QUOT_ID" label="报价编号" type="STRING" length="32"/>
@ -582,15 +583,18 @@
<attribute name="AUDIT_STATE" label="代收审计状态" type="STRING" length="32"/>
<attribute name="COLLECT_STATUS" label="收款状态" type="STRING" length="32"/>
<attribute name="COLLECT_MSG" label="收款描述" type="STRING" length="200"/>
<attribute name="BATCH_NUMBER" label="BATCH_NUMBER" type="STRING" length="200"/>
<attribute name="BATCH_NO" label="批量交易流水号" type="STRING" length="200"/>
<attribute name="BATCH_STATUS" label="批量处理状态" type="STRING" length="200"/>
<attribute name="BATCH_SN" label="一笔批量交易流水内项数SN" type="STRING" length="200"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="LC_RENT_PLAN_TEMP" />
<property name="table" value="lc_rent_plan_temp" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
<class name="LC_PROJ_CASH_FLOW" label="项目层现金流" keyAttributes="ID">
<attributes>
<attribute name="ID" label="标识" type="STRING" length="32"/>
@ -1365,9 +1369,10 @@
</managerProperties>
</manager>
</class>
<class name="LC_RENT_PLAN" label="起租租金计划" keyAttributes="ID">
<class name="LC_RENT_PLAN" label="测算租金计划表" keyAttributes="ID">
<attributes>
<attribute name="ID" label="标识" type="STRING" length="32"/>
<attribute name="ID" label="标识编号" type="STRING" length="32"/>
<attribute name="QUOT_ID" label="报价编号" type="STRING" length="32"/>
<attribute name="CUST_ID" label="客户编号" type="STRING" length="32"/>
<attribute name="PROJECT_ID" label="项目编号" type="STRING" length="32"/>
@ -1377,7 +1382,6 @@
<attribute name="PAYMENT_NUMBER" label="投放编号" type="STRING" length="32"/>
<attribute name="PLAN_LIST" label="期次" type="INT" length="10"/>
<attribute name="PLAN_DATE" label="计划日期" type="STRING" length="32"/>
<attribute name="INTEREST_DATE" label="计息日" type="STRING" length="32"/>
<attribute name="PLAN_STATUS" label="收付状态" type="STRING" length="32"/>
<attribute name="RENT" label="租金" type="DOUBLE" length="18" scale="2"/>
<attribute name="CORPUS" label="财务本金" type="DOUBLE" length="18" scale="2"/>
@ -1398,18 +1402,22 @@
<attribute name="UPDATEUSERID" label="更新人" type="STRING" length="32"/>
<attribute name="UPDATEORGID" label="更新部门" type="STRING" length="32"/>
<attribute name="UPDATETIME" label="更新时间" type="STRING" length="32"/>
<attribute name="INTEREST_DATE" label="计息日" type="STRING" length="32"/>
<attribute name="AUDIT_STATE" label="代收审计状态" type="STRING" length="32"/>
<attribute name="COLLECT_STATUS" label="收款状态" type="STRING" length="32"/>
<attribute name="COLLECT_MSG" label="收款描述" type="STRING" length="200"/>
<attribute name="BATCH_NUMBER" label="BATCH_NUMBER" type="STRING" length="200"/>
<attribute name="BATCH_NO" label="批量交易流水号" type="STRING" length="200"/>
<attribute name="BATCH_STATUS" label="批量处理状态" type="STRING" length="200"/>
<attribute name="BATCH_SN" label="一笔批量交易流水内项数SN" type="STRING" length="200"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="LC_RENT_PLAN" />
<property name="table" value="lc_rent_plan" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
<class name="LC_FUND_INCOME" label="资金收付表" keyAttributes="ID">
<attributes>
<attribute name="ID" label="标识" type="STRING" length="32"/>
@ -2309,9 +2317,10 @@
</managerProperties>
</manager>
</class>
<class name="LC_RENT_PLAN_HIS" label="测算租金计划历史表" keyAttributes="ID">
<attributes>
<attribute name="ID" label="标识" type="STRING" length="32"/>
<attribute name="ID" label="标识编号" type="STRING" length="32"/>
<attribute name="QUOT_ID" label="报价编号" type="STRING" length="32"/>
<attribute name="CUST_ID" label="客户编号" type="STRING" length="32"/>
<attribute name="PROJECT_ID" label="项目编号" type="STRING" length="32"/>
@ -2345,15 +2354,18 @@
<attribute name="AUDIT_STATE" label="代收审计状态" type="STRING" length="32"/>
<attribute name="COLLECT_STATUS" label="收款状态" type="STRING" length="32"/>
<attribute name="COLLECT_MSG" label="收款描述" type="STRING" length="200"/>
<attribute name="BATCH_NUMBER" label="BATCH_NUMBER" type="STRING" length="200"/>
<attribute name="BATCH_NO" label="批量交易流水号" type="STRING" length="200"/>
<attribute name="BATCH_STATUS" label="批量处理状态" type="STRING" length="200"/>
<attribute name="BATCH_SN" label="一笔批量交易流水内项数SN" type="STRING" length="200"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="LC_RENT_PLAN_HIS" />
<property name="table" value="lc_rent_plan_his" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
<class name="LC_CASH_FLOW_TEMP" label="测算现金流" keyAttributes="ID">
<attributes>
<attribute name="ID" label="标识" type="STRING" length="32"/>

View File

@ -1189,6 +1189,70 @@
<attribute name="LIMIT_APPROVAL_DATE" label="授信日期" type="STRING" length="32"/>
<attribute name="LIMIT_EFFECTIVE_DATE" label="授信有效期" type="STRING" length="32"/>
<attribute name="LIMIT_END_DATE" label="授信到期日" type="STRING" length="32"/>
<attribute name="DEALER_LEGAL_NAME" label="经销商法定名称" type="STRING" length="32"/>
<attribute name="DEALER_PHONE" label="公司联系电话" type="STRING" length="32"/>
<attribute name="RETAIL_OPEN_DATE" label="零售开放日期" type="STRING" length="32"/>
<attribute name="SUB_DEALER" label="分销商" type="STRING" length="32"/>
<attribute name="CITY" label="城市" type="STRING" length="32"/>
<attribute name="BRAND" label="品牌" type="STRING" length="32"/>
<attribute name="NAME" label="姓名" type="STRING" length="32"/>
<attribute name="E_MAIL" label="电子邮箱" type="STRING" length="32"/>
<attribute name="LOCATION" label="地址" type="STRING" length="32"/>
<attribute name="ZIPCODE" label="邮编" type="STRING" length="32"/>
<attribute name="SHOWROOMNAME" label="展厅名称" type="STRING" length="32"/>
<attribute name="SHOWROOMPHONE" label="展厅电话" type="STRING" length="32"/>
<attribute name="SHOWROOMADDRESS" label="展厅地址" type="STRING" length="32"/>
<attribute name="SHOWROOMPOSTALCODE" label="展厅邮编" type="STRING" length="32"/>
<attribute name="LEGALPERSON" label="法人" type="STRING" length="32"/>
<attribute name="GENERALMANAGER" label="总经理" type="STRING" length="32"/>
<attribute name="TOP_MANAGER_CELL_PHONE" label="总经理手机" type="STRING" length="32"/>
<attribute name="TOP_MANAGER_MAIL" label="总经理邮件" type="STRING" length="32"/>
<attribute name="SALESMANAGER" label="销售经理" type="STRING" length="32"/>
<attribute name="SELL_MANAGER_CELL_PHONE" label="销售经理手机" type="STRING" length="32"/>
<attribute name="SELL_MANAGER_MAIL" label="销售经理邮件" type="STRING" length="32"/>
<attribute name="FINANCIALMANAGER" label="财务经理" type="STRING" length="32"/>
<attribute name="FINANCIAL_CELL_PHONE" label="财务经理手机" type="STRING" length="32"/>
<attribute name="FINANCIAL_CELL_MAIL" label="财务经理邮件" type="STRING" length="32"/>
<attribute name="FINANCE_SAFE_MANAGER" label="金融保险经理" type="STRING" length="32"/>
<attribute name="FINANCE_SAFE_MANAGER_CELL_PHONE" label="金融保险经理手机" type="STRING" length="32"/>
<attribute name="FINANCE_SAFE_MANAGER_POST" label="金融保险经理邮件" type="STRING" length="32"/>
<attribute name="MARKET_MANAGER" label="市场经理" type="STRING" length="32"/>
<attribute name="MARKET_MANAGER_CELL_PHONE" label="市场经理手机" type="STRING" length="32"/>
<attribute name="MARKET_MANAGEREMAIL_SITE" label="市场经理电子邮件地址" type="STRING" length="32"/>
<attribute name="LIAISONSPHONE" label="联络人电话" type="STRING" length="32"/>
<attribute name="BANK_NAME" label="银行开户行总行名称" type="STRING" length="32"/>
<attribute name="ACCOUNT_WITH_BANK" label="银行开户行名称" type="STRING" length="32"/>
<attribute name="BANK_ACCOUNT_NAME" label="银行户名" type="STRING" length="32"/>
<attribute name="BANKACCOUNT" label="银行账号" type="STRING" length="32"/>
<attribute name="DEALERCODE" label="经销商代码" type="STRING" length="32"/>
<attribute name="DEALER_COST_CENTER_CODE" label="经销商成本中心代码" type="STRING" length="32"/>
<attribute name="DEALER_COMMISSION_FOR_FP" label="经销商佣金" type="STRING" length="32"/>
<attribute name="MBAFC_EARLYDISBURSEMENT_TYPE" label="早期支付类型" type="STRING" length="32"/>
<attribute name="DSM_NAME" label="管理员姓名" type="STRING" length="32"/>
<attribute name="DEALER_GROUP" label="经销商集团" type="STRING" length="32"/>
<attribute name="NEW_DEALER_GROUP" label="新经销商集团" type="STRING" length="32"/>
<attribute name="DEALER_MORTGAGE_REGISTER" label="经销商抵押贷款登记" type="STRING" length="32"/>
<attribute name="F_I_NAME" label="名称" type="STRING" length="32"/>
<attribute name="F_I_TYPE" label="集团类别" type="STRING" length="32"/>
<attribute name="F_I_PHONE_NUMBER" label="手机号码" type="STRING" length="32"/>
<attribute name="F_I_OTHER_EMAIL_ADDRESS" label="其它电子邮箱地址" type="STRING" length="32"/>
<attribute name="F_I_BACKUP" label="备份" type="STRING" length="32"/>
<attribute name="F_I_BACKUP_PHONE_NUMBER" label="备份手机号码" type="STRING" length="32"/>
<attribute name="F_I_BACKUP_EMAIL_ASSRESS" label="备份电子邮箱地址" type="STRING" length="32"/>
<attribute name="SIGN_SAMPLE" label="签字样本" type="STRING" length="32"/>
<attribute name="BAIL" label="保证金" type="STRING" length="32"/>
<attribute name="WHOLESALE" label="批发商" type="STRING" length="32"/>
<attribute name="DEALER_BANK_ABBREVIATION" label="证券发行银行" type="STRING" length="32"/>
<attribute name="SUBSIDIARY_COMPANY" label="所属母公司" type="STRING" length="32"/>
<attribute name="distributor_money" label="经销商注册资金" type="STRING" length="32"/>
<attribute name="distributor_form_id" label="经销商表id" type="STRING" length="32"/>
</attributes>
<manager>
<managerProperties>
@ -1213,6 +1277,8 @@
<attribute name="UPDATEORGID" label="更新部门" type="STRING" length="32"/>
<attribute name="UPDATETIME" label="更新时间" type="STRING" length="32"/>
<attribute name="UNIONNUMBER" label="联行号" type="STRING" length="32"/>
<attribute name="DISTRIBUTOR_ACCOUNT_TEMP" label="经销商名称" type="STRING" length="32"/>
<attribute name="OPEN_BANK" label="开户银行" type="STRING" length="32"/>
</attributes>
<manager>
<managerProperties>
@ -1445,7 +1511,7 @@
<attribute name="NEW_DEALER_GROUP" label="新经销商集团" type="STRING" length="32"/>
<attribute name="DEALER_MORTGAGE_REGISTER" label="经销商抵押贷款登记" type="STRING" length="32"/>
<attribute name="F_I_NAME" label="名称" type="STRING" length="32"/>
<attribute name="F_I_TYPE" label="类型" type="STRING" length="32"/>
<attribute name="F_I_TYPE" label="集团类别" type="STRING" length="32"/>
<attribute name="F_I_PHONE_NUMBER" label="手机号码" type="STRING" length="32"/>
<attribute name="F_I_OTHER_EMAIL_ADDRESS" label="其它电子邮箱地址" type="STRING" length="32"/>
<attribute name="F_I_BACKUP" label="备份" type="STRING" length="32"/>
@ -1453,9 +1519,9 @@
<attribute name="F_I_BACKUP_EMAIL_ASSRESS" label="备份电子邮箱地址" type="STRING" length="32"/>
<attribute name="SIGN_SAMPLE" label="签字样本" type="STRING" length="32"/>
<attribute name="BAIL" label="保证金" type="STRING" length="32"/>
<attribute name="WHOLESALE" label="WHOLESALE" type="STRING" length="32"/>
<attribute name="WHOLESALE" label="批发商" type="STRING" length="32"/>
<attribute name="DEALER_BANK_ABBREVIATION" label="证券发行银行" type="STRING" length="32"/>
<attribute name="SUBSIDIARY_COMPANY" label="子公司从属" type="STRING" length="32"/>
<attribute name="SUBSIDIARY_COMPANY" label="所属母公司" type="STRING" length="32"/>
</attributes>
<manager>
<managerProperties>
@ -1628,6 +1694,8 @@
<attribute name="UPDATEORGID" label="更新部门" type="STRING" length="32"/>
<attribute name="UPDATETIME" label="更新时间" type="STRING" length="32"/>
<attribute name="UNIONNUMBER" label="联行号" type="STRING" length="32"/>
<attribute name="DISTRIBUTOR_ACCOUNT_TEMP" label="经销商名称" type="STRING" length="32"/>
<attribute name="OPEN_BANK" label="开户银行" type="STRING" length="32"/>
</attributes>
<manager>
<managerProperties>
@ -2197,5 +2265,28 @@
</managerProperties>
</manager>
</class>
<class name="LM_DISTRIBUTOR_TO_CAR" label="" keyAttributes="ID">
<attributes>
<attribute name="ID" label="标识" type="STRING" length="100"/>
<attribute name="DISTRIBUTOR_ID" label="经销商id" type="STRING" length="100"/>
<attribute name="CARBRANDSERIES_ID" label="车型id" type="STRING" length="100"/>
<attribute name="INPUTUSERID" label="登记人" type="STRING" length="64"/>
<attribute name="INPUTORGID" label="登记部门" type="STRING" length="64"/>
<attribute name="INPUTTIME" label="登记时间" type="STRING" length="64"/>
<attribute name="UPDATEUSERID" label="更新人" type="STRING" length="64"/>
<attribute name="UPDATEORGID" label="更新部门" type="STRING" length="64"/>
<attribute name="UPDATETIME" label="更新时间" type="STRING" length="64"/>
<attribute name="ATTRIBUTE1" label="ATTRIBUTE1" type="STRING" length="64"/>
<attribute name="ATTRIBUTE2" label="ATTRIBUTE2" type="STRING" length="64"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="lm_distributor_to_car" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
</package>
</jbo>

View File

@ -120,7 +120,48 @@
</managerProperties>
</manager>
</class>
<class name="LB_DOC_CONTRACT_LIST" label="生成合同列表" keyAttributes="id">
<attributes>
<attribute name="id" label="标识" type="STRING" length="32"/>
<attribute name="contract_id" label="合同标识" type="STRING" length="32"/>
<attribute name="contract_no" label="业务合同号+后缀" type="STRING" length="250"/>
<attribute name="filename" label="文件名" type="STRING" length="250"/>
<attribute name="attribute_id" label="附件明细表标识" type="STRING" length="32"/>
<attribute name="file_type" label="文件类型" type="STRING" length="32"/>
<attribute name="file_flag" label="是否有效" type="STRING" length="32"/>
<attribute name="sign_type" label="签约状态" type="STRING" length="32"/>
<attribute name="project_id" label="项目标识" type="STRING" length="32"/>
<attribute name="prodect_id" label="产品标识" type="STRING" length="32"/>
<attribute name="library_id" label="资料清单标识" type="STRING" length="32"/>
<attribute name="doc_name" label="资料名称" type="STRING" length="64"/>
<attribute name="document_id" label="契约锁合同文件id" type="STRING" length="32"/>
<attribute name="customername" label="客户名称" type="STRING" length="64"/>
<attribute name="telephone" label="电话号码" type="STRING" length="32"/>
<attribute name="ids" label="客户id/担保人id" type="STRING" length="32"/>
<attribute name="filepath" label="文档路径" type="STRING" length="500"/>
<attribute name="fullpath" label="文档全路径文件名" type="STRING" length="600"/>
<attribute name="inputuserid" label="创建人" type="STRING" length="100"/>
<attribute name="inputorgid" label="创建人所属部门" type="STRING" length="100"/>
<attribute name="inputtime" label="创建时间" type="STRING" length="100"/>
<attribute name="updateuserid" label="修改人" type="STRING" length="100"/>
<attribute name="updateorgid" label="修改人所属部门" type="STRING" length="100"/>
<attribute name="updatetime" label="修改时间" type="STRING" length="100"/>
<attribute name="config_id" label="文件清单配置标识" type="STRING" length="100"/>
<attribute name="doc_class_itemno" label="资料分类编号" type="STRING" length="100"/>
<attribute name="singcontract_id" label="契约锁合同id" type="STRING" length="64"/>
<attribute name="content_type" label="文件格式" type="STRING" length="100"/>
<attribute name="flow_unid" label="流程id" type="STRING" length="32"/>
<attribute name="process" label="合同制作过程" type="STRING" length="32"/>
<attribute name="sendprocess" label="契约锁发送过程" type="STRING" length="32"/>
<attribute name="message" label="记录作废1、退回0、记录最后一次错误信息" type="STRING" length="200"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="lb_doc_contract_list" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
</package>

View File

@ -300,6 +300,9 @@
<attribute name="UPDATETIME" label="更新时间" type="STRING" length="32"/>
<attribute name="DATA_STATE" label="数据状态" type="STRING" length="32"/>
<attribute name="MODIFY_REASON" label="修改原因分类" type="STRING" length="32"/>
<attribute name="SEAL_TYPE" label="印章类型" type="STRING" length="32"/>
<attribute name="MORTGAGA_AGENT" label="抵押代理人" type="STRING" length="32"/>
</attributes>
<manager>
<managerProperties>
@ -665,6 +668,8 @@
<attribute name="UPDATEUSERID" label="更新人" type="STRING" length="32"/>
<attribute name="UPDATEORGID" label="更新部门" type="STRING" length="32"/>
<attribute name="UPDATETIME" label="更新时间" type="STRING" length="32"/>
<attribute name="SEAL_TYPE" label="印章类型" type="STRING" length="32"/>
<attribute name="MORTGAGE_AGENT" label="抵押代理人" type="STRING" length="32"/>
</attributes>
<manager>
<managerProperties>
@ -720,6 +725,8 @@
<attribute name="ASSET_TYPE" label="资产类型" type="STRING" length="32"/>
<attribute name="INVOICE_MEMO" label="开票说明" type="STRING" length="2000"/>
<attribute name="CONTRACT_INVOICE_STATUS" label="合同开票状态" type="STRING" length="32"/>
<attribute name="SEAL_TYPE" label="印章类型" type="STRING" length="32"/>
<attribute name="MORTGAGE_AGENT" label="抵押代理人" type="STRING" length="32"/>
</attributes>
<manager>
<managerProperties>
@ -985,6 +992,8 @@
<attribute name="ASSET_TYPE" label="资产类型" type="STRING" length="32"/>
<attribute name="INVOICE_MEMO" label="开票说明" type="STRING" length="2000"/>
<attribute name="CONTRACT_INVOICE_STATUS" label="合同开票状态" type="STRING" length="32"/>
<attribute name="SEAL_TYPE" label="印章类型" type="STRING" length="32"/>
<attribute name="MORTGAGE_AGENT" label="抵押代理人" type="STRING" length="32"/>
</attributes>
<manager>
<managerProperties>
@ -1017,6 +1026,7 @@
<attribute name="UPDATEUSERID" label="更新人" type="STRING" length="32"/>
<attribute name="UPDATEORGID" label="更新部门" type="STRING" length="32"/>
<attribute name="UPDATETIME" label="更新时间" type="STRING" length="32"/>
</attributes>
<manager>
<managerProperties>
@ -2331,43 +2341,41 @@
</managerProperties>
</manager>
</class>
<class name="VI_LC_AUDIT_RENT_PLAN" label="代收复核" keyAttributes="">
<attributes>
<attribute name="id" label="id" type="STRING" />
<attribute name="contract_id" label="合同编号" type="STRING" />
<attribute name="contract_number" label="业务合同编号" type="STRING" />
<attribute name="customer_id" label="承租人编号" type="STRING" />
<attribute name="plan_list" label="期项" type="STRING" />
<attribute name="plan_date" label="计划日期" type="STRING" />
<attribute name="rent" label="租金" type="DOUBLE" length="22"
scale="2" />
<attribute name="corpus" label="本金" type="DOUBLE"
length="22" scale="2" />
<attribute name="interest" label="利息" type="DOUBLE"
length="22" scale="2" />
<attribute name="rent_over" label="剩余租金" type="DOUBLE"
length="22" scale="2" />
<attribute name="corpus_over" label="剩余本金" type="DOUBLE"
length="22" scale="2" />
<attribute name="interest_over" label="剩余利息" type="DOUBLE"
length="22" scale="2" />
<attribute name="penalty_over" label="剩余罚息" type="DOUBLE"
length="22" scale="2" />
<attribute name="bank_name" label="银行名称" type="STRING" />
<attribute name="account" label="开户户名" type="STRING" />
<attribute name="acc_number" label="银行账号" type="STRING" />
<attribute name="mobile" label="预留手机号" type="STRING" />
<attribute name="sign_status" label="签约状态" type="STRING" />
<attribute name="AUDIT_STATE" label="审核状态" type="STRING" />
<attribute name="COLLECT_STATUS" label="收付状态" type="STRING" />
<attribute name="COLLECT_MSG" label="收付信息" type="STRING" />
<attribute name="id" label="id" type="STRING"/>
<attribute name="contract_id" label="合同编号" type="STRING"/>
<attribute name="contract_number" label="业务合同编号" type="STRING"/>
<attribute name="customer_id" label="承租人编号" type="STRING"/>
<attribute name="plan_list" label="期项" type="STRING"/>
<attribute name="plan_date" label="计划日期" type="STRING"/>
<attribute name="fact_rent" label="实际租金" type="STRING"/>
<attribute name="fact_corpus" label="实际本金" type="STRING"/>
<attribute name="fact_interest" label="实际利息" type="STRING"/>
<attribute name="rent" label="未付租金" type="STRING"/>
<attribute name="corpus" label="未付本金" type="STRING"/>
<attribute name="interest" label="未付利息" type="STRING"/>
<attribute name="penalty" label="罚息" type="STRING"/>
<attribute name="bank_name" label="银行名称" type="STRING"/>
<attribute name="account" label="开户户名" type="STRING"/>
<attribute name="acc_number" label="银行账号" type="STRING"/>
<attribute name="mobile" label="预留手机号" type="STRING"/>
<attribute name="sign_status" label="签约状态" type="STRING"/>
<attribute name="AUDIT_STATE" label="审核状态" type="STRING"/>
<attribute name="COLLECT_STATUS" label="收付状态" type="STRING"/>
<attribute name="COLLECT_MSG" label="收付信息" type="STRING"/>
<attribute name="BATCH_STATUS" label="批量代收处理状态" type="STRING"/>
<attribute name="BATCH_NO" label="批量交易流水号" type="STRING"/>
<attribute name="BATCH_SN" label="一笔批量交易流水内项数SN" type="STRING"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="VI_LC_AUDIT_RENT_PLAN" />
<property name="table" value="vi_lc_audit_rent_plan" />
</managerProperties>
</manager>
</class>
<class name="LB_CONTRACT_INVOICE_TYPE" label="租金开票信息" keyAttributes="ID">
<attributes>
<attribute name="ID" label="标识" type="STRING" length="32"/>
@ -2980,6 +2988,53 @@
</manager>
</class>
<class name="LB_CARDATA_MODEL" label="" keyAttributes="ID">
<attributes>
<attribute name="ID" label="标识编号" type="STRING" length="32"/>
<attribute name="brandid" label="品牌ID" type="STRING" length="32"/>
<attribute name="brandname" label="品牌名称" type="STRING" length="100"/>
<attribute name="seriesid" label="车系ID" type="STRING" length="32"/>
<attribute name="seriesname" label="车系名称" type="STRING" length="100"/>
<attribute name="seriesgroupname" label="车系组名" type="STRING" length="100"/>
<attribute name="modelid" label="车型ID" type="STRING" length="32"/>
<attribute name="modelname" label="车型名称" type="STRING" length="100"/>
<attribute name="price" label="指导价" type="STRING" length="100"/>
<attribute name="liter" label="排量" type="STRING" length="100"/>
<attribute name="geartype" label="变速箱" type="STRING" length="100"/>
<attribute name="modelyear" label="年款" type="STRING" length="100"/>
<attribute name="makertype" label="制造商类型" type="STRING" length="100"/>
<attribute name="dischargestandard" label="排放标准" type="STRING" length="100"/>
<attribute name="seatnumber" label="座位数" type="STRING" length="100"/>
<attribute name="minregyear" label="最小上牌年份" type="STRING" length="100"/>
<attribute name="maxregyear" label="最大上牌年份" type="STRING" length="100"/>
<attribute name="opertype" label="操作类型" type="STRING" length="100"/>
<attribute name="modeltimestamp" label="车型时间戳" type="STRING" length="100"/>
<attribute name="seriestimestamp" label="车系时间戳" type="STRING" length="100"/>
<attribute name="brandtimestamp" label="品牌时间戳" type="STRING" length="100"/>
<attribute name="currentversion" label="当前版本号" type="STRING" length="100"/>
<attribute name="initialversion" label="最初版本号" type="STRING" length="100"/>
<attribute name="retainfield1" label="保留字段1" type="STRING" length="100"/>
<attribute name="retainfield2" label="保留字段2" type="STRING" length="100"/>
<attribute name="retainfield3" label="保留字段3" type="STRING" length="100"/>
<attribute name="inputuserid" label="登记人" type="STRING" length="100"/>
<attribute name="inputorgid" label="登记部门" type="STRING" length="100"/>
<attribute name="inputtime" label="登记时间" type="STRING" length="100"/>
<attribute name="updateuserid" label="更新人" type="STRING" length="100"/>
<attribute name="updateorgid" label="更新部门" type="STRING" length="100"/>
<attribute name="updatetime" label="更新时间" type="STRING" length="100"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="lb_cardata_model" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
<class name="LC_CAR_BID" label="车辆竞价正式表" keyAttributes="ID">
<attributes>
<attribute name="ID" label="标识" type="STRING" length="32"/>
@ -3273,9 +3328,10 @@
<class name="LB_CUSTOMER_SURVEY_RECORD" label="" keyAttributes="ID">
<attributes>
<attribute name="ID" label="标识" type="STRING" length="40"/>
<attribute name="PROJECT_ID" label="合同编号" type="STRING" length="40"/>
<attribute name="DISTRIBUTOR_ID" label="经销商编号" type="STRING" length="20"/>
<attribute name="CUSTOMERID" label="客户编号" type="STRING" length="20"/>
<attribute name="CONTRACT_ID" label="合同编号" type="STRING" length="100"/>
<attribute name="PROJECT_ID" label="项目编号" type="STRING" length="100"/>
<attribute name="DISTRIBUTOR_ID" label="经销商编号" type="STRING" length="100"/>
<attribute name="CUSTOMERID" label="客户编号" type="STRING" length="100"/>
<attribute name="SERVER" label="调查人员" type="STRING" length="255"/>
<attribute name="SERVEYTIME" label="调查时间" type="STRING" length="255"/>
<attribute name="SERVEY_TYPE" label="调查方式" type="STRING" length="255"/>
@ -3295,29 +3351,81 @@
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
<class name="LB_CLEAR_FILE_RECORD" label="清算文件存盘表" keyAttributes="ID">
<attributes>
<attribute name="ID" label="标识编号" type="STRING" length="32"/>
<attribute name="filepath" label="文档路径" type="STRING" length="500"/>
<attribute name="fullpath" label="文档绝对路径" type="STRING" length="500"/>
<attribute name="filename" label="文件名" type="STRING" length="250"/>
<attribute name="cleardate" label="清算日期" type="STRING" length="32"/>
<attribute name="remark" label="备注" type="STRING" length="600"/>
<attribute name="inputuserid" label="登记人" type="STRING" length="32"/>
<attribute name="inputorgid" label="登记部门" type="STRING" length="32"/>
<attribute name="inputtime" label="登记时间" type="STRING" length="32"/>
<attribute name="updateuserid" label="更新人" type="STRING" length="32"/>
<attribute name="updateorgid" label="更新部门" type="STRING" length="32"/>
<attribute name="updatetime" label="更新时间" type="STRING" length="32"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="lb_clear_file_record" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
</class>
<class name="LM_PRODUCT_CAR" label="" keyAttributes="ID">
<attributes>
<attribute name="ID" label="标识" type="STRING" length="64"/>
<attribute name="PRODUCTID" label="产品id" type="STRING" length="64"/>
<attribute name="CARID" label="汽车id" type="STRING" length="64"/>
<attribute name="HBUILDER1" label="保留字段1" type="STRING" length="64"/>
<attribute name="HBUILDER2" label="保留字段2" type="STRING" length="64"/>
<attribute name="INPUTTIME" label="创建时间" type="STRING" length="64"/>
<attribute name="INPUTORGID" label="创建人所属部门" type="STRING" length="64"/>
<attribute name="INPUTUSERID" label="创建人" type="STRING" length="64"/>
<attribute name="UPDATEUSERID" label="修改人" type="STRING" length="64"/>
<attribute name="UPDATETIME" label="修改时间" type="STRING" length="64"/>
<attribute name="UPDATEORGID" label="修改人所属部门" type="STRING" length="64"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="lm_product_car" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
<class name="LB_INTFACE_FILE_RECORD" label="代收接口文件记录" keyAttributes="ID">
<attributes>
<attribute name="ID" label="标识编号" type="STRING" length="32"/>
<attribute name="filepath" label="文档路径" type="STRING" length="500"/>
<attribute name="fullpath" label="文档全路径文件名" type="STRING" length="600"/>
<attribute name="filename" label="文件名" type="STRING" length="250"/>
<attribute name="feedback_code" label="反馈码" type="STRING" length="32"/>
<attribute name="feedback_message" label="反馈信息" type="STRING" length="500"/>
<attribute name="content_type" label="文件格式" type="STRING" length="200"/>
<attribute name="amount" label="代收金额" type="STRING" length="32"/>
<attribute name="file_type" label="文件类型" type="STRING" length="32"/>
<attribute name="rela_id" label="关联ID" type="STRING" length="32"/>
<attribute name="remark" label="备注" type="STRING" length="200"/>
<attribute name="inputuserid" label="登记人" type="STRING" length="32"/>
<attribute name="inputorgid" label="登记部门" type="STRING" length="32"/>
<attribute name="inputtime" label="登记时间" type="STRING" length="32"/>
<attribute name="updateuserid" label="更新人" type="STRING" length="32"/>
<attribute name="updateorgid" label="更新部门" type="STRING" length="32"/>
<attribute name="updatetime" label="更新时间" type="STRING" length="32"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="lb_intface_file_record" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
<class name="LB_CLEAR_FILE_RECORD" label="清算文件存盘表" keyAttributes="ID">
<attributes>
<attribute name="ID" label="标识编号" type="STRING" length="32"/>
<attribute name="filepath" label="文档路径" type="STRING" length="500"/>
<attribute name="fullpath" label="文档绝对路径" type="STRING" length="500"/>
<attribute name="filename" label="文件名" type="STRING" length="250"/>
<attribute name="cleardate" label="清算日期" type="STRING" length="32"/>
<attribute name="remark" label="备注" type="STRING" length="600"/>
<attribute name="inputuserid" label="登记人" type="STRING" length="32"/>
<attribute name="inputorgid" label="登记部门" type="STRING" length="32"/>
<attribute name="inputtime" label="登记时间" type="STRING" length="32"/>
<attribute name="updateuserid" label="更新人" type="STRING" length="32"/>
<attribute name="updateorgid" label="更新部门" type="STRING" length="32"/>
<attribute name="updatetime" label="更新时间" type="STRING" length="32"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="lb_clear_file_record" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
</package>
<package name="jbo.com.tenwa.lease.carbrand" >
<class name="LB_CLAIMS_BOOK_DETAIL" label="索赔申请书详情表" keyAttributes="ID">
@ -3450,47 +3558,120 @@
</managerProperties>
</manager>
</class>
<class name="LB_CARDATA_MODEL" label="" keyAttributes="ID">
<class name="VI_CONTRACTMAKEPRINTLIST" label="合同签约生成列表" keyAttributes="ID">
<attributes>
<attribute name="ID" label="标识编号" type="STRING" length="32"/>
<attribute name="brandid" label="品牌ID" type="STRING" length="32"/>
<attribute name="brandname" label="品牌名称" type="STRING" length="100"/>
<attribute name="seriesid" label="车系ID" type="STRING" length="32"/>
<attribute name="seriesname" label="车系名称" type="STRING" length="100"/>
<attribute name="seriesgroupname" label="车系组名" type="STRING" length="100"/>
<attribute name="modelid" label="车型ID" type="STRING" length="32"/>
<attribute name="modelname" label="车型名称" type="STRING" length="100"/>
<attribute name="price" label="指导价" type="STRING" length="100"/>
<attribute name="liter" label="排量" type="STRING" length="100"/>
<attribute name="geartype" label="变速箱" type="STRING" length="100"/>
<attribute name="modelyear" label="年款" type="STRING" length="100"/>
<attribute name="makertype" label="制造商类型" type="STRING" length="100"/>
<attribute name="dischargestandard" label="排放标准" type="STRING" length="100"/>
<attribute name="seatnumber" label="座位数" type="STRING" length="100"/>
<attribute name="minregyear" label="最小上牌年份" type="STRING" length="100"/>
<attribute name="maxregyear" label="最大上牌年份" type="STRING" length="100"/>
<attribute name="opertype" label="操作类型" type="STRING" length="100"/>
<attribute name="modeltimestamp" label="车型时间戳" type="STRING" length="100"/>
<attribute name="seriestimestamp" label="车系时间戳" type="STRING" length="100"/>
<attribute name="brandtimestamp" label="品牌时间戳" type="STRING" length="100"/>
<attribute name="currentversion" label="当前版本号" type="STRING" length="100"/>
<attribute name="initialversion" label="最初版本号" type="STRING" length="100"/>
<attribute name="retainfield1" label="保留字段1" type="STRING" length="100"/>
<attribute name="retainfield2" label="保留字段2" type="STRING" length="100"/>
<attribute name="retainfield3" label="保留字段3" type="STRING" length="100"/>
<attribute name="inputuserid" label="登记人" type="STRING" length="100"/>
<attribute name="inputorgid" label="登记部门" type="STRING" length="100"/>
<attribute name="inputtime" label="登记时间" type="STRING" length="100"/>
<attribute name="updateuserid" label="更新人" type="STRING" length="100"/>
<attribute name="updateorgid" label="更新部门" type="STRING" length="100"/>
<attribute name="updatetime" label="更新时间" type="STRING" length="100"/>
<attribute name="id" label="id" type="STRING"/>
<attribute name="docname" label="docname" type="STRING"/>
<attribute name="customername" label="customername" type="STRING"/>
<attribute name="libid" label="libid" type="STRING"/>
<attribute name="productid" label="productid" type="STRING"/>
<attribute name="STATUS" label="STATUS" type="STRING"/>
<attribute name="ATTRIBUTE_ID" label="ATTRIBUTE_ID" type="STRING"/>
<attribute name="telephone" label="telephone" type="STRING"/>
<attribute name="sign_type" label="sign_type" type="STRING"/>
<attribute name="sendprocess" label="sendprocess" type="STRING"/>
<attribute name="flowunid" label="flowunid" type="STRING"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="lb_cardata_model" />
<property name="table" value="vi_contractmakeprintlist" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
<class name="BUSINESS_STATUS" label="项目状态表" keyAttributes="id">
<attributes>
<attribute name="id" label="id" type="STRING" length="32"/>
<attribute name="contract_number" label="contract_number" type="STRING" length="32"/>
<attribute name="business_status" label="business_status" type="STRING" length="32"/>
<attribute name="inputuserid" label="inputuserid" type="STRING" length="32"/>
<attribute name="inputorgid" label="inputorgid" type="STRING" length="32"/>
<attribute name="inputtime" label="inputtime" type="STRING" length="32"/>
<attribute name="updateuserid" label="updateuserid" type="STRING" length="32"/>
<attribute name="updateorgid" label="updateorgid" type="STRING" length="32"/>
<attribute name="updatetime" label="updatetime" type="STRING" length="32"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="business_status" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
<class name="LB_CONTRACT_SIGN_LOG" label="合同签约日志" keyAttributes="id">
<attributes>
<attribute name="id" label="标识" type="STRING" length="32"/>
<attribute name="contractdocid" label="合同文件表标识" type="STRING" length="32"/>
<attribute name="contract_id" label="合同标识" type="STRING" length="32"/>
<attribute name="project_id" label="项目标识" type="STRING" length="32"/>
<attribute name="attribute_id" label="附件明细表标识" type="STRING" length="32"/>
<attribute name="library_id" label="资料清单标识" type="STRING" length="32"/>
<attribute name="file_flag" label="是否有效" type="STRING" length="32"/>
<attribute name="sign_type" label="签约状态" type="STRING" length="32"/>
<attribute name="doc_name" label="资料名称" type="STRING" length="64"/>
<attribute name="document_id" label="契约锁合同文件id" type="STRING" length="32"/>
<attribute name="singcontract_id" label="契约锁合同id" type="STRING" length="100"/>
<attribute name="customername" label="客户名称" type="STRING" length="64"/>
<attribute name="telephone" label="电话号码" type="STRING" length="32"/>
<attribute name="inputuserid" label="创建人" type="STRING" length="100"/>
<attribute name="inputorgid" label="创建人所属部门" type="STRING" length="100"/>
<attribute name="inputtime" label="创建时间" type="STRING" length="100"/>
<attribute name="flow_unid" label="流程编号" type="STRING" length="64"/>
<attribute name="process" label="合同制作过程" type="STRING" length="32"/>
<attribute name="signprocess" label="签约操作" type="STRING" length="32"/>
<attribute name="sendprocess" label="契约锁发送过程" type="STRING" length="32"/>
<attribute name="message" label="签约错误信息" type="STRING" length="200"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="lb_contract_sign_log" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
<class name="LB_CARDATA_MODEL" label="二手车车型表" keyAttributes="ID">
<attributes>
<attribute name="ID" label="标识编号" type="STRING" length="32"/>
<attribute name="brandid" label="品牌ID" type="STRING" length="32"/>
<attribute name="brandname" label="品牌名称" type="STRING" length="100"/>
<attribute name="seriesid" label="车系ID" type="STRING" length="32"/>
<attribute name="seriesname" label="车系名称" type="STRING" length="100"/>
<attribute name="seriesgroupname" label="车系组名" type="STRING" length="100"/>
<attribute name="modelid" label="车型ID" type="STRING" length="32"/>
<attribute name="modelname" label="车型名称" type="STRING" length="100"/>
<attribute name="price" label="指导价" type="STRING" length="100"/>
<attribute name="liter" label="排量" type="STRING" length="100"/>
<attribute name="geartype" label="变速箱" type="STRING" length="100"/>
<attribute name="modelyear" label="年款" type="STRING" length="100"/>
<attribute name="makertype" label="制造商类型" type="STRING" length="100"/>
<attribute name="dischargestandard" label="排放标准" type="STRING" length="100"/>
<attribute name="seatnumber" label="座位数" type="STRING" length="100"/>
<attribute name="minregyear" label="最小上牌年份" type="STRING" length="100"/>
<attribute name="maxregyear" label="最大上牌年份" type="STRING" length="100"/>
<attribute name="opertype" label="操作类型" type="STRING" length="100"/>
<attribute name="modeltimestamp" label="车型时间戳" type="STRING" length="100"/>
<attribute name="seriestimestamp" label="车系时间戳" type="STRING" length="100"/>
<attribute name="brandtimestamp" label="品牌时间戳" type="STRING" length="100"/>
<attribute name="currentversion" label="当前版本号" type="STRING" length="100"/>
<attribute name="initialversion" label="最初版本号" type="STRING" length="100"/>
<attribute name="retainfield1" label="保留字段1" type="STRING" length="100"/>
<attribute name="retainfield2" label="保留字段2" type="STRING" length="100"/>
<attribute name="retainfield3" label="保留字段3" type="STRING" length="100"/>
<attribute name="inputuserid" label="登记人" type="STRING" length="100"/>
<attribute name="inputorgid" label="登记部门" type="STRING" length="100"/>
<attribute name="inputtime" label="登记时间" type="STRING" length="100"/>
<attribute name="updateuserid" label="更新人" type="STRING" length="100"/>
<attribute name="updateorgid" label="更新部门" type="STRING" length="100"/>
<attribute name="updatetime" label="更新时间" type="STRING" length="100"/>
</attributes>
<manager>
<managerProperties>
<property name="table" value="lb_cardata_model" />
<property name="createKey" value="true" />
</managerProperties>
</manager>
</class>
</package>
</jbo>

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,533 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee" xmlns:jsp="http://java.sun.com/xml/ns/javaee/jsp"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5">
<display-name>A3Web</display-name>
<jsp-config>
<jsp-property-group>
<display-name>JSPConfiguration</display-name>
<url-pattern>*.jsp</url-pattern>
<page-encoding>GBK</page-encoding>
</jsp-property-group>
<jsp-property-group>
<display-name>JSPConfiguration</display-name>
<url-pattern>*.jspf</url-pattern>
<page-encoding>GBK</page-encoding>
</jsp-property-group>
</jsp-config>
<filter>
<filter-name>RunFilter</filter-name>
<filter-class>com.amarsoft.awe.control.RunFilter</filter-class>
<init-param>
<param-name>RunTimeDebug</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>ShowFramePage</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>DbLog</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>encoding</param-name>
<param-value>GBK</param-value>
</init-param>
<init-param>
<param-name>DataSource</param-name>
<param-value>als</param-value>
</init-param>
<init-param>
<param-name>ExcludedURLs</param-name>
<param-value>^/.*Logon.jsp,^/.*SaveGraphAjax.jsp</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>RunFilter</filter-name>
<url-pattern>*.jsp</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
</filter-mapping>
<filter-mapping>
<filter-name>RunFilter</filter-name>
<url-pattern>/servlet/view/*</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>InitAREServlet</servlet-name>
<servlet-class>com.amarsoft.are.InitAREServlet</servlet-class>
<init-param>
<param-name>ConfigFile</param-name>
<param-value>/WEB-INF/etc/are.xml</param-value>
</init-param>
<init-param>
<param-name>AppHome</param-name>
<param-value>/WEB-INF</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>InitAWEServlet</servlet-name>
<servlet-class>com.amarsoft.awe.control.InitAWEServlet</servlet-class>
<init-param>
<param-name>ConfigFile</param-name>
<param-value>/WEB-INF/etc/a3web.xml</param-value>
</init-param>
<init-param>
<param-name>CacheFile</param-name>
<param-value>/WEB-INF/etc/cache.xml</param-value>
</init-param>
<init-param>
<param-name>SkinConfig</param-name>
<param-value>/WEB-INF/etc/skin.xml</param-value>
</init-param>
<init-param>
<param-name>ButtonConfig</param-name>
<param-value>/WEB-INF/etc/button.xml</param-value>
</init-param>
<init-param>
<param-name>DataSource</param-name>
<param-value>als</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet>
<servlet-name>RedirectorServlet</servlet-name>
<servlet-class>com.amarsoft.awe.control.RedirectorServlet</servlet-class>
<init-param>
<param-name>encoding</param-name>
<param-value>GBK</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>RewriteRunJavaMethodServlet</servlet-name>
<servlet-class>com.tenwa.workflow.RewriteRunJavaMethodServlet</servlet-class>
<init-param>
<param-name>DataSource</param-name>
<param-value>als</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>RedirectorDialogServlet</servlet-name>
<servlet-class>com.amarsoft.awe.control.RedirectorDialogServlet</servlet-class>
<init-param>
<param-name>encoding</param-name>
<param-value>GBK</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>ForwardServlet</servlet-name>
<servlet-class>com.amarsoft.awe.control.ForwardServlet</servlet-class>
<init-param>
<param-name>encoding</param-name>
<param-value>GBK</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>RunJavaMethodServlet</servlet-name>
<servlet-class>com.amarsoft.awe.control.RunJavaMethodServlet</servlet-class>
<init-param>
<param-name>DataSource</param-name>
<param-value>als</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>DisplayChart</servlet-name>
<servlet-class>org.jfree.chart.servlet.DisplayChart</servlet-class>
</servlet>
<servlet>
<servlet-name>MessageServlet</servlet-name>
<servlet-class>com.amarsoft.awe.message.MessageServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>WorkDocFileServlet</servlet-name>
<servlet-class>com.amarsoft.awe.common.attachment.WorkDocFileServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>AttachmentViewServlet</servlet-name>
<servlet-class>com.amarsoft.awe.common.attachment.AttachmentViewServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>EditOfficeServlet</servlet-name>
<servlet-class>com.tenwa.onlineoperation.servlet.EditOfficeServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>FileTemplateViewServlet</servlet-name>
<servlet-class>com.amarsoft.filetemplate.servlet.FileTemplateViewServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>DocDownloadServlet</servlet-name>
<servlet-class>com.tenwa.doc.servlet.DocDownloadServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>DocDownloadZipServlet</servlet-name>
<servlet-class>com.tenwa.doc.servlet.DocDownloadZipServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>DocFlowDownloadZipServlet</servlet-name>
<servlet-class>com.tenwa.doc.servlet.DocFlowDownloadZipServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>DownloadZipServlet</servlet-name>
<servlet-class>com.tenwa.officetempalte.controller.DownloadZipServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>FileViewServlet</servlet-name>
<servlet-class>com.amarsoft.awe.common.attachment.FileViewServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>ShowImageServlet</servlet-name>
<servlet-class>com.tenwa.doc.servlet.ShowImageServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>ShowPDFServlet</servlet-name>
<servlet-class>com.tenwa.doc.servlet.ShowPDFServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>StreamViewServlet</servlet-name>
<servlet-class>com.amarsoft.awe.common.attachment.StreamViewServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>CheckCodeServlet</servlet-name>
<servlet-class>com.amarsoft.awe.control.CheckCodeServlet</servlet-class>
<init-param>
<param-name>CodeLength</param-name>
<param-value>5</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>MonitorSOAPServlet</servlet-name>
<servlet-class>com.amarsoft.awe.common.monitor.MonitorSOAPServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>RedirectorServlet</servlet-name>
<url-pattern>/Redirector</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>RedirectorDialogServlet</servlet-name>
<url-pattern>/RedirectorDialog</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>RunJavaMethodServlet</servlet-name>
<url-pattern>/servlet/run</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ForwardServlet</servlet-name>
<url-pattern>/ao</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>DisplayChart</servlet-name>
<url-pattern>/chartview</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>MessageServlet</servlet-name>
<url-pattern>/servlet/message</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>WorkDocFileServlet</servlet-name>
<url-pattern>/servlet/workdocfile/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>AttachmentViewServlet</servlet-name>
<url-pattern>/servlet/view/attachment</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>EditOfficeServlet</servlet-name>
<url-pattern>/servlet/view/editOffice</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>FileTemplateViewServlet</servlet-name>
<url-pattern>/servlet/view/fileTemplateView</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>DocDownloadServlet</servlet-name>
<url-pattern>/servlet/view/docDownloadServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>RewriteRunJavaMethodServlet</servlet-name>
<url-pattern>/servlet/runflow</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>DocDownloadZipServlet</servlet-name>
<url-pattern>/servlet/view/docDownloadZipServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>DocFlowDownloadZipServlet</servlet-name>
<url-pattern>/servlet/view/docFlowDownloadZipServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>DownloadZipServlet</servlet-name>
<url-pattern>/servlet/view/DownloadZipServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>AttachmentViewServlet</servlet-name>
<url-pattern>/servlet/pdf/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>FileViewServlet</servlet-name>
<url-pattern>/servlet/view/file</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ShowImageServlet</servlet-name>
<url-pattern>/servlet/view/image</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ShowPDFServlet</servlet-name>
<url-pattern>/servlet/view/pdf</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>FileViewServlet</servlet-name>
<url-pattern>/servlet/viewpic</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>StreamViewServlet</servlet-name>
<url-pattern>/servlet/view/stream</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>CheckCodeServlet</servlet-name>
<url-pattern>/servlet/checkcode</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>MonitorSOAPServlet</servlet-name>
<url-pattern>/servlet/monitor</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>QueryResultServlet</servlet-name>
<servlet-class>com.amarsoft.asquery.servlet.QueryResultServlet</servlet-class>
<init-param>
<param-name>threadCount</param-name>
<param-value>5</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>QueryResultServlet</servlet-name>
<url-pattern>/SynchResultQuery</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>InfoPageExportServlet</servlet-name>
<servlet-class>com.amarsoft.awe.dw.export.servlet.InfoExportServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>ListPageExportServlet</servlet-name>
<servlet-class>com.amarsoft.awe.dw.export.servlet.ListExportServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>InfoPageExportServlet</servlet-name>
<url-pattern>/EAS/PageExport/info</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ListPageExportServlet</servlet-name>
<url-pattern>/EAS/PageExport/list</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>workflow_GetProcess</servlet-name>
<servlet-class>com.amarsoft.biz.workflow.graph.web.GetProcess</servlet-class>
</servlet>
<servlet>
<servlet-name>workflow_UpdateProcess</servlet-name>
<servlet-class>com.amarsoft.biz.workflow.graph.web.UpdateProcess</servlet-class>
</servlet>
<servlet>
<servlet-name>workflow_AddProcess</servlet-name>
<servlet-class>com.amarsoft.biz.workflow.graph.web.AddProcess</servlet-class>
</servlet>
<servlet>
<servlet-name>workflow_DeleteProcess</servlet-name>
<servlet-class>com.amarsoft.biz.workflow.graph.web.DeleteProcess</servlet-class>
</servlet>
<servlet>
<servlet-name>workflow_ListProcess</servlet-name>
<servlet-class>com.amarsoft.biz.workflow.graph.web.ListProcess</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>workflow_GetProcess</servlet-name>
<url-pattern>/getprocess.wf</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>workflow_UpdateProcess</servlet-name>
<url-pattern>/updateprocess.wf</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>workflow_AddProcess</servlet-name>
<url-pattern>/addprocess.wf</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>workflow_DeleteProcess</servlet-name>
<url-pattern>/deleteprocess.wf</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>workflow_ListProcess</servlet-name>
<url-pattern>/listprocess.wf</url-pattern>
</servlet-mapping>
<welcome-file-list id="WelcomeFileList_1">
<welcome-file>index.html</welcome-file>
</welcome-file-list>
<error-page>
<error-code>404</error-code>
<location>/Frame/page/sys/NoPageInfo.jsp</location>
</error-page>
<resource-ref id="ResourceRef_1">
<res-ref-name>jdbc/als</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Application</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
<resource-ref id="ResourceRef_2">
<res-ref-name>jdbc/report</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Application</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
<session-config>
<session-timeout>240</session-timeout>
</session-config>
<servlet>
<servlet-name>InitDBType</servlet-name>
<servlet-class>com.amarsoft.app.awe.config.InitDBType</servlet-class>
<init-param>
<param-name>shutdown-on-unload</param-name>
<param-value>true</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>QuartzInitializer</servlet-name>
<servlet-class>com.tenwa.quartz.MyQuartzInitializerServlet</servlet-class>
<init-param>
<param-name>config-file</param-name>
<param-value>quartz.properties</param-value>
</init-param>
<init-param>
<param-name>shutdown-on-unload</param-name>
<param-value>true</param-value>
</init-param>
<load-on-startup>5</load-on-startup>
</servlet>
<context-param>
<param-name>webAppRootKey</param-name>
<param-value>webapp.port</param-value>
</context-param>
<context-param>
<param-name>javax.servlet.jsp.jstl.fmt.localizationContext</param-name>
<param-value>ApplicationResources</param-value>
</context-param>
<context-param>
<param-name>log4jConfigLocation</param-name>
<param-value>/WEB-INF/classes/log4j.xml</param-value>
</context-param>
<context-param>
<description>配置文件位置</description>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:applicationContext*.xml</param-value>
</context-param>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<!--- ================================== -->
<!-- webApi配置 -->
<!--- ================================== -->
<!-- restfull转发处理的servlet -->
<servlet>
<description>Restfull处理Servlet</description>
<display-name>RestfullServlet</display-name>
<servlet-name>RestfullServlet</servlet-name>
<!-- <servlet-class>cn.coyoteam.aweresf.web.servlet.RestfullServiceServlet</servlet-class> -->
<servlet-class>cn.servlet.RestfullServiceServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>RestfullServlet</servlet-name>
<url-pattern>/webapi/resf/*</url-pattern>
</servlet-mapping>
<context-param>
<description>restfull自动扫描路径设置</description>
<param-name>RestfullScanPackage</param-name>
<param-value>
apx.com.amarsoft.als.user.logon.controller,
apx.com.amarsoft.als.user.pwd.controller,
apx.com.amarsoft.als.user.sys.controller,
apx.com.amarsoft.als.doc.controller,
apx.com.amarsoft.als.currency.select.controller,
apx.com.amarsoft.als.currency.select.contract.controller,
<!-- 我的工作 -->
<!-- 代办列表 -->
apx.com.amarsoft.als.business.work.to.controller,
<!-- 已办列表 -->
apx.com.amarsoft.als.business.work.has.controller,
<!-- 传阅事宜 -->
apx.com.amarsoft.als.business.work.circulate.pass.controller,
<!-- 已结束传阅 -->
apx.com.amarsoft.als.business.work.circulate.close.controller,
<!-- 意见 -->
<!-- 签署意见 -->
apx.com.amarsoft.als.business.opinion.sign.controller,
<!-- 流程历史意见 -->
apx.com.amarsoft.als.business.opinion.history.controller,
<!-- 流程附件一览 -->
apx.com.amarsoft.als.business.attachment.controller,
<!-- 流程动作 -->
apx.com.amarsoft.als.business.action.ready.controller,
apx.com.amarsoft.als.business.action.submit.controller,
apx.com.amarsoft.als.business.action.back.controller,
apx.com.amarsoft.als.business.comm.action.controller,
<!-- 通用 列表/表单 查询 保存 处理 -->
<!-- 通用模板查询 保存 列表 删除 处理 -->
apx.com.amarsoft.als.base.awe.controller,
</param-value>
</context-param>
<!-- 对整个webapi进行一些通用处理的过滤器 -->
<filter>
<display-name>SessionAndContextFilter</display-name>
<filter-name>SessionAndContextFilter</filter-name>
<!-- <filter-class>cn.coyoteam.aweresf.web.filter.SessionAndContextFilter</filter-class> -->
<filter-class>cn.filter.SessionAndContextFilter</filter-class>
<init-param>
<param-name>NoCheckURI</param-name>
<param-value>
<!-- 用户 登录/注销 -->
/resf/logon/manager/logon,
/resf/logon/manager/logout,
<!-- 关闭手势密码 查询手势密码状态 -->
/resf/user/center/manager/acquisition/gesture,
/resf/user/center/manager/close/gesture,
<!-- 检测系统 版本 -->
/resf/user/center/manager/detection/version,
<!-- 下载 -->
/resf/files/down/docById,
/resf/files/downloadPlist,
/resf/files/downloadApp,
/resf/files/downloadAppById,
</param-value>
</init-param>
<init-param>
<param-name>TokenHoldTime</param-name>
<param-value>31536000</param-value><!-- 3600*24*365=31536000 -->
</init-param>
<init-param>
<param-name>dataSource</param-name>
<param-value>als</param-value>
</init-param>
<init-param>
<param-name>encoding</param-name>
<param-value>GBK</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>SessionAndContextFilter</filter-name>
<url-pattern>/webapi/*</url-pattern>
</filter-mapping>
<!--- ================================== -->
<!-- 支持webapi-结束 -->
<!--- ================================== -->
</web-app>

View File

@ -1,81 +1,84 @@
<%@ page contentType="text/html; charset=GBK" pageEncoding="GBK"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="gb2312" />
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no,width=device-width,height=device-height">
<meta name="format-detection" content="telephone=no" />
<meta http-equiv="Cache-Control" content="no-transform" />
<title>App应用下载</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery/jquery-1.11.0.min.js"></script>
<style type="text/css">
#weixin-tip{display:none;position:fixed;left:0;top:0;background:rgba(0,0,0,0.8);filter:alpha(opacity=80);width:100%;height:100%;z-index:100;}
#weixin-tip p{text-align:center;margin-top:10%;padding:0 5%;position:relative;}
#weixin-tip .close{color:#fff;padding:5px;font:bold 20px/24px simsun;text-shadow:0 1px 0 #ddd;position:absolute;top:0;left:5%;}
.butonpanle{width: 100%;margin-top:10%; height: 20%}
.android-btn{width:80%;height: 30%;padding-top: 2%;padding-bottom: 3%;border:0.5;background-color: #8DB6CD;color:white;fount-size:16;display: block;margin: 0 auto;}
img{display: block;margin: 0 auto;}
#tips{margin: 0 auto;width: 100%;color:red; white-space: pre-wrap; text-align: center;}
</style>
</head>
<%
String devType="android";
String userAgent = request.getHeader("user-agent");
if(userAgent.toLowerCase().indexOf("iphone")>=0){
devType="ios";
}
%>
<body style="background-color: #F4F4F4;width: 100%">
<div id="img-content">
<img src="${pageContext.request.contextPath}/AppMain/AppLogo/logo.png"/>
<div class="butonpanle">
<button id="J_weixin" class="android-btn">
<labe>下载安装</label>
</button>
</div>
<br/>
<label id="tips"></label>
</div>
<div id="weixin-tip">
<p><img src="${pageContext.request.contextPath}/AppMain/AppLogo/down_wx_t.png" alt="微信扫描打开APP下载链接提示代码优化" alt="微信打开"/>
</div>
</body>
</html>
<script type="text/javascript">
var is_weixin = (function(){
return navigator.userAgent.toLowerCase().indexOf('micromessenger') !== -1
}
)();
window.onload = function() {
var winHeight = typeof window.innerHeight != 'undefined' ? window.innerHeight : document.documentElement.clientHeight; //兼容IOS不需要的可以去掉
var btn = document.getElementById('J_weixin');
var Testbtn = document.getElementById('J_Test');
var tip = document.getElementById('weixin-tip');
var close = document.getElementById('close');
var show = function(){
tip.style.height = winHeight + 'px'; //兼容IOS弹窗整屏
tip.style.display = 'block';
return false;
};
tip.onclick = function() {
tip.style.display = 'none';
};
btn.onclick = function(e) {
if(is_weixin){
show();
}else{
<%if("android".equalsIgnoreCase(devType)){%>
location.href="/maotai/webapi/resf/files/downloadApp?devType=<%=devType%>";
<%}else{%>
location.href="itms-services:///?action=download-manifest&url=http://139.196.252.5:9090/maotai/webapi/resf/files/downloadPlist";
<%}%>
setTimeout(function(){
$("#tips").html("");
},1000)
}
};
}
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="gb2312" />
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no,width=device-width,height=device-height">
<meta name="format-detection" content="telephone=no" />
<meta http-equiv="Cache-Control" content="no-transform" />
<title>App应用下载</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery/jquery-1.11.0.min.js"></script>
<style type="text/css">
#weixin-tip{display:none;position:fixed;left:0;top:0;background:rgba(0,0,0,0.8);filter:alpha(opacity=80);width:100%;height:100%;z-index:100;}
#weixin-tip p{text-align:center;margin-top:10%;padding:0 5%;position:relative;}
#weixin-tip .close{color:#fff;padding:5px;font:bold 20px/24px simsun;text-shadow:0 1px 0 #ddd;position:absolute;top:0;left:5%;}
.butonpanle{width: 100%;margin-top:10%; height: 20%}
.android-btn{width:80%;height: 30%;padding-top: 2%;padding-bottom: 3%;border:0.5;background-color: #8DB6CD;color:white;fount-size:16;display: block;margin: 0 auto;}
img{display: block;margin: 0 auto;}
#tips{margin: 0 auto;width: 100%;color:red; white-space: pre-wrap; text-align: center;}
</style>
</head>
<%
String devType="android";
String userAgent = request.getHeader("user-agent");
if(userAgent.toLowerCase().indexOf("iphone")>=0){
devType="ios";
}
%>
<body style="background-color: #F4F4F4;width: 100%">
<div id="img-content">
<br/>
<br/>
<br/>
<img src="${pageContext.request.contextPath}/AppMain/Logon/appDownloadLogo.png"/>
<div class="butonpanle">
<button id="J_weixin" class="android-btn">
<labe>下载安装</label>
</button>
</div>
<br/>
<label id="tips"></label>
</div>
<div id="weixin-tip">
<p><img src="${pageContext.request.contextPath}/AppMain/AppLogo/down_wx_t.png" alt="微信扫描打开APP下载链接提示代码优化" alt="微信打开"/>
</div>
</body>
</html>
<script type="text/javascript">
var is_weixin = (function(){
return navigator.userAgent.toLowerCase().indexOf('micromessenger') !== -1
}
)();
window.onload = function() {
var winHeight = typeof window.innerHeight != 'undefined' ? window.innerHeight : document.documentElement.clientHeight; //兼容IOS不需要的可以去掉
var btn = document.getElementById('J_weixin');
var Testbtn = document.getElementById('J_Test');
var tip = document.getElementById('weixin-tip');
var close = document.getElementById('close');
var show = function(){
tip.style.height = winHeight + 'px'; //兼容IOS弹窗整屏
tip.style.display = 'block';
return false;
};
tip.onclick = function() {
tip.style.display = 'none';
};
btn.onclick = function(e) {
if(is_weixin){
show();
}else{
<%if("android".equalsIgnoreCase(devType)){%>
location.href="${pageContext.request.contextPath}/webapi/resf/files/downloadApp?devType=<%=devType%>";
<%}else{%>
/* location.href="itms-services:///?action=download-manifest&url=http://139.196.252.5:9090/maotai/webapi/resf/files/downloadPlist"; */
<%}%>
setTimeout(function(){
$("#tips").html("");
},1000)
}
};
}
</script>

View File

@ -38,7 +38,7 @@
</select>
</div>
<div class="logon_user">用户名ID<input type="text" name="UserID" onkeypress="javascript:pressEnter(1, event);" value="test11" onblur="javascript:myTrim();" class="input_class"/></div>
<div class="logon_user">密码:<input type="password" name="Password" value="000000als" onkeypress="javascript:pressEnter(2, event);" class="input_class"/></div>
<div class="logon_user">密码:<input type="Password" name="Password" value="000000als" onkeypress="javascript:pressEnter(2, event);" class="input_class"/></div>
<!-- <div class="logon_user" style="position: relative;">验证码:<input type="text" name="CheckCode" onKeyPress="javascript:pressEnter(3, event);" class="input_class" style="margin-right: 70px; width: 110px;"/><img style="position: absolute; right: 0; bottom: 0; cursor: pointer;" src="servlet/checkcode" onclick="history.go(0)" title="点击刷新验证码"/></div> -->
<span id='amarhidden' style='display:none'>正在检查用户请稍等.....</span>
<div class="logon_button">

View File

@ -10,12 +10,12 @@
String sTempletNo = "sourceOfFundsInfo";//--模板号--
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
doTemp.setColTips("", "²âÊÔ");
/* doTemp.setColTips("", "²âÊÔ"); */
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
dwTemp.Style = "2";//freeform
//dwTemp.ReadOnly = "-2";//只读模式
dwTemp.genHTMLObjectWindow(CurPage.getParameter("ID"));
String sButtons[][] = {
{"true","All","Button","保存","保存所有修改","save()","","","",""},
{String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","返回","返回列表","returnList()","","","",""}

View File

@ -33,20 +33,37 @@ xmlns:p="http://www.springframework.org/schema/p"
<util:properties id="collectProperties" location="classpath:collect_config.properties" />
<bean id="collectConfig" class="com.amarsoft.app.awe.config.CollectProperties">
<property name="c_env" value="#{collectProperties['com.tenwa.yangdm.collect.c_env']}"></property>
<property name="c_version" value="#{collectProperties['com.tenwa.yangdm.bank.c_version']}"></property>
<property name="c_appkey" value="#{collectProperties['com.tenwa.yangdm.bank.c_appkey']}"></property>
<property name="c_privateKey" value="#{collectProperties['com.tenwa.yangdm.c_privateKey']}"></property>
<property name="c_bizCat" value="#{collectProperties['com.tenwa.yangdm.collect.c_bizCat']}"></property>
<property name="c_bizSys" value="#{collectProperties['com.tenwa.yangdm.collect.c_bizSys']}"></property>
<property name="c_bizType" value="#{collectProperties['com.tenwa.yangdm.collect.c_bizType']}"></property>
<property name="c_subBusinessCode" value="#{collectProperties['com.tenwa.yangdm.collect.c_subBusinessCode']}"></property>
<property name="c_businessCode" value="#{collectProperties['com.tenwa.yangdm.collect.c_businessCode']}"></property>
<property name="c_chanAcctId" value="#{collectProperties['com.tenwa.yangdm.collect.c_chanAcctId']}"></property>
<property name="c_authType" value="#{collectProperties['com.tenwa.yangdm.collect.c_authType']}"></property>
<property name="msg_apikey" value="#{collectProperties['com.tenwa.yangdm.collect.msg_apikey']}"></property>
<!-- 代收付系统 测试接口地址 -->
<property name="c_serverUrl" value="#{collectProperties['com.tenwa.yangdm.collect.serverUrl']}"></property>
<!-- 清算文件下载请求 地址 -->
<property name="b_serverUrl" value="#{collectProperties['com.tenwa.yangdm.bank.serverUrl']}"></property>
<!-- 银行卡、签约 接口 地址 -->
<property name="clearRequestUrl" value="#{collectProperties['com.tenwa.yangdm.bank.clearRequestUrl']}"></property>
<!-- 商户号 -->
<property name="merchantId" value="#{collectProperties['com.tenwa.yangdm.merchantId']}"></property>
<!-- 收付标志 S 代表 代收 -->
<property name="flag" value="#{collectProperties['com.tenwa.yangdm.collect.flag']}"></property>
<!-- 测试用户 -->
<property name="userName" value="#{collectProperties['com.tenwa.yangdm.collect.userName']}"></property>
<property name="userPass" value="#{collectProperties['com.tenwa.yangdm.collect.userPass']}"></property>
<property name="businessCode" value="#{collectProperties['com.tenwa.yangdm.collect.businessCode']}"></property>
<!-- 批量代收,其他参数同实时 -->
<property name="batch_trxCode" value="#{collectProperties['com.tenwa.yangdm.batch.trxCode']}"></property>
<!-- 实时代收 -->
<property name="c_dataType" value="#{collectProperties['com.tenwa.yangdm.collect.dataType']}"></property>
<property name="c_level" value="#{collectProperties['com.tenwa.yangdm.collect.level']}"></property>
<property name="c_trxCode" value="#{collectProperties['com.tenwa.yangdm.collect.trxCode']}"></property>
<property name="c_version" value="#{collectProperties['com.tenwa.yangdm.collect.version']}"></property>
<!-- 银行卡四要素验证 -->
<property name="b_trxCode" value="#{collectProperties['com.tenwa.yangdm.bank.trxCode']}"></property>
<property name="b_version" value="#{collectProperties['com.tenwa.yangdm.bank.version']}"></property>
<property name="b_dataType" value="#{collectProperties['com.tenwa.yangdm.bank.dataType']}"></property>
<property name="b_level" value="#{collectProperties['com.tenwa.yangdm.bank.level']}"></property>
<!-- 公钥、私钥地址 -->
<property name="publicKeyUrl" value="#{collectProperties['com.tenwa.yangdm.publicKeyUrl']}"></property>
<property name="privateKeyUrl" value="#{collectProperties['com.tenwa.yangdm.privateKeyUrl']}"></property>
</bean>
</bean>
<util:properties id="jdbcProperties" location="classpath:quartz.properties" />
<bean id="dataSourceJDBC" class="com.mchange.v2.c3p0.ComboPooledDataSource" destroy-method="close">

View File

@ -1,30 +1,47 @@
# product environment
#com.tenwa.yangdm.collect.c_env=prd
#com.tenwa.yangdm.bank.c_version=1.0.0
#com.tenwa.yangdm.bank.c_appkey=b373daf93000876cd5f3728bcc36f697
#com.tenwa.yangdm.c_privateKey=MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCqObLkOTu/ENsmxNdLfIBXisAoA/WZPNGUT2b6Y+wn5ociJmg1nIt+a7jKE2vsZgpxjYzUzBxWd9jHTNkxZzQjYLZTYjAi6RoG55OsVfTIr+9DcVKRg6aZrgtNxtPXGwWrft6tTyN5ddwpzv8zj6+/F/MUoisPAI2bb6tGr3GyCPEUN4tZSK2JYi+BcjeLrEX7BbkvWaBBu9G+PUu2Athm6gkdRWMCbNVPOPSqNB8fnYzESo5/0RJd2ZRM8ssweqI5AfkAEg5PB8vAK7y3Thcz1XDK8DOzsk8XSSuP6YQE44VsalNCzplMPR9Cm11aN4T4vLsBL0Qrzp6da/SXT9FDAgMBAAECggEAWaF//IPWXci2XDeRVYH84huBCpDrJQDNKdaVVop+spPD28t1W6VOHgcCigSn8xXXserimLnQwgbg8jAYvNamsWofFtDAn+E1fyU4sKmh9noM9eoZm91CP/FQqmdi7ASie6aWAZOGDlJs1ubToYaq92fY6qhpG8EizxGBkfqXVzJZwK5QBs2WjsVh/gad/JdAW2SWG17WNErdoGX0dDkJook0yMM29lpXWJqg6JaJEwSM18rVCVPP+DEhxarRiAFa2nXACpxoaiO5Hk8S8LgUv9ct1nlYWkP4NRgTyhcaUUCyjPdmGwO/NBpx8ChoRdtXOeMLw6RNzD3JgdZ+QhYtoQKBgQDfvA1xJKVY+Tr/O98bBEAS8N2IM9K+gBaLUkjrGn69pjTlGTmPSpaXzINVu/aR5KOvf1LfPhCriBZzMw03j4BYl+BHaQIPjeJw4PpyycssI5CrUHY7CFHhguDSims/9w2scO+j18gq9LMxiL/l7R4KdG+jcrMrD9SMlPSQnDre1wKBgQDCxiqhmd/qRGUkjgjjeKK70YgOzE7f8+foxm9AkqHiOfcclSdHHBi6THrawoEyWzC0FDcQDZuJYDbYK7JslhDZOYEqv1tYaUeD/D4CgNn4vnUJ++v1f0c+9BrkLYCbaZhz9XDes3JAOq7jO08LbLd01wQj8MP1YJ3UbprwiyWvdQKBgQC3rt9mTYzGgE+0bkYcGyAzrLZj9RAHQIfBuDuPcYAuWX9Bu7Tq9HSwicIlqByl6I2OLr0t9PmgqiisSXSHcfQQSBhk6Ew90uHehIZ5qTx5r3U9gOCgVJNMzrOfhu7IZB9AvLOx0x1OTvmzKC9MKKEqOi/RhACe0O9Sv5QOCYW3nwKBgF3XzMJ/uPrOaUzrgizW+tEzazJ2DaqpgZsNwJyECatN8lm7I2mHiAJ6xtaP0F/Kv/SDqOP7Km1OBh6xLw5SX1vJ8Qn/mKtITkSxS8849cx7NzjQQCfQYytZwXse0VAP2HxGTVN/chSwMYMaGEOQ5fNNhZkrb77SBjlL8SrkYAvhAoGAcu0+1c1vorUwDbvTmka7hxWatI/2NwdnLKeYwcWZLwP+XCaSnD968OmuaVBjN5Sf7fE/+hc9F7wiIG2pTFDX2j/3kItyspb+f0avDoTkxbMJW7t5hm0sKtiQWyA8nSA8U2tQjlrj2VxSUv/34neExc5J8xOysHnGT7yXlLWUkXc=
#com.tenwa.yangdm.collect.c_bizCat=ZFSC
#com.tenwa.yangdm.collect.c_bizSys=ZLRZXT
#com.tenwa.yangdm.collect.c_bizType=1
#com.tenwa.yangdm.collect.c_subBusinessCode=
#com.tenwa.yangdm.collect.c_businessCode=ZLRZZLZY
#com.tenwa.yangdm.collect.c_chanAcctId=0
#com.tenwa.yangdm.collect.c_authType=FOUR_AUTH
#com.tenwa.yangdm.collect.msg_apikey=
# test environment
com.tenwa.yangdm.collect.c_env=iTest
com.tenwa.yangdm.bank.c_version=1.0.0
com.tenwa.yangdm.bank.c_appkey=230a15d4bc245d1fba6e5cce1f2b21ec
com.tenwa.yangdm.c_privateKey=MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDqll0OE25x8gr4E5sDOGWIItjssI/tXKrZwjKD5ZXlzbLgcXSf0u3MFjz9UKdkQlr4GpUtPvdrbet/bPxZ5PBLe91ZYohAOv3vSZLcElhr2JI0mEX+Xyy2RlTRmk27WZZLH02fvhJrh6a4PFQYagHfqVTBJQFo2uSUP2/TZeEUBCz+jPp+YVwGl/jDBNGP+UNRDOkYLpDFnmJGbVNl6kgqf7IzY9yaF8RGtlzWz7/NOfn/fRc+PQuhrWk19sxbPJsgONQtx8G2Ecd/RdVV3kxViEf8ETn6ypuB4dthgHhS+SWn3KJftY1g3BbgoiMrExn/HLtyHU2suyExB/FqoRmDAgMBAAECggEBALOcQM9ALXXsvl1GlY8XpRVgqPpADVLNerqTp525MNXscqLJ+2NLWmrCNBw3npJzA7emksU7yrBkTsUXqvchBKKmyclgWbXj9P07Ncht+2lHPloqpJyoPlGo89Qv8ogZhasq4oIGQ5A1In85IaI3uAuJWK0xKi0gO5cOIw6WmIh7WmSzc+IY++DGfgBhpQ1zgaFeFg10r9Ha2atYmhw+3p1xeJLnDqxpDT4cRms9L+WOh2e7UCAbRUAK6xugFiZf1bCDM5PvxGQJi0LmaBUKkF2kbTogCJtSolar71xhgBhdjx7zxBwfpr0OOTyMsDks+j98ZwL/80cGJ42Iu5IRTlECgYEA/8SW1IfSTVqj/UHUN+/y3N6ebf+VsByWpNnkEWMznRGAsGPy8cLwQdz2vysaEw7/mMm6vGjAuAxdKKzHSslncHVdQEBJhdXoBbHEIiPWxFwj3bfjGy6zmiMGiYU9d7qm7CUObjDmBlTjIIWCsLN3qbCy39FzrZsrTlj/0+stbc0CgYEA6szaumC73J0a1YWpLgguZz0JhLhxtZkWs3GbIzDw/5Uc+aU9lbbCUkQmgc6WfI66TvmF8yWrUVTtbHMhHCHwc3LN7MPqnZuAvzgOG5TzZGH50rVVHXGEBezHOoNFZdOLipOYoQ5/MIlR2vHnJkbt9XEFY9bpHw7+TlnKVief1I8CgYBWXJoVX1s6dV2kGUNANAxMWfsi50cy9SREu7IP0PBPm+ZZKRaSXaFki+jhOfuO7eSOQaeFENXqD3qxTk3oycLcrTR0ioCI6WZz7cdtQ660FOyjZAESX52TcTo22z+bGvJcEFMkD+zLvIQIqiwr4B2KtbhgbMfjmd5wkQqpEuL/DQKBgGjjMiJn7APVOpN/rd+eT/xWS9Y5/rG8vWNTsJW72yyRE+yBYE1s4smVIA6Elrz1lUyKMsg3X5xpb9YuZ/AFSUCJXGwT6M6XFKBXDhZMJ54EFnGGB4urlep/p1AALBQcuA0jed8YdsDb1vETdsqmjM5DusCq1GDHddrSSYzLDp8JAoGBAMtAONE3gvFpgRr/3tudOHZt1lywfHsePSXOnMFkSviJDTMXNWR0GQ7k8R1PHVdZRr8xIeONH5WKU9Vd7jmCKIvi2LdjdhePoGVwq875cLLALH3CkgWr0kcHB02M3xLK2oowmtrRCX18Jzo3Q6oKycq1NcljaPLQsObp9/ws2bkX
com.tenwa.yangdm.collect.c_bizCat=ZFSC
com.tenwa.yangdm.collect.c_bizSys=ZLRZXT
com.tenwa.yangdm.collect.c_bizType=1
com.tenwa.yangdm.collect.c_subBusinessCode=
com.tenwa.yangdm.collect.c_businessCode=ZLRZZLZY
com.tenwa.yangdm.collect.c_chanAcctId=0
com.tenwa.yangdm.collect.c_authType=FOUR_AUTH
com.tenwa.yangdm.collect.msg_apikey=
#sheng chan huan jing url
#com.tenwa.yangdm.collect.serverUrl=http://cps.gnete.com/ProcessServlet
#com.tenwa.yangdm.bank.serverUrl=http://cps.gnete.com:8191/gzdsf/ProcessServlet
#ce shi huan jing url
com.tenwa.yangdm.collect.serverUrl=http://59.41.103.98:333/gzdsf/ProcessServlet
com.tenwa.yangdm.bank.serverUrl=http://59.41.103.98:9110/gzdsf/ProcessServlet
#---------------------------------------------------------------------------------------------
#clearFile downUrl
com.tenwa.yangdm.bank.clearRequestUrl=http://59.41.103.98:333/gzdsf/GetSettFile.do
#com.tenwa.yangdm.merchantId=000191400207649
#test
com.tenwa.yangdm.merchantId=001053110000001
#---------------------------------------------------------------------------------------------
#daishoupeizhi ( 'S' dai biao dai shou,batch.trxCode dai biao piliangdaishou,collect.trxCode dai biao shishidaishou,version banbenhao)
com.tenwa.yangdm.collect.flag=S
com.tenwa.yangdm.batch.trxCode=100001
#com.tenwa.yangdm.collect.trxCode=100001
com.tenwa.yangdm.collect.trxCode=100004
com.tenwa.yangdm.collect.version=05
#ye wu dui ying yin hang dai ma bian hao(10702 wei zhu ling)
com.tenwa.yangdm.collect.dataType=2
com.tenwa.yangdm.collect.level=5
#yi xia shi yao yong de yong hu ming he mi ma(zheng shi tou chan hou xiu gai)
#com.tenwa.yangdm.collect.userName=00019140020764901
#com.tenwa.yangdm.collect.userPass=TPSHauto123.
com.tenwa.yangdm.collect.businessCode=10702
#test (ce shi huan jing zheng shi tou chan hou zhu shi diao)
com.tenwa.yangdm.collect.userName=operator
com.tenwa.yangdm.collect.userPass=ora_123456
com.tenwa.yangdm.collect.businessCode=10600
#yin hang ka si yao su yan zheng
com.tenwa.yangdm.bank.trxCode=100039
com.tenwa.yangdm.bank.version=03
com.tenwa.yangdm.bank.dataType=2
com.tenwa.yangdm.bank.level=5
#an quan zheng shu xiang guan (si yao he gong yao de cun fang wei zhi)
com.tenwa.yangdm.publicKeyUrl=D:\\BaiduNetdisk\\Download\\SecutyKey\\gzdsf.cer
com.tenwa.yangdm.privateKeyUrl=D:\\BaiduNetdisk\\Download\\SecutyKey\\ORA@TEST1.p12
#com.tenwa.yangdm.privateKeyUrl=D:\\BaiduNetdisk\\Download\\SecutyKey\\cps@00019140020764901.p12

151
sql/APP_INIT.sql Normal file
View File

@ -0,0 +1,151 @@
-- app配置模板分组表
DROP TABLE if EXISTS APP_BUSINESS_GROUP;
CREATE TABLE `APP_BUSINESS_GROUP` (
`GROUP_CODE` VARCHAR(900) COLLATE utf8_unicode_ci NOT NULL,
`GROUP_NAME` VARCHAR(900) COLLATE utf8_unicode_ci DEFAULT NULL,
`ISLIST` VARCHAR(3) COLLATE utf8_unicode_ci DEFAULT NULL,
`GROUP_POSITION` BIGINT COLLATE utf8_unicode_ci DEFAULT NULL,
`GROUP_ENABLE` VARCHAR(1) COLLATE utf8_unicode_ci DEFAULT NULL,
PRIMARY KEY (`GROUP_CODE`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- app配置模板分组字段表
DROP TABLE if EXISTS APP_BUSINESS_TEMPLATE;
CREATE TABLE `APP_BUSINESS_TEMPLATE` (
`GROUP_CODE` VARCHAR(900) COLLATE utf8_unicode_ci NOT NULL,
`DONO` VARCHAR(96) COLLATE utf8_unicode_ci DEFAULT NULL,
`COLINDEX` VARCHAR(54) COLLATE utf8_unicode_ci DEFAULT NULL,
`SORTNO` VARCHAR(54) COLLATE utf8_unicode_ci DEFAULT NULL,
`COLNAME` VARCHAR(80) COLLATE utf8_unicode_ci DEFAULT NULL,
`DATA_NAME` VARCHAR(900) COLLATE utf8_unicode_ci DEFAULT NULL,
`DATA_CODE` VARCHAR(900) COLLATE utf8_unicode_ci DEFAULT NULL,
`ISLIST` VARCHAR(54) COLLATE utf8_unicode_ci DEFAULT NULL,
`ISSHOW` VARCHAR(54) COLLATE utf8_unicode_ci DEFAULT NULL,
`DATA_POSITION` BIGINT COLLATE utf8_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- 流程阶段配置表
DROP TABLE if EXISTS PRD_NODEINFO_CATALOG_APP;
CREATE TABLE `PRD_NODEINFO_CATALOG_APP` (
`ID` VARCHAR(100) COLLATE utf8_unicode_ci NOT NULL,
`FLOWNO` VARCHAR(100) COLLATE utf8_unicode_ci DEFAULT NULL,
`PHASENO` VARCHAR(100) COLLATE utf8_unicode_ci DEFAULT NULL,
`CONFIG_TYPE` VARCHAR(100) COLLATE utf8_unicode_ci DEFAULT NULL,
`CONFIG_DISPLAY` VARCHAR(100) COLLATE utf8_unicode_ci DEFAULT NULL,
`ENABLE_OPERATION` VARCHAR(1) COLLATE utf8_unicode_ci DEFAULT NULL,
`SORTNO` BIGINT COLLATE utf8_unicode_ci DEFAULT NULL,
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- APP页签配置表
DROP TABLE if EXISTS PRD_NODEINFO_LIBRARY_APP;
CREATE TABLE `PRD_NODEINFO_LIBRARY_APP` (
`ID` VARCHAR(100) COLLATE utf8_unicode_ci NOT NULL,
`APP_BUSINESS_GROUP_CODE` VARCHAR(100) COLLATE utf8_unicode_ci DEFAULT NULL,
`INITIAL_CONDITION` VARCHAR(1000) COLLATE utf8_unicode_ci DEFAULT NULL,
`AUXILIARY_CONDITION` VARCHAR(1000) COLLATE utf8_unicode_ci DEFAULT NULL,
`INTERFACE_DESC` VARCHAR(1000) COLLATE utf8_unicode_ci DEFAULT NULL,
`SORTNO` BIGINT COLLATE utf8_unicode_ci DEFAULT NULL,
`ATTRIBUTE1` VARCHAR(1000) COLLATE utf8_unicode_ci DEFAULT NULL,
`ATTRIBUTE2` VARCHAR(1000) COLLATE utf8_unicode_ci DEFAULT NULL,
`ATTRIBUTE3` VARCHAR(1000) COLLATE utf8_unicode_ci DEFAULT NULL,
`ATTRIBUTE4` VARCHAR(1000) COLLATE utf8_unicode_ci DEFAULT NULL,
`ATTRIBUTE5` VARCHAR(1000) COLLATE utf8_unicode_ci DEFAULT NULL,
`ATTRIBUTE6` VARCHAR(1000) COLLATE utf8_unicode_ci DEFAULT NULL,
`ATTRIBUTE7` VARCHAR(1000) COLLATE utf8_unicode_ci DEFAULT NULL,
`ATTRIBUTE8` VARCHAR(1000) COLLATE utf8_unicode_ci DEFAULT NULL,
`ATTRIBUTE9` VARCHAR(1000) COLLATE utf8_unicode_ci DEFAULT NULL,
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- app 流程页签配置表
DROP TABLE if EXISTS PRD_NODEINFO_MIDDLE_APP;
CREATE TABLE `PRD_NODEINFO_MIDDLE_APP` (
`APP_NODE_LIBRARY_ID` VARCHAR(100) COLLATE utf8_unicode_ci NOT NULL,
`APP_NODE_CATALOG_ID` VARCHAR(100) COLLATE utf8_unicode_ci DEFAULT NULL,
`APP_DISPLAY` VARCHAR(100) COLLATE utf8_unicode_ci DEFAULT NULL,
`CONFIG_TYPE` VARCHAR(100) COLLATE utf8_unicode_ci DEFAULT NULL,
`ENABLE_QUERY` VARCHAR(1) COLLATE utf8_unicode_ci DEFAULT 'N',
`ENABLE_SAVE` VARCHAR(1) COLLATE utf8_unicode_ci DEFAULT 'N',
`ENABLE_DELETE` VARCHAR(1) COLLATE utf8_unicode_ci DEFAULT 'N',
`SORTNO` BIGINT COLLATE utf8_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- APP 访问令牌有效期表
DROP TABLE if EXISTS TOKEN_SESSION;
CREATE TABLE `TOKEN_SESSION` (
`TOKEN` VARCHAR(255) COLLATE utf8_unicode_ci NOT NULL,
`USER_ID` VARCHAR(32) COLLATE utf8_unicode_ci DEFAULT NULL,
`DEV_ID` VARCHAR(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`DEV_OS` VARCHAR(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`CREATED` VARCHAR(40) COLLATE utf8_unicode_ci DEFAULT 'N',
`EXPIRE_IN` VARCHAR(40) COLLATE utf8_unicode_ci DEFAULT 'N'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- APP版本配置表
DROP TABLE if EXISTS APP_VERSION;
CREATE TABLE `APP_VERSION` (
`ID` VARCHAR(96) COLLATE utf8_unicode_ci NOT NULL,
`VERSION_DESC` VARCHAR(765) COLLATE utf8_unicode_ci DEFAULT NULL,
`UP_DATE` VARCHAR(60) COLLATE utf8_unicode_ci DEFAULT NULL,
`IMAGE_PATH` VARCHAR(1536) COLLATE utf8_unicode_ci DEFAULT NULL,
`IS_NEW` VARCHAR(30) COLLATE utf8_unicode_ci DEFAULT 'Y',
`PHONE_TYPE` VARCHAR(30) COLLATE utf8_unicode_ci DEFAULT NULL,
`CREATE_DATE` VARCHAR(60) COLLATE utf8_unicode_ci DEFAULT NULL,
`MODIFY_DATE` VARCHAR(60) COLLATE utf8_unicode_ci DEFAULT NULL,
`BASE_FILE_ID` VARCHAR(96) COLLATE utf8_unicode_ci DEFAULT NULL,
`CREATOR` VARCHAR(96) COLLATE utf8_unicode_ci DEFAULT NULL,
`MODIFICATOR` VARCHAR(96) COLLATE utf8_unicode_ci DEFAULT NULL,
`VERSION_CODE` VARCHAR(765) COLLATE utf8_unicode_ci DEFAULT NULL,
`VERSION_NAME` VARCHAR(765) COLLATE utf8_unicode_ci DEFAULT NULL,
`MUST_UPDATE` VARCHAR(30) COLLATE utf8_unicode_ci DEFAULT 'N',
`FILE_NAME` VARCHAR(765) COLLATE utf8_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
DROP TABLE IF EXISTS APP_BUSINESS_START;
CREATE TABLE `APP_BUSINESS_START` (
`CARATTRIBUTES` VARCHAR(1000) COLLATE UTF8_UNICODE_CI NOT NULL,
`LEASEHOLD` VARCHAR(1000) COLLATE UTF8_UNICODE_CI DEFAULT NULL,
`PRODUCTMODEL` VARCHAR(1000) COLLATE UTF8_UNICODE_CI DEFAULT NULL,
`CARSERIES` VARCHAR(1000) COLLATE UTF8_UNICODE_CI DEFAULT NULL,
`CARSYSTEM` VARCHAR(1000) COLLATE UTF8_UNICODE_CI DEFAULT NULL,
`PRODUCTID` VARCHAR(1000) COLLATE UTF8_UNICODE_CI DEFAULT NULL,
`PRODUCTNAME` VARCHAR(1000) COLLATE UTF8_UNICODE_CI DEFAULT NULL,
`CUSTOMERID` VARCHAR(1000) COLLATE UTF8_UNICODE_CI DEFAULT NULL,
`CUSTOMERNAME` VARCHAR(1000) COLLATE UTF8_UNICODE_CI DEFAULT NULL,
`CUSTOMER_TYPE` VARCHAR(1000) COLLATE UTF8_UNICODE_CI DEFAULT NULL,
`CERTTYPE` VARCHAR(1000) COLLATE UTF8_UNICODE_CI DEFAULT NULL,
`CERTID` VARCHAR(1000) COLLATE UTF8_UNICODE_CI DEFAULT NULL
) ENGINE=INNODB DEFAULT CHARSET=UTF8 COLLATE=UTF8_UNICODE_CI;
-- user_info ALTER ADD/DROP column
ALTER TABLE USER_INFO ADD DEV_ID VARCHAR(100) not Null;
ALTER TABLE USER_INFO ADD DEV_OS VARCHAR(40) not Null;
ALTER TABLE USER_INFO ADD DEV_REG_ID VARCHAR(100) not Null;
ALTER TABLE USER_INFO ADD ENABLE_GESTURE VARCHAR(1) not Null;
ALTER TABLE USER_INFO ADD GESTURE_PASSWORD VARCHAR(100) not Null;
-- PRD_NODEINFO_LIBRARY_APP ALTER ADD/DROP column
ALTER TABLE PRD_NODEINFO_LIBRARY_APP DROP sortno;
ALTER TABLE PRD_NODEINFO_LIBRARY_APP ADD (REBUILD_JBO_CLASS VARCHAR(1000) DEFAULT NULL);
ALTER TABLE PRD_NODEINFO_LIBRARY_APP ADD (FATHER_ID VARCHAR(100) DEFAULT NULL);
ALTER TABLE PRD_NODEINFO_LIBRARY_APP ADD (DISPLAY_MANAGE_CLASS VARCHAR(1000) DEFAULT NULL);
ALTER TABLE PRD_NODEINFO_LIBRARY_APP ADD (SAVE_MANAGE_CLASS VARCHAR(1000) DEFAULT NULL);
ALTER TABLE PRD_NODEINFO_LIBRARY_APP ADD (DELETE_MANAGE_CLASS VARCHAR(1000) DEFAULT NULL);
ALTER TABLE PRD_NODEINFO_LIBRARY_APP ADD (ENABLE_CONDITION VARCHAR(1) DEFAULT 'N');
ALTER TABLE PRD_NODEINFO_LIBRARY_APP ADD (OPEN_CONDITION VARCHAR(1000) DEFAULT NULL);
-- PRD_NODEINFO_MIDDLE_APP ALTER ADD/DROP column
ALTER TABLE PRD_NODEINFO_MIDDLE_APP DROP CONFIG_TYPE;
ALTER TABLE PRD_NODEINFO_MIDDLE_APP ADD (ISINUSE VARCHAR(1) DEFAULT 1);
ALTER TABLE PRD_NODEINFO_MIDDLE_APP ADD (DOWNLOAD_PARAM VARCHAR(2000) DEFAULT NULL);
ALTER TABLE PRD_NODEINFO_MIDDLE_APP ADD (ENABLE_DOWNLOAD VARCHAR(1) DEFAULT 'N');
ALTER TABLE PRD_NODEINFO_LIBRARY_APP ADD (REBUILD_JBO_CLASS VARCHAR(1000) DEFAULT NULL);
ALTER TABLE PRD_NODEINFO_LIBRARY_APP ADD (FATHER_ID VARCHAR(100) DEFAULT NULL);
ALTER TABLE PRD_NODEINFO_LIBRARY_APP ADD (DISPLAY_MANAGE_CLASS VARCHAR(1000) DEFAULT NULL);
ALTER TABLE PRD_NODEINFO_LIBRARY_APP ADD (SAVE_MANAGE_CLASS VARCHAR(1000) DEFAULT NULL);
ALTER TABLE PRD_NODEINFO_LIBRARY_APP ADD (DELETE_MANAGE_CLASS VARCHAR(1000) DEFAULT NULL);
ALTER TABLE PRD_NODEINFO_LIBRARY_APP ADD (ENABLE_CONDITION VARCHAR(1) DEFAULT 'N');
ALTER TABLE PRD_NODEINFO_LIBRARY_APP ADD (OPEN_CONDITION VARCHAR(1000) DEFAULT NULL);

View File

@ -1,100 +1,142 @@
package com.amarsoft.app.awe.config;
public class CollectProperties{
/*
* 代扣及鉴权关键参数
*/
private String c_env;
private String c_version;
private String c_appkey;
private String c_privateKey;
private String c_bizCat;
private String c_bizSys;
private String c_bizType;
private String c_subBusinessCode;
private String c_businessCode;
private String c_chanAcctId;
private String c_authType;
/**
* 云片apikey
*/
private String msg_apikey;
public String getC_env() {
return c_env;
}
public void setC_env(String c_env) {
this.c_env = c_env;
}
public String getC_version() {
return c_version;
}
public void setC_version(String c_version) {
this.c_version = c_version;
}
public String getC_appkey() {
return c_appkey;
}
public void setC_appkey(String c_appkey) {
this.c_appkey = c_appkey;
}
public String getC_privateKey() {
return c_privateKey;
}
public void setC_privateKey(String c_privateKey) {
this.c_privateKey = c_privateKey;
}
public String getC_bizCat() {
return c_bizCat;
}
public void setC_bizCat(String c_bizCat) {
this.c_bizCat = c_bizCat;
}
public String getC_bizSys() {
return c_bizSys;
}
public void setC_bizSys(String c_bizSys) {
this.c_bizSys = c_bizSys;
}
public String getC_bizType() {
return c_bizType;
}
public void setC_bizType(String c_bizType) {
this.c_bizType = c_bizType;
}
public String getC_subBusinessCode() {
return c_subBusinessCode;
}
public void setC_subBusinessCode(String c_subBusinessCode) {
this.c_subBusinessCode = c_subBusinessCode;
}
public String getC_businessCode() {
return c_businessCode;
}
public void setC_businessCode(String c_businessCode) {
this.c_businessCode = c_businessCode;
}
public String getC_chanAcctId() {
return c_chanAcctId;
}
public void setC_chanAcctId(String c_chanAcctId) {
this.c_chanAcctId = c_chanAcctId;
}
public String getC_authType() {
return c_authType;
}
public void setC_authType(String c_authType) {
this.c_authType = c_authType;
}
public String getMsg_apikey() {
return msg_apikey;
}
public void setMsg_apikey(String msg_apikey) {
this.msg_apikey = msg_apikey;
}
}
package com.amarsoft.app.awe.config;
public class CollectProperties{
private String c_serverUrl;
private String b_serverUrl;
private String merchantId;
private String flag;
private String userName;
private String userPass;
private String businessCode;
private String c_dataType;
private String c_level;
private String c_trxCode;
private String c_version;
private String b_trxCode;
private String b_version;
private String b_dataType;
private String b_level;
private String publicKeyUrl;
private String privateKeyUrl;
private String clearRequestUrl;
private String batch_trxCode;//ÅúÁ¿½»Ò×´úÂë
public String getBatch_trxCode() {
return batch_trxCode;
}
public void setBatch_trxCode(String batch_trxCode) {
this.batch_trxCode = batch_trxCode;
}
public String getPublicKeyUrl() {
return publicKeyUrl;
}
public void setPublicKeyUrl(String publicKeyUrl) {
this.publicKeyUrl = publicKeyUrl;
}
public String getPrivateKeyUrl() {
return privateKeyUrl;
}
public void setPrivateKeyUrl(String privateKeyUrl) {
this.privateKeyUrl = privateKeyUrl;
}
public String getClearRequestUrl() {
return clearRequestUrl;
}
public void setClearRequestUrl(String clearRequestUrl) {
this.clearRequestUrl = clearRequestUrl;
}
public String getC_serverUrl() {
return c_serverUrl;
}
public void setC_serverUrl(String c_serverUrl) {
this.c_serverUrl = c_serverUrl;
}
public String getB_serverUrl() {
return b_serverUrl;
}
public void setB_serverUrl(String b_serverUrl) {
this.b_serverUrl = b_serverUrl;
}
public String getMerchantId() {
return merchantId;
}
public void setMerchantId(String merchantId) {
this.merchantId = merchantId;
}
public String getFlag() {
return flag;
}
public void setFlag(String flag) {
this.flag = flag;
}
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public String getUserPass() {
return userPass;
}
public void setUserPass(String userPass) {
this.userPass = userPass;
}
public String getBusinessCode() {
return businessCode;
}
public void setBusinessCode(String businessCode) {
this.businessCode = businessCode;
}
public String getC_dataType() {
return c_dataType;
}
public void setC_dataType(String c_dataType) {
this.c_dataType = c_dataType;
}
public String getC_level() {
return c_level;
}
public void setC_level(String c_level) {
this.c_level = c_level;
}
public String getC_trxCode() {
return c_trxCode;
}
public void setC_trxCode(String c_trxCode) {
this.c_trxCode = c_trxCode;
}
public String getC_version() {
return c_version;
}
public void setC_version(String c_version) {
this.c_version = c_version;
}
public String getB_trxCode() {
return b_trxCode;
}
public void setB_trxCode(String b_trxCode) {
this.b_trxCode = b_trxCode;
}
public String getB_version() {
return b_version;
}
public void setB_version(String b_version) {
this.b_version = b_version;
}
public String getB_dataType() {
return b_dataType;
}
public void setB_dataType(String b_dataType) {
this.b_dataType = b_dataType;
}
public String getB_level() {
return b_level;
}
public void setB_level(String b_level) {
this.b_level = b_level;
}
}

View File

@ -1,71 +1,62 @@
package com.amarsoft.app.awe.config;
import javax.servlet.http.HttpServlet;
import org.springframework.web.context.ContextLoader;
import org.springframework.web.context.WebApplicationContext;
import com.mchange.v2.c3p0.ComboPooledDataSource;
/**
* 全局增加 接口配置信息
* @author yangdm
*/
public class InitCollectConfig extends HttpServlet{
private static final long serialVersionUID = 1L;
/**
* 环境参数
*/
public static final String C_ENV;
/**
* 服务版本号
*/
public static final String C_VERSION;
/**
* 代扣及鉴权appkey
*/
public static final String C_APPKEY;
/**
* 代扣及鉴权的私钥
*/
public static final String C_PRIVATEKEY;
/**
* 业务大类
*/
public static final String C_BIZCAT;
/**
* 交易业务系统
*/
public static final String C_BIZSYS;
/**
* 消费类型
* 1-消费
* 8-申购
* 30-追偿
*/
public static final String C_BIZTYPE;
public static final String C_SUBBUSINESSCODE;
public static final String C_BUSINESSCODE;
public static final String C_CHANACCTID;
public static final String C_AUTHTYPE;
public static final String MSG_APIKEY;
static{
WebApplicationContext wac = ContextLoader.getCurrentWebApplicationContext();
CollectProperties collectproperties = wac.getBean("collectConfig", CollectProperties.class);
C_ENV = collectproperties.getC_env();
C_VERSION = collectproperties.getC_version();
C_APPKEY = collectproperties.getC_appkey();
C_PRIVATEKEY = collectproperties.getC_privateKey();
C_BIZCAT = collectproperties.getC_bizCat();
C_BIZSYS = collectproperties.getC_bizSys();
C_BIZTYPE = collectproperties.getC_bizType();
C_SUBBUSINESSCODE = collectproperties.getC_subBusinessCode() != null ? collectproperties.getC_subBusinessCode() :"";
C_BUSINESSCODE = collectproperties.getC_businessCode();
C_CHANACCTID = collectproperties.getC_chanAcctId();
C_AUTHTYPE = collectproperties.getC_authType();
MSG_APIKEY = collectproperties.getMsg_apikey();
}
}
package com.amarsoft.app.awe.config;
import javax.servlet.http.HttpServlet;
import org.springframework.web.context.ContextLoader;
import org.springframework.web.context.WebApplicationContext;
import com.mchange.v2.c3p0.ComboPooledDataSource;
/**
* 全局增加 接口配置信息
* @author yangdm
*/
public class InitCollectConfig extends HttpServlet{
private static final long serialVersionUID = 1L;
public static final String C_SERVERURL;
public static final String B_SERVERURL;
public static final String MERCHANTID;
public static final String FLAG;
public static final String USERNAME;
public static final String USERPASS;
public static final String BUSSINESSCODE;
public static final String C_DATATYPE;
public static final String C_LEVEL;
public static final String C_TRXCODE;
public static final String C_VERSION;
/**
* 批量交易代码其他参数同实时
*/
public static final String BATCH_TRXCODE;
public static final String B_TRXCODE;
public static final String B_VERSION;
public static final String B_DATATYPE;
public static final String B_LEVEL;
public static final String PUBLICKEYURL;
public static final String PRIVATEKEYURL;
public static final String CLEARREQUESTURL;
static{
WebApplicationContext wac = ContextLoader.getCurrentWebApplicationContext();
CollectProperties collectproperties = wac.getBean("collectConfig", CollectProperties.class);
C_SERVERURL = collectproperties.getC_serverUrl();
B_SERVERURL = collectproperties.getB_serverUrl();
MERCHANTID = collectproperties.getMerchantId();
FLAG = collectproperties.getFlag();
USERNAME = collectproperties.getUserName();
USERPASS = collectproperties.getUserPass();
BUSSINESSCODE = collectproperties.getBusinessCode();
C_DATATYPE = collectproperties.getC_dataType();
C_LEVEL = collectproperties.getC_level();
C_TRXCODE = collectproperties.getC_trxCode();
C_VERSION = collectproperties.getC_version();
BATCH_TRXCODE = collectproperties.getBatch_trxCode();
B_TRXCODE = collectproperties.getB_trxCode();
B_VERSION = collectproperties.getB_version();
B_DATATYPE = collectproperties.getB_dataType();
B_LEVEL = collectproperties.getB_level();
PUBLICKEYURL=collectproperties.getPublicKeyUrl();
PRIVATEKEYURL=collectproperties.getPrivateKeyUrl();
CLEARREQUESTURL=collectproperties.getClearRequestUrl();
}
}

View File

@ -21,8 +21,6 @@ import jbo.sys.FLOW_TASK_USER_HIS;
import org.apache.commons.lang.StringUtils;
import apx.com.amarsoft.als.base.util.DateUtil;
import com.amarsoft.app.lc.util.DateAssistant;
import com.amarsoft.are.ARE;
import com.amarsoft.are.jbo.BizObject;
@ -46,6 +44,8 @@ import com.amarsoft.biz.workflow.FlowTask;
import com.amarsoft.biz.workflow.TaskDataObject;
import com.amarsoft.context.ASUser;
import com.amarsoft.dict.als.manage.NameManager;
//import com.base.util.DateUtil;
import com.tenwa.reckon.util.DateUtil;
import com.tenwa.app.manage.constant.PushMessageConstant;
import com.tenwa.app.manage.util.PushMessageUtil;
import com.tenwa.comm.util.jboutil.DataOperatorUtil;

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,104 @@
package com.tenwa.channelportal.action.generativecontract;
import java.io.File;
import java.io.FileOutputStream;
import java.io.InputStream;
import jbo.app.tenwa.doc.LB_DOCATTRIBUTE;
import jbo.app.tenwa.doc.LB_DOC_CONTRACT_LIST;
import org.apache.log4j.Logger;
import com.amarsoft.are.jbo.BizObject;
import com.amarsoft.are.jbo.BizObjectManager;
import com.amarsoft.are.jbo.JBOException;
import com.amarsoft.are.jbo.JBOFactory;
import com.amarsoft.are.jbo.JBOTransaction;
import com.aspose.words.Document;
import com.aspose.words.License;
import com.aspose.words.SaveFormat;
public class Word2PdfUtil {
private static Logger logger = Logger.getLogger(Word2PdfUtil.class);
public static void main(String[] args) throws Exception {
// doc2pdf("D:/光大金融租赁公司融资租赁合同(201801-200385).docx", "D:/光大融资租赁公司抵押合同(201801-200385-D001).pdf","aa");
}
public static boolean getLicense() {
boolean result = false;
try {
InputStream is = Thread.currentThread().getContextClassLoader().getResourceAsStream("license.xml");
License aposeLic = new License();
aposeLic.setLicense(is);
result = true;
} catch (Exception e) {
e.printStackTrace();
}
return result;
}
public static void doc2pdf(String inPath,String outPath,String attrid) throws JBOException {
if (!getLicense()) { // 验证License 若不验证则转化出的pdf文档会有水印产生
return;
}
Boolean flag=false;
try {
File inputFile = new File(inPath);
if (!inputFile.exists()) {
throw new RuntimeException("要读取的文件不存在");
}
long old = System.currentTimeMillis();
logger.info("============转换pdf开始============");
File file = new File(outPath); // 新建一个空白pdf文档
FileOutputStream os = new FileOutputStream(file);
Document doc = new Document(inPath); // Address是将要被转化的word文档
doc.save(os, SaveFormat.PDF);// 全面支持DOC, DOCX, OOXML, RTF HTML, OpenDocument, PDF,
// EPUB, XPS, SWF 相互转换
long now = System.currentTimeMillis();
logger.info("共耗时:" + (now - old) + "毫秒");
logger.info("============转换pdf结束============");
} catch (Exception e) {
e.printStackTrace();
flag=true;
}finally{
JBOTransaction tx = JBOFactory.createJBOTransaction();
BizObjectManager contBom = JBOFactory.getBizObjectManager(LB_DOC_CONTRACT_LIST.CLASS_NAME,tx);
BizObjectManager attrBom = JBOFactory.getBizObjectManager(LB_DOCATTRIBUTE.CLASS_NAME,tx);
if(flag){
File file =new File(inPath);
BizObject contBo = contBom.createQuery("attribute_id='"+attrid+"'").getSingleResult(true);
contBo.setAttributeValue("FULLPATH",inPath);
contBo.setAttributeValue("FILENAME",contBo.getAttribute("FILENAME").toString().replace(".pdf",".docx" ));
contBo.setAttributeValue("FILEPATH",contBo.getAttribute("FILEPATH").toString().replace(".pdf", ".docx"));
contBo.setAttributeValue("CONTENT_TYPE","application/vnd.openxmlformats-officedocument.wordprocessingml.document");
contBo.setAttributeValue("PROCESS","3");
contBom.saveObject(contBo);
BizObject attrBo = attrBom.createQuery("id='"+attrid+"'").getSingleResult(true);
attrBo.setAttributeValue("FULLPATH",inPath);
attrBo.setAttributeValue("FILENAME",contBo.getAttribute("FILENAME").toString().replace(".pdf", ".docx"));
attrBo.setAttributeValue("FILEPATH",contBo.getAttribute("FILEPATH").toString().replace(".pdf", ".docx"));
attrBo.setAttributeValue("FileSize",file.length());
attrBo.setAttributeValue("CONTENT_TYPE","application/vnd.openxmlformats-officedocument.wordprocessingml.document");
attrBom.saveObject(attrBo);
tx.commit();
}else{
BizObject contBo = contBom.createQuery("attribute_id='"+attrid+"'").getSingleResult(true);
File file =new File(outPath);
contBo.setAttributeValue("FULLPATH",outPath);
contBo.setAttributeValue("FILENAME",contBo.getAttribute("FILENAME").toString().replace(".docx",".pdf" ));
contBo.setAttributeValue("FILEPATH",contBo.getAttribute("FILEPATH").toString().replace(".docx", ".pdf"));
contBo.setAttributeValue("CONTENT_TYPE","application/pdf");
contBo.setAttributeValue("PROCESS","2");
contBom.saveObject(contBo);
BizObject attrBo = attrBom.createQuery("id='"+attrid+"'").getSingleResult(true);
attrBo.setAttributeValue("FULLPATH",outPath);
attrBo.setAttributeValue("FILENAME",contBo.getAttribute("FILENAME").toString().replace(".docx", ".pdf"));
attrBo.setAttributeValue("FILEPATH",contBo.getAttribute("FILEPATH").toString().replace(".docx", ".pdf"));
attrBo.setAttributeValue("FileSize",file.length());
attrBo.setAttributeValue("CONTENT_TYPE","application/pdf");
attrBom.saveObject(attrBo);
tx.commit();
}
}
}
}

View File

@ -0,0 +1,54 @@
package com.tenwa.channelportal.action.generativecontract;
import java.io.BufferedReader;
import java.io.File;
import java.io.InputStreamReader;
import org.apache.log4j.Logger;
public class WordToPDFUtil {
private static Logger logger = Logger.getLogger(WordToPDFUtil.class);
// 将word格式的文件转换为pdf格式
public synchronized static Boolean Word2Pdf(String srcPath, String desPath) throws Exception {
// 源文件目录
File inputFile = new File(srcPath);
if (!inputFile.exists()) {
System.out.println("word转换pdf源文件不存在");
return false;
}
// 输出文件目录
File outputFile = new File(desPath);
if (!outputFile.getParentFile().exists()) {
outputFile.getParentFile().mkdirs();
}
Process process = null;
//获取当前时间的毫秒数
long start= System.currentTimeMillis();
logger.info("============转换pdf开始============");
try{
String cmd = "D:\\office\\program\\soffice --headless -invisible --convert-to pdf "+srcPath+" --outdir "+desPath;
logger.info("python:"+cmd);
process = Runtime.getRuntime().exec(cmd);
String cmdMsg = "";
BufferedReader bufferedReader = new BufferedReader( new InputStreamReader(process.getInputStream()));
while((cmdMsg=bufferedReader.readLine()) !=null){
logger.info(cmdMsg);
}
process.waitFor();
}catch(Exception e){
e.printStackTrace();
return false;
}finally{
if(null!=process){
process.destroy();
}
long end = System.currentTimeMillis();
//输出转换pdf所需毫秒数
logger.info(end-start+"毫秒");
logger.info("============转换pdf结束============");
}
return true;
}
public static void main(String[] args) throws Exception {
WordToPDFUtil.Word2Pdf("d:\\1、光大金融租赁公司融资租赁合同法人—保证保险模式.doc", "d:\\woqu");
}
}

View File

@ -1,46 +0,0 @@
package apx.com.amarsoft.aims.als.flow.model;
import java.io.Serializable;
/**
* ʹÓôúÂëÖµµÄÊôÐÔÓò
* @author cytsir
*
*/
public class CodeField implements Serializable{
private static final long serialVersionUID = -3149264268547511046L;
private String value;
private String name;
private String code;
public CodeField(){
}
public CodeField(String value, String name, String code) {
this.value = value;
this.name = name;
this.code = code;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
}

View File

@ -1,13 +0,0 @@
package apx.com.amarsoft.aims.als.flow.model;
/**
* 指示流程方向的枚举类
* @author cytsir
*
*/
public enum FlowDirection {
/** 意见方向:往前(下一步) */
Forward,
/** 意见方向:往后(退回相关的操作) */
Backward
}

View File

@ -1,50 +0,0 @@
package apx.com.amarsoft.aims.als.flow.model;
import java.io.Serializable;
public class SubmitActionInfoDescribe implements Serializable{
private static final long serialVersionUID = 3314996188573575668L;
private String actionId; //此数据项的ID标识
private String actionText; //动作文本信息
public String getActionId() {
return actionId;
}
public void setActionId(String actionId) {
this.actionId = actionId;
}
public String getActionText() {
return actionText;
}
public void setActionText(String actionText) {
this.actionText = actionText;
}
/**
* 根据其ID和内容判断数据是否相等
* @param obj
* @return
*/
public boolean dataEquals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
SubmitActionInfoDescribe other = (SubmitActionInfoDescribe) obj;
if (actionText == null) {
if (other.actionText != null)
return false;
} else if (!actionText.equals(other.actionText))
return false;
if (actionId == null) {
if (other.actionId != null)
return false;
} else if (!actionId.equals(other.actionId))
return false;
return true;
}
}

View File

@ -1,82 +0,0 @@
package apx.com.amarsoft.aims.als.flow.model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/**
* 流程提交信息描述
* @author cytsir
*
*/
public class SubmitInfoDescribe implements Serializable{
private static final long serialVersionUID = 7140742685924221388L;
private String opinionId;
private String opinionText;
private String nextPhaseText; //下一阶段文本信息
private List<SubmitActionInfoDescribe> actionList;
public SubmitInfoDescribe(){
this.actionList = new ArrayList<SubmitActionInfoDescribe>();
}
public String getOpinionId() {
return opinionId;
}
public void setOpinionId(String opinionId) {
this.opinionId = opinionId;
}
public String getOpinionText() {
return opinionText;
}
public void setOpinionText(String opinionText) {
this.opinionText = opinionText;
}
public List<SubmitActionInfoDescribe> getActionList() {
return actionList;
}
public void setActionList(List<SubmitActionInfoDescribe> actionList) {
this.actionList = actionList;
}
public String getNextPhaseText() {
return nextPhaseText;
}
public void setNextPhaseText(String nextPhaseText) {
this.nextPhaseText = nextPhaseText;
}
/**
* 根据其ID和内容判断数据是否相等
* @param obj
* @return
*/
public boolean dataEquals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
SubmitInfoDescribe other = (SubmitInfoDescribe) obj;
if (opinionId == null) {
if (other.opinionId != null)
return false;
} else if (!opinionId.equals(other.opinionId))
return false;
if (opinionText == null) {
if (other.opinionText != null)
return false;
} else if (!opinionText.equals(other.opinionText))
return false;
return true;
}
}

View File

@ -1,39 +0,0 @@
package apx.com.amarsoft.aims.als.flow.model.opinion;
import apx.com.amarsoft.aims.als.flow.model.CodeField;
/**
* 投前初始提交时被退回后再次提交意见信息
* @author cytsir
*
*/
public class AnyBackAtStartOpinion extends Opinion{
private static final long serialVersionUID = 5821608132725247504L;
private CodeField choice;
private String specialContent;
public AnyBackAtStartOpinion() {
super("AnyBackAtStart");
}
public CodeField getChoice() {
return choice;
}
public void setChoice(CodeField choice) {
this.choice = choice;
}
public String getSpecialContent() {
return specialContent;
}
public void setSpecialContent(String specialContent) {
this.specialContent = specialContent;
}
}

View File

@ -1,91 +0,0 @@
package apx.com.amarsoft.aims.als.flow.model.opinion;
import apx.com.amarsoft.aims.als.flow.model.CodeField;
import apx.com.amarsoft.aims.als.flow.model.FlowDirection;
/**
* 回退类的意见
* @author cytsir
*
*/
public class BackOpinion extends Opinion{
private static final long serialVersionUID = -6324729041817254073L;
private CodeField backChoice;
private String backToUser;
private String backToUserName;
private CodeField reSubmitWay;
public BackOpinion() {
super("Back");
this.flowDirection = FlowDirection.Backward;
}
/**
* 回退意见选择
* @return
*/
public CodeField getBackChoice() {
return backChoice;
}
/**
* 回退意见选择
* @param backChoice
*/
public void setBackChoice(CodeField backChoice) {
this.backChoice = backChoice;
}
/**
* 回退目标用户ID当指定用户回退时使用
* @return
*/
public String getBackToUser() {
return backToUser;
}
/**
* 回退目标用户ID当指定用户回退时使用
* @param backUser
*/
public void setBackToUser(String backToUser) {
this.backToUser = backToUser;
}
/**
* 回退目标用户名称当指定用户回退时使用
* @return
*/
public String getBackToUserName() {
return backToUserName;
}
/**
* 回退目标用户名称当指定用户回退时使用
* @param backUserName
*/
public void setBackToUserName(String backToUserName) {
this.backToUserName = backToUserName;
}
/**
* 重新提交方式
* @return
*/
public CodeField getReSubmitWay() {
return reSubmitWay;
}
/**
* 重新提交方式
* @param reSubmitWay
*/
public void setReSubmitWay(CodeField reSubmitWay) {
this.reSubmitWay = reSubmitWay;
}
}

View File

@ -1,154 +0,0 @@
package apx.com.amarsoft.aims.als.flow.model.opinion;
import java.io.Serializable;
import java.util.LinkedHashMap;
import java.util.Map;
import apx.com.amarsoft.aims.als.flow.model.FlowDirection;
/**
* 基础意见类是所有流程意见类的基础类
* @author cytsir
*
*/
public abstract class Opinion implements Serializable{
private static final long serialVersionUID = -4189229135995879095L;
protected String opinionNo; //意见编号
protected String opinionType; //意见类型标识标识普通意见还是回退意见还是其他类型的意见
protected FlowDirection flowDirection; //意见方向
protected String content; //意见内容
protected String signOrg; //审批人所属部门
protected String signer; //意见签署人编号
protected String signerName; //意见签署人名称
protected String signOrgName; //审批人所属部门名称
protected String signTime; //意见签署时间
private Map<String,Map<String,String>> codemap = new LinkedHashMap<String,Map<String,String>>();
/**
*
* @param opinionType 标识普通意见还是回退意见还是其他类型的意见
*/
public Opinion(String opinionType){
this.opinionType = opinionType;
flowDirection = FlowDirection.Forward;
}
public String getSignOrg() {
return signOrg;
}
public void setSignOrg(String signOrg) {
this.signOrg = signOrg;
}
public String getSignOrgName() {
return signOrgName;
}
public void setSignOrgName(String signOrgName) {
this.signOrgName = signOrgName;
}
public String getOpinionNo() {
return opinionNo;
}
public void setOpinionNo(String opinionNo) {
this.opinionNo = opinionNo;
}
/**
* 获取意见方向
* @return
*/
public FlowDirection getFlowDirection() {
return flowDirection;
}
/**
* 设置意见方向
* @param direction
*/
public void setFlowDirection(FlowDirection flowDirection) {
this.flowDirection = flowDirection;
}
/**
* 获取意见签署人编号
* @return
*/
public String getSigner() {
return signer;
}
/**
* 设置意见签署人编号
* @param signer
*/
public void setSigner(String signer) {
this.signer = signer;
}
/**
* 获取意见签署人名称
* @return
*/
public String getSignerName() {
return signerName;
}
/**
* 设置意见签署人名称
* @param signerName
*/
public void setSignerName(String signerName) {
this.signerName = signerName;
}
/**
* 获取意见内容
* @return
*/
public String getContent() {
return content;
}
/**
* 设置意见内容
* @param content
*/
public void setContent(String content) {
this.content = content;
}
/**
* 标识普通意见还是回退意见还是其他类型的意见
* @return
*/
public String getOpinionType(){
return this.opinionType;
}
/**
* 意见签署时间
* @return
*/
public String getSignTime() {
return signTime;
}
/**
* 意见签署时间
* @param signTime
*/
public void setSignTime(String signTime) {
this.signTime = signTime;
}
public Map<String, Map<String, String>> getCodemap() {
return codemap;
}
public void setCodemap(Map<String, Map<String, String>> codemap) {
this.codemap = codemap;
}
}

View File

@ -1,40 +0,0 @@
package apx.com.amarsoft.aims.als.flow.model.opinion;
//package com.amarsoft.apx.web.als.flow.model.opinion;
//
//import java.util.ArrayList;
//import java.util.LinkedHashMap;
//import java.util.List;
//import java.util.Map;
//
///**
// * Òâ¼ûÁбí
// * @author cytsir
// *
// */
//public class OpinionList {
//
// private List<Opinion> opinions;
// private Map<String,Map<String,String>> codemap;
//
// public OpinionList(){
// this.opinions = new ArrayList<Opinion>();
// this.codemap = new LinkedHashMap<String,Map<String,String>>();
// }
//
// public List<Opinion> getOpinions() {
// return opinions;
// }
//
// public void setOpinions(List<Opinion> opinions) {
// this.opinions = opinions;
// }
//
// public Map<String, Map<String, String>> getCodemap() {
// return codemap;
// }
//
// public void setCodemap(Map<String, Map<String, String>> codemap) {
// this.codemap = codemap;
// }
//
//}

View File

@ -1,29 +0,0 @@
package apx.com.amarsoft.aims.als.flow.model.opinion;
import apx.com.amarsoft.aims.als.flow.model.CodeField;
/**
* 简单意见一般包含意见选项和内容
* @author cytsir
*
*/
public class SimpleOpinion extends Opinion{
private static final long serialVersionUID = -3756513376484286130L;
private CodeField choice;
public SimpleOpinion() {
super("Simple");
}
public CodeField getChoice() {
return choice;
}
public void setChoice(CodeField choice) {
this.choice = choice;
}
}

View File

@ -1,407 +0,0 @@
package apx.com.amarsoft.aims.constants;
/**
* 维护通用常量
* @author yangsong
* @since 2014/06/21
*/
public class CommonConst {
public static final String JBO_USER_INFO = "jbo.sys.USER_INFO";
public static final String JBO_USER_ROLE = "jbo.sys.USER_ROLE";
/**
* 客户数据来源
*/
public static final String CUSTOMER_SOURCE = "01";
/**
* 返回状态为成功
*/
public static final String STATUS_SUCCESS = "SUCCESS";
/**
* 返回状态为失败
*/
public static final String STATUS_FAIL = "FAIL";
/**
* 返回状态为真
*/
public static final String STATUS_TRUE = "TRUE";
/**
* 返回状态为假
*/
public static final String STATUS_FALSE = "FALSE";
/**
* 状态为初始化
*/
public static final String STATUS_INIT = "INIT";
/**
* 状态为有效
*/
public static final String STATUS_VALID = "VALID";
/**
* 状态为失效
*/
public static final String STATUS_INVALID = "INVALID";
/**
* 保存标志 SaveFlag
* SAVETEMP 暂存
* SAVE 保存
*/
public static final String FLAG_SAVETEMP = "SAVETEMP";
public static final String FLAG_SAVE = "SAVE";
/**
* 权限控制标志 RightType
* All 读写
* ReadOnly 只读
*/
public static final String RightType_All = "All";
public static final String RightType_ReadOnly = "ReadOnly";
public static final String RIGHTTYPE_VIEWALL = "001";
public static final String RIGHTTYPE_VIEWREADONLY = "002";
/**
* 是否标志
* CodeYesNo
*/
public static final String YESNO_YES = "1";
/**
* 是否标志
* CodeYesNo
*/
public static final String YESNO_NO = "2";
/**
* 是否标志
* CodeYesNo
*/
public static final String YESORNO_YES = "YES";
/**
* 是否标志
* CodeYesNo
*/
public static final String YESORNO_NO = "NO";
/**
* 角色直投业务经理
*/
public static final String ROLE_2010 = "2010";
/**
* 角色产品负责人3
*/
public static final String ROLE_2470 = "2470";
/**
* 角色直投团队长
*/
public static final String ROLE_2020 = "2020";
/**
* 角色直投部门长
*/
public static final String ROLE_2030 = "2030";
/**
* 角色销售负责人
*/
public static final String ROLE_2070 = "2070";
/**
* 角色销售团队成员
*/
public static final String ROLE_2050 = "2050";
/**
* 角色押品审核岗
*/
public static final String ROLE_2720 = "2720";
/**
* 角色押品维护岗
*/
public static final String ROLE_2710 = "2710";//已停用
/**
* 角色系统数据岗
*/
public static final String ROLE_SYSDATA = "000";
/**
* 角色数据管理专岗
*/
public static final String ROLE_2810 = "2810";
/**
* 角色总部系统维护员
*/
public static final String ROLE_SYSTEM = "099";
/**
* 角色业务系统管理员
*/
public static final String ROLE_098 = "098";
/**
* 角色法律合规岗
*/
public static final String ROLE_2520 = "2520";
/**
* 合规监督岗
*/
public static final String ROLE_2525 = "2525";
/**
* 角色投前风险经理
*/
public static final String ROLE_2210 = "2210";
/**
* 角色投中风险经理
*/
public static final String ROLE_2220 = "2220";
/**
* 角色投后风险经理
*/
public static final String ROLE_2230 = "2230";
/**
* 角色投后室经理
*/
public static final String ROLE_2240 = "2240";
/**
* 角色投后查看人
*/
public static final String ROLE_2248 = "2248";
/**
* 角色投后业务经理
*/
public static final String ROLE_2245 = "2245";
/**
* 角色风控部门长及其授权人
*/
public static final String ROLE_2250 = "2250";
/**
* 角色信评部门长及其授权人
*/
public static final String ROLE_2310 = "2310";
/**
* 角色信评经理
*/
public static final String ROLE_2320 = "2320";
/**
* 角色法律合规部门长及其授权人
*/
public static final String ROLE_2510 = "2510";
/**
* 角色产委会秘书岗
*/
public static final String ROLE_2450 = "2450";
/**
* 角色秘书成员
*/
public static final String ROLE_2460 = "2460";
/**
* 角色固定收益投资部投资经理
*/
public static final String ROLE_2910 = "2910";
/**
* 角色固定收益投资部部门长
*/
public static final String ROLE_2920 = "2920";
/**
* 角色固定收益资管部投资经理
*/
public static final String ROLE_2912 = "2912";
/**
* 角色固定收益资管部部门长
*/
public static final String ROLE_2922 = "2922";
/**
* 角色投决会秘书岗
*/
public static final String ROLE_2930 = "2930";
/**
* 角色合作机构人员
*/
public static final String ROLE_2950 = "2950";
/**
* 角色公司领导
*/
public static final String ROLE_2990 = "2990";
/**
* 单位
*/
public static final String UNIT_WAN = "";
/**
* 规则库表中规则类型流程任务数据
*/
public static final String RULETYPE_TASK = "TASK";
/**
* 数据来源:AIMS
*/
public static final String DATA_SOURCE_AIMS = "01";
/**
* 数据来源:CDMS
*/
public static final String DATA_SOURCE_CDMS = "02";
/**
* 数据来源:RDM
*/
public static final String DATA_SOURCE_RDM = "03";
/**
* 数据来源:资产产品注册系统
*/
public static final String DATA_SOURCE_TA = "05";
/**
* 对象类型:Customer 客户
*/
public static final String OBJECTTYPE_CUSTOMER = "Customer";
/**
* 对象类型:Project 项目
*/
public static final String OBJECTTYPE_PROJECT = "Project";
/**
* 对象类型:ReApplyPlan 重批
*/
public static final String OBJECTTYPE_REAPPLYPLAN = "ReApplyPlan";
/**
* 对象类型:Plan 产品
*/
public static final String OBJECTTYPE_PLAN = "Plan";
/**
* 对象类型:MidPlan 投中产品放款资料清单
*/
public static final String OBJECTTYPE_MIDPLAN = "MidPlan";
/**
* 对象类型:Guaranty 押品
*/
public static final String OBJECTTYPE_GUARANTY = "Guaranty";
/**
* 对象类型:ModelLibrary 业务模板库
*/
public static final String OBJECTTYPE_MODEL = "ModelLibrary";
/**
* 对象类型:PolicyLibrary 政策法规库
*/
public static final String OBJECTTYPE_POLICY = "PolicyLibrary";
/**
* 对象类型:RiskLibrary 风控模板库
*/
public static final String OBJECTTYPE_RISK = "RiskLibrary";
/**
* 对象类型:RiskLibrary 信评模板库
*/
public static final String OBJECTTYPE_CREDIT = "CreditLibrary";
/**
* 对象类型:RiskLibrary 合规模板库
*/
public static final String OBJECTTYPE_COMPLIANCE = "ComplianceLibrary";
/**
* 对象类型:RiskLibrary 直投模板库
*/
public static final String OBJECTTYPE_DIRECT = "DirectLibrary";
/**
* 对象类型:RaistBatch 批次
*/
public static final String OBJECTTYPE_RAISTBATCH = "RaiseBatch";
/**
* 对象类型:RiskSignal 预警信号
*/
public static final String OBJECTTYPE_RISKSIGNAL = "InitRiskSignal";
/**
* 对象类型:CloseRiskSignal 关闭预警信号
*/
public static final String OBJECTTYPE_CLOSERISKSIGNAL = "CloseRiskSignal";
/**
* 对象类型:DueBill 借据
*/
public static final String OBJECTTYPE_DUEBILL = "DueBill";
/**
* 对象类型:AfterPlanTaskFlow
*/
public static final String OBJECTTYPE_AFTERPLANTASKFLOW = "AfterPlanTaskFlow";
/**
* 对象类型:RegularTask 跟踪管理
*/
public static final String OBJECTTYPE_REGULARTASK = "RegularTask";
/**
* 对象类型:RegularTaskForFile 跟踪管理关联的文档
*/
public static final String OBJECTTYPE_REGULARTASKFORFILE = "RegularTaskForFile";
/**
* 对象类型:RegularTaskOpinion 跟踪管理关联的意见
*/
public static final String OBJECTTYPE_REGULARTASKOPINION = "RegularTaskOpinion";
/**
* 对象类型:EmployRelOrgDoc 机构选聘关联文件
*/
public static final String OBJECTTYPE_EMPLOYRELORGDOC = "EmployRelOrgDoc";
/**
* 对象类型:AfterChangeApply
* 使用位置投后变更
*/
public static final String OBJECTTYPE_AFTERCHANGEAPPLY = "AfterChangeApply";
/**
* 对象类型:AfterFinanApply
* 使用位置投后财务指标调整
*/
public static final String OBJECTTYPE_AFTERFINANAPPLY = "AfterFinanApply";
/**
* 对象类型:TempAuthorize
* 使用位置临时授权
*/
public static final String OBJECTTYPE_TEMPAUTHORIZE = "TempAuthorize";
/**
* 对象类型:TransGraph
* 使用位置交易机构图集合资金信托计划嵌套结构
*/
public static final String OBJECTTYPE_TRANSGRAPH = "TransGraph";
/**
* 数据有效
*/
public static final String STATUS_01 = "01";
/**
* 数据无效
*/
public static final String STATUS_02 = "02";
/**
* 数据有效
*/
public static final String DELETEFLAG_0 = "0";
/**
* 数据无效
*/
public static final String DELETEFLAG_1 = "1";
/**
* 处理方式
*/
public static final String TYPE_PAGE = "PAGE";
public static final String TYPE_RUNMETHOD = "RUNMETHOD";
public static final String TYPE_RATEINFO = "RATEINFO";
/**
* 公式参数连接符参数+连接符+生效日期
*/
public static final String FORMULA_CONNECTOR = "@";
/**
* 客户编号连接参数
*/
public static final String CONNECTOR_CUSTOMER = "@";
/**
* 占用额度主体信息连接参数
*/
public static final String CONNECTOR_LIMIT = "~";
/**
* 外源产品
*/
public static final String ISINNER_0 = "0";
/**
* 内源产品
*/
public static final String ISINNER_1 = "1";
/**
* 第三方合作产品
*/
public static final String ISINNER_2 = "2";
}

View File

@ -1,159 +0,0 @@
package apx.com.amarsoft.aims.planteam.bzsrv;
import java.util.ArrayList;
import java.util.List;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.Context;
import apx.com.amarsoft.aims.als.flow.model.CodeField;
import apx.com.amarsoft.als.base.model.RspObject;
import cn.coyoteam.aweresf.model.User;
import com.amarsoft.aims.util.StringHelper;
import com.amarsoft.are.ARE;
import com.amarsoft.are.jbo.JBOTransaction;
import com.amarsoft.dict.als.manage.CodeManager;
import com.amarsoft.dict.als.object.Item;
/**
* 团队组建相关动作实现接口
* @author oldbiao 2016年1月9日
*
*/
@Path("/PlanTeamAction")
public class PlanTeamAction {
@GET
@Path("/delPlanMemeber")
/**
* 团队成员删除
* @param memberNo
* @param tx
* @return
*/
public RspObject<String> delPlanMemeber(@QueryParam("memberNo") String memberNo,@Context JBOTransaction tx ) {
RspObject<String> rspObject = null;
try{
//--更新团队成员状态
/*PlanManageAction pma = new PlanManageAction();
pma.setMemberNo(memberNo);
pma.setMemberStatus(PlanConst.TEAMSTATUS_INVALID);
pma.updateTeamMStatus(tx);*/
RspObject.build("SUCCESS",null,"删除成功!");
}catch(Exception e){
rspObject = RspObject.build(e);
}
return rspObject;
}
@GET
@Path("/addPlanMemeber")
/**
* 新增团队成员
* @param memberNo
* @param tx
* @return
*/
public RspObject<String> addPlanMemeber(
@QueryParam("memberID") String memberID,
@QueryParam("memberRole") String memberRole,
@QueryParam("memberOrg") String memberOrg,
@QueryParam("objectNo") String objectNo,
@QueryParam("objectType") String objectType,
@QueryParam("orgGroupID") String orgGroupID,
@Context User curUser) {
RspObject<String> rspObject = null;
try{
/*BizObjectManager bm = JBOFactory.getBizObjectManager(PlanConst.JBO_TEAM_MEMBER);
BizObject bo = bm.newObject();
bo.setAttributeValue("ObjectNo", objectNo);
bo.setAttributeValue("ObjectType", objectType);
bo.setAttributeValue("MemberType", "INNER");
bo.setAttributeValue("MemberID", memberID);
bo.setAttributeValue("MemberRoleID", memberRole);
bo.setAttributeValue("MemberOrgID",memberOrg );
bo.setAttributeValue("Status","INVALID" );
bo.setAttributeValue("InputUserID",curUser.getUserId() );
bo.setAttributeValue("InputOrgID",curUser.getOrg().getOrgId() );
bo.setAttributeValue("InputDate",StringFunction.getToday());
bo.setAttributeValue("UpdateUserID",curUser.getUserId() );
bo.setAttributeValue("UpdateOrgID",curUser.getOrg().getOrgId() );
bo.setAttributeValue("UpdateDate",StringFunction.getToday());
bo.setAttributeValue("OrgGroupID",orgGroupID);
bm.saveObject(bo);*/
RspObject.build("SUCCESS",null,"新增成功!");
}catch(Exception e){
rspObject = RspObject.build(e);
}
return rspObject;
}
@GET
@Path("/updateGroupStatus")
/**
* 确认完成团队组建
* @param memberNo
* @param tx
* @return
*/
public RspObject<String> updateGroupStatus(@QueryParam("orgGroupID") String orgGroupID,@Context JBOTransaction tx ) {
RspObject<String> rspObject = null;
try{
/*//---更改团队状态
PlanManageAction pma = new PlanManageAction();
pma.setGroupID(orgGroupID);
pma.setGroupStatus(PlanConst.TEAMSTATUS_VALID);
pma.updateTeamMStatus(tx);*/
RspObject.build("SUCCESS",null,"确认成功!");
}catch(Exception e){
rspObject = RspObject.build(e);
}
return rspObject;
}
/**
* 岗位选择数据接口
* @param groupType
* @param curUser
* @return
*/
@GET
@Path("/getRoleList")
public List<CodeField> getRoleList(@QueryParam("groupType") String groupType,@Context User curUser){
String orgID = curUser.getOrg().getOrgId();
groupType = StringHelper.nvl(groupType, "NOVALUE");
ArrayList< CodeField> roleList = new ArrayList<CodeField>();
try{
Item teamRoleOrgRela = CodeManager.getItem("TeamRoleOrgRela",orgID);
if(teamRoleOrgRela != null){
String roleRela = teamRoleOrgRela.getItemAttribute();
String attribute5 = teamRoleOrgRela.getAttribute5();
if(groupType.equalsIgnoreCase(attribute5)){
roleRela = teamRoleOrgRela.getAttribute4();
}
String[] s = roleRela.split(",");
boolean flag = true;
CodeField code =null;
for(String j:s){
if(flag){
code = new CodeField();
code.setCode("RoleList");
code.setValue(j);
}else{
code.setName(j);
roleList.add(code);
}
flag =!flag;
}
}
}catch (Exception e){
ARE.getLog().error("岗位数据获取出错:"+e.toString());
}
return roleList;
}
}

View File

@ -1,22 +0,0 @@
package apx.com.amarsoft.aims.user.bzsrv;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.QueryParam;
import cn.coyoteam.aweresf.model.User;
/**
* 获取用户相关信息接口实现类
* @author oldbiao 2016年1月11日11:02:03
*
*/
@Path("/UserInfo")
public class UserInfo {
@GET
@Path("/getUserInfo")
public User getUserInfo(@QueryParam("userID" )String userID){
return new User(userID);
}
}

View File

@ -1,21 +0,0 @@
package apx.com.amarsoft.aims.xw.intercept;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.amarsoft.awe.dw.ASObjectModel;
import com.amarsoft.awe.dw.ASObjectWindow;
import cn.coyoteam.aweresf.web.xw.render.InterceptHelper;
import cn.coyoteam.aweresf.web.xw.render.XWRenderIntercept;
import cn.coyoteam.aweresf.web.xw.segment.model.Segment;
public class PlanInfoIntercept implements XWRenderIntercept{
public void beforeRender(HttpServletRequest request, HttpServletResponse response, ASObjectModel doTemp,
ASObjectWindow dwTemp, Segment xwData) {
InterceptHelper.executeColSpan(xwData);//´¦ÀíºÏ²¢×ÖΡ£
}
}

View File

@ -1,897 +0,0 @@
package apx.com.amarsoft.als.base.awe;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.net.URLDecoder;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import org.apache.commons.fileupload.FileItem;
import org.apache.commons.fileupload.FileItemFactory;
import org.apache.commons.fileupload.FileUpload;
import org.apache.commons.fileupload.disk.DiskFileItemFactory;
import org.apache.commons.lang.StringUtils;
import apx.com.amarsoft.als.base.constant.ResultConstant;
import apx.com.amarsoft.als.base.constant.cache.AppAweDoCache;
import apx.com.amarsoft.als.base.constant.cache.AppCodeCache;
import apx.com.amarsoft.als.base.util.BizObjectUtil;
import apx.com.amarsoft.als.base.util.ReturnMapUtil;
import cn.coyoteam.aweresf.util.RequestUtil;
import com.amarsoft.are.ARE;
import com.amarsoft.are.jbo.BizObject;
import com.amarsoft.are.jbo.BizObjectManager;
import com.amarsoft.are.jbo.BizObjectQuery;
import com.amarsoft.are.jbo.JBOFactory;
import com.amarsoft.are.jbo.JBOTransaction;
import com.amarsoft.are.log.Log;
import com.amarsoft.awe.util.Transaction;
public abstract class AbstractAweDo {
private static Log logger = ARE.getLog();
private String otherWhere;
private Map<String, Object> paramMap; // 参数
private Map<String, Object> donoMap; // 获取AWE_DO_CATALOG MAP格式
private List<Map<String, Object>> templateList; // 获取分组模板信息
// AWE_DO_CATALOG
private String sDoName; // 获取当前模板名称
private String sDono; // 获取当前分组模板号
private String sJboClass; // JBO对象名
private String sJboFrom; // JBOFROM子句
private String sJboWhere; // JBOWHERE子句
private String sJboOrder; // JBOGROUP子句
private String sJboGroup; // JBOORDER子句
// APP_GROUP
private String sGroupIsList; // Y表示列表 N表示表单
// APP_GROUP_TEMPLATE
private String sGroupCode; // 分组号
private String sDataName; // APP显示表单元素名
private String sDataCode; // 表单元素号
private String sIsList; // 是否列表显示
private String sIsShow; // 分是否表单显示
private String sPosition; // 分组模板数据位置
private String sIsConvert; // 预留字段
public Map<String, Object> getData(HttpServletRequest request,
Transaction sqlca, JBOTransaction tx) throws Exception {
return getData(request, sqlca, tx, null, null);
}
@SuppressWarnings("unchecked")
public Map<String, Object> getData(HttpServletRequest request,
Transaction sqlca, JBOTransaction tx, String groupid, String sOtherWhere)
throws Exception {
if (sOtherWhere == null) sOtherWhere = "";
this.otherWhere = sOtherWhere;
Map<String, Object> appResult = new HashMap<String, Object>();
appResult = findGroupTemplate(request, sqlca, tx, groupid);
if (null != appResult)
return appResult;
// 获取AWE_DO_LIBRARY LIST<MAP>格式
List<Map<String, Object>> donoLibrary = (List<Map<String, Object>>) this.donoMap
.get("library");
List<String> queryList = new ArrayList<String>();
List<String> methodList = new ArrayList<String>();
List<Map<String, Object>> library = new ArrayList<Map<String, Object>>();
for (Map<String, Object> templateMap : this.templateList) {
// 模板library :
// 字段排序 SORTNO
String sDoSortno = templateMap.get("SORTNO".toLowerCase()) == null ? ""
: templateMap.get("SORTNO".toLowerCase()).toString();
// 字段索引 COLINDEX
String sDoColIndex = templateMap.get("COLINDEX".toLowerCase()) == null ? ""
: templateMap.get("COLINDEX".toLowerCase()).toString();
// 使用名称 COLNAME
String sDoColName = templateMap.get("COLNAME".toLowerCase()) == null ? ""
: templateMap.get("COLNAME".toLowerCase()).toString();
for (Map<String, Object> doLibraryMap : donoLibrary) {
// APP分组:
// 字段排序 SORTNO
String sGroupSortno = doLibraryMap.get("sortno") == null ? ""
: doLibraryMap.get("sortno").toString();
// 字段索引 COLINDEX
String sGroupColIndex = doLibraryMap.get("colindex") == null ? ""
: doLibraryMap.get("colindex").toString();
// 使用名称 COLNAME
String sGroupColName = doLibraryMap.get("colname") == null ? ""
: doLibraryMap.get("colname").toString();
// APP分组 AWE 模板library 中的字段索引字段排序使用名称 绑定使用
// 使用名称 不区分大小写
if (!(sGroupSortno.equals(sDoSortno)
&& sGroupColIndex.equals(sDoColIndex) && sGroupColName
.equalsIgnoreCase(sDoColName))) {
continue;
}
// 数据库原名
String sActualName = doLibraryMap.get("colactualname") == null ? ""
: doLibraryMap.get("colactualname").toString();
// 数据表名
String sTableName = doLibraryMap.get("coltablename") == null ? ""
: doLibraryMap.get("coltablename").toString();
// 数据库原名 v.''或'' 不是表中字段
// 直接剔除
if ("v.''".equals(sActualName) || "''".equals(sActualName)) {
continue;
}
// 数据表名不为 空字符串 表示元素 肯定是表中字段
if (sTableName.length() > 0) {
// 数据表名.数据库原名 as V.分组使用名称
// O.CUSTOMERID AS V.CUSTOMERID
queryList.add(sTableName + "." + sActualName + " as v."
+ sGroupColName);
} else {
// 数据表名为空字符串 需要特殊处理 1. SQL过程方法 2. 类方法
// SQL过程方法 数据库原名 NameManager.开头
// NameManager.getProjectNameByID(PROJECT_ID) ->
// V.getProjectNameByID(V.PROJECT_ID)
if (sActualName.startsWith("NameManager.")) {
String sSqlProcess = sActualName;
sSqlProcess = sSqlProcess.replace("NameManager.", "");
// NameManager.getItemName开头需要特殊处理 CodeManager.处理相同
// NameManager.getItemName("IsInUse",RoleStatus)
if (sActualName.startsWith("NameManager.getItemName")) {
// , 开始分割 分割后长度应为2
String[] aProcess = sSqlProcess.split(",");
if (aProcess.length != 2) {
ReturnMapUtil
.setReturnMap(
null,
ResultConstant.FAIL_RESULT_CODE,
"模板号:"
+ this.sDono
+ "中字段索引:"
+ sDoColIndex
+ "排序号:"
+ sDoSortno
+ "使用名称:"
+ sDoColName
+ " 的字段数据库原名:"
+ sActualName
+ "格式有问题"
+ "\r\n"
+ "格式应为NameManager.getItemName(\"xxx\",yyy)");
logger.debug("模板号:"
+ this.sDono
+ "中字段索引:"
+ sDoColIndex
+ "排序号:"
+ sDoSortno
+ "使用名称:"
+ sDoColName
+ " 的字段数据库原名:"
+ sActualName
+ "格式有问题"
+ "\r\n"
+ "格式应为NameManager.getItemName(\"xxx\",yyy)");
return ReturnMapUtil.getReturnMap();
}
// getItemName("xxx",yyy) AS V.xxx
String sProcess = "v." + aProcess[0] + ", v."
+ aProcess[1] + "as v." + sGroupColName;
queryList.add(sProcess);
} else {
// NameManager.getProjectNameByID,NameManager.getCustomerName,NameManager.getUserName,NameManager.getRoleName
// 开头
// NameManager.getProjectNameByID(PROJECT_ID)
// 开始分割 分割后长度应为2
String[] aProcess = sSqlProcess.split("\\(");
if (aProcess.length != 2) {
ReturnMapUtil
.setReturnMap(
null,
ResultConstant.FAIL_RESULT_CODE,
"模板号:"
+ this.sDono
+ "中字段索引:"
+ sDoColIndex
+ "排序号:"
+ sDoSortno
+ "使用名称:"
+ sDoColName
+ " 的字段数据库原名:"
+ sActualName
+ "格式有问题"
+ "\r\n"
+ "格式应为NameManager.getUserName(xxx)");
logger.debug("模板号:" + this.sDono + "中字段索引:"
+ sDoColIndex + "排序号:" + sDoSortno
+ "使用名称:" + sDoColName + " 的字段数据库原名:"
+ sActualName + "格式有问题" + "\r\n"
+ "格式应为NameManager.getUserName(xxx)");
return ReturnMapUtil.getReturnMap();
}
// getUserName(xxx) AS V.xxx
String sProcess = "v." + aProcess[0] + "(v."
+ aProcess[1] + "as v." + sGroupColName;
queryList.add(sProcess);
}
} else if (sActualName.startsWith("CodeManager.")) {
// CodeManager.getItemName('CountryCode',issuecountry)
// -> V.getItemName('CountryCode', V.issuecountry)
String sSqlProcess = sActualName;
sSqlProcess = sSqlProcess.replace("CodeManager.", "");
// , 开始分割 分割后长度应为2
String[] aProcess = sSqlProcess.split(",");
if (aProcess.length != 2) {
ReturnMapUtil
.setReturnMap(
null,
ResultConstant.FAIL_RESULT_CODE,
"模板号:"
+ this.sDono
+ "中字段索引:"
+ sDoColIndex
+ "排序号:"
+ sDoSortno
+ "使用名称:"
+ sDoColName
+ " 的字段数据库原名:"
+ sActualName
+ "格式有问题"
+ "\r\n"
+ "格式应为CodeManager.getItemName('CountryCode',issuecountry)");
logger.debug("模板号:"
+ this.sDono
+ "中字段索引:"
+ sDoColIndex
+ "排序号:"
+ sDoSortno
+ "使用名称:"
+ sDoColName
+ " 的字段数据库原名:"
+ sActualName
+ "格式有问题"
+ "\r\n"
+ "格式应为CodeManager.getItemName('CountryCode',issuecountry)");
return ReturnMapUtil.getReturnMap();
}
// getItemName('CountryCode',xxx) AS V.xxx
String sProcess = "v." + aProcess[0] + ", v."
+ aProcess[1] + "as v." + sGroupColName;
queryList.add(sProcess);
queryList.add(sProcess);
} else {
methodList.add(doLibraryMap.get("colactualname") + "");
}
}
this.sDataName = templateMap.get("DATA_NAME".toLowerCase()) == null ? ""
: templateMap.get("DATA_NAME".toLowerCase()).toString();
this.sDataCode = templateMap.get("DATA_CODE".toLowerCase()) == null ? ""
: templateMap.get("DATA_CODE".toLowerCase()).toString();
this.sIsList = templateMap.get("ISLIST".toLowerCase()) == null ? ""
: templateMap.get("ISLIST".toLowerCase()).toString();
this.sIsShow = templateMap.get("ISSHOW".toLowerCase()) == null ? ""
: templateMap.get("ISSHOW".toLowerCase()).toString();
this.sPosition = templateMap.get("DATA_POSITION".toLowerCase()) == null ? ""
: templateMap.get("DATA_POSITION".toLowerCase())
.toString();
this.sIsConvert = templateMap.get("ISCONVERT".toLowerCase()) == null ? ""
: templateMap.get("ISCONVERT".toLowerCase()).toString();
doLibraryMap.put("display".toLowerCase(), this.sDataName);
doLibraryMap.put("code".toLowerCase(), this.sDataCode);
doLibraryMap.put("ISLIST".toLowerCase(), this.sIsList);
doLibraryMap.put("ISSHOW".toLowerCase(), this.sIsShow);
doLibraryMap.put("position".toLowerCase(), this.sPosition);
doLibraryMap.put("ISCONVERT".toLowerCase(), this.sIsConvert);
doLibraryMap.put("value", null);
doLibraryMap.put("itemno", null);
library.add(doLibraryMap);
}
}
if (queryList.size() == 0) {
ReturnMapUtil.setReturnMap(null, ResultConstant.FAIL_RESULT_CODE,
"根据分组号:" + this.sGroupCode + "未找到所配置的查询字段!");
logger.debug("根据分组号:" + this.sGroupCode + "未找到所配置的查询字段!");
return ReturnMapUtil.getReturnMap();
}
String sJboQuery = "";
for (String str : queryList) {
sJboQuery += str + ",";
}
if (sJboQuery.endsWith(","))
sJboQuery = sJboQuery.substring(0, sJboQuery.length() - 1);
this.sJboClass = donoMap.get("JBOCLASS".toLowerCase()) == null ? ""
: donoMap.get("JBOCLASS".toLowerCase()).toString();
this.sJboFrom = donoMap.get("JBOFROM".toLowerCase()) == null ? ""
: donoMap.get("JBOFROM".toLowerCase()).toString();
this.sJboWhere = donoMap.get("JBOWHERE".toLowerCase()) == null ? ""
: donoMap.get("JBOWHERE".toLowerCase()).toString();
this.sJboOrder = donoMap.get("JBOORDER".toLowerCase()) == null ? ""
: donoMap.get("JBOORDER".toLowerCase()).toString();
this.sJboGroup = donoMap.get("JBOGROUP".toLowerCase()) == null ? ""
: donoMap.get("JBOGROUP".toLowerCase()).toString();
this.sJboWhere = whereHandle(sJboWhere, paramMap);
if (this.sJboOrder.length() > 0) {
this.sJboOrder = " ORDER BY " + this.sJboOrder;
}
if (this.sJboGroup.length() > 0) {
this.sJboGroup = " GROUP BY " + this.sJboGroup;
}
String sSql = "SELECT " + sJboQuery + " ";
sSql += "FROM " + sJboFrom + " WHERE " + sJboWhere + " "
+ this.otherWhere + " " + this.sJboOrder + " " + this.sJboGroup;
logger.debug("sql:" + sSql);
BizObjectManager classManage = JBOFactory
.getBizObjectManager(this.sJboClass);
List<BizObject> rtBos = classManage.createQuery(sSql).getResultList(
false);
BizObjectManager bom1 = JBOFactory
.getBizObjectManager("jbo.app.APP_BUSINESS_GROUP");
BizObject bo1 = bom1.createQuery("GROUP_CODE=:GROUP_CODE")
.setParameter("GROUP_CODE", sGroupCode).getSingleResult(false);
this.sGroupIsList = bo1.getAttribute("ISLIST") == null ? "N" : bo1
.getAttribute("ISLIST").toString();
appResult = new HashMap<String, Object>();
// 查询数量
appResult.put("record_num", rtBos.size());
List<Map<String, Object>> datas = new ArrayList<Map<String, Object>>();
if (rtBos == null || rtBos.size() < 1) {
Map<String, Object> data = new HashMap<String, Object>();
List<Map<String, Object>> cols = new ArrayList<Map<String, Object>>();
for (Map<String, Object> doLibraryMap : library) {
doLibraryMap.put("itemno", "");
doLibraryMap.put("value", "");
Map<String, Object> col = new HashMap<String, Object>();
col.put("basetype", doLibraryMap.get("coltype"));
for (String key : doLibraryMap.keySet()) {
col.put(key, doLibraryMap.get(key));
}
String sIsShow = doLibraryMap.get("ISSHOW".toLowerCase()) == null ? ""
: doLibraryMap.get("ISSHOW".toLowerCase()).toString();
if ("y".equalsIgnoreCase(sIsShow)) {
cols.add(col);
}
}
data.put("detail_data", cols);
datas.add(data);
if ("y".equalsIgnoreCase(sGroupIsList)) {
datas = new ArrayList<Map<String, Object>>();
}
appResult.put("datas", datas);
ReturnMapUtil.setReturnMap(appResult,
ResultConstant.SUCCESS_RESULT_CODE, "");
return ReturnMapUtil.getReturnMap();
}
String sPageIndex = request.getParameter("pageIndex");
String sLimit = request.getParameter("limit");
if (sPageIndex == null)
sPageIndex = "1";
if (sLimit == null)
sLimit = "10";
int iPageIndex, iLimit;
iPageIndex = Integer.valueOf(sPageIndex);
iLimit = Integer.valueOf(sLimit);
iPageIndex = iPageIndex - 1;
int pageIndexStart = (iPageIndex) * iLimit;
int pageIndexEnd = (iPageIndex + 1) * iLimit;
// 获取SQL查询value及item name 赋予library中
for (int i = pageIndexStart; i < pageIndexEnd; i++) {
// 数据数量大于list数据
if (i > (rtBos.size() - 1)) {
break;
}
// 页码小于1
if (iPageIndex + 1 < 1) {
break;
}
if (rtBos.size() % iLimit == 0) {
if ((rtBos.size() / iLimit) < iPageIndex) {
break;
}
} else {
if ((rtBos.size() / iLimit) + 1 < iPageIndex) {
break;
}
}
BizObject rtBo = rtBos.get(i);
Map<String, Object> data = new HashMap<String, Object>();
List<Map<String, Object>> cols = new ArrayList<Map<String, Object>>();
List<Map<String, Object>> colLists = new ArrayList<Map<String, Object>>();
for (Map<String, Object> doLibraryMap : library) {
// 模板library :
// 字段排序 SORTNO
String sDoSortno = doLibraryMap.get("SORTNO".toLowerCase()) == null ? ""
: doLibraryMap.get("SORTNO".toLowerCase()).toString();
// 字段索引 COLINDEX
String sDoColIndex = doLibraryMap.get("COLINDEX".toLowerCase()) == null ? ""
: doLibraryMap.get("COLINDEX".toLowerCase()).toString();
// 使用名称 COLNAME
String sDoColName = doLibraryMap.get("COLNAME".toLowerCase()) == null ? ""
: doLibraryMap.get("COLNAME".toLowerCase()).toString();
// 数据库原名
String sActualName = doLibraryMap.get("colactualname") == null ? ""
: doLibraryMap.get("colactualname").toString();
// 数据表名
String sTableName = doLibraryMap.get("coltablename") == null ? ""
: doLibraryMap.get("coltablename").toString();
// 使用名称
String sColName = doLibraryMap.get("colname") == null ? ""
: doLibraryMap.get("colname").toString();
// 显示来源类型
String sSourceType = doLibraryMap.get("coleditsourcetype") == null ? ""
: doLibraryMap.get("coleditsourcetype").toString();
// 显示来源
String sSource = doLibraryMap.get("coleditsource") == null ? ""
: doLibraryMap.get("coleditsource").toString();
// v.'' 或者 '' 直接剔除
if ("v.''".equals(sActualName) || "''".equals(sActualName)) {
continue;
}
// SQL 查询
if (sTableName.length() > 0) {
if (null != rtBo.getAttribute(sColName)) {
doLibraryMap.put("itemno", rtBo.getAttribute(sColName)
.getValue());
doLibraryMap.put("value", rtBo.getAttribute(sColName)
.getValue());
} else {
doLibraryMap.put("value", null);
doLibraryMap.put("itemno", null);
}
}
if (sActualName.startsWith("NameManager.")) {
if (null != rtBo.getAttribute(sColName)) {
doLibraryMap.put("itemno", rtBo.getAttribute(sColName)
.getValue());
doLibraryMap.put("value", rtBo.getAttribute(sColName)
.getValue());
} else {
doLibraryMap.put("value", null);
doLibraryMap.put("itemno", null);
}
}
if (sActualName.startsWith("CodeManager.")) {
if (null != rtBo.getAttribute(sColName)) {
doLibraryMap.put("itemno", rtBo.getAttribute(sColName)
.getValue());
doLibraryMap.put("value", rtBo.getAttribute(sColName)
.getValue());
} else {
doLibraryMap.put("value", null);
doLibraryMap.put("itemno", null);
}
}
// 获取类方法值
// 不是CodeManager开头,
// 并且不是NameManager开头
// 并且包含'.''(' 如com.xxx.xx.class.method(params..)
if (!sActualName.startsWith("CodeManager.")
&& !sActualName.startsWith("NameManager.")
&& sActualName.contains(".")
&& sActualName.contains("(")) {
String[] array = sActualName.split("\\(");
if (array.length != 2) {
ReturnMapUtil
.setReturnMap(
null,
ResultConstant.FAIL_RESULT_CODE,
"模板号:"
+ this.sDono
+ "中字段索引:"
+ sDoColIndex
+ "排序号:"
+ sDoSortno
+ "使用名称:"
+ sDoColName
+ " 的字段数据库原名:"
+ sActualName
+ "格式有问题"
+ "\r\n"
+ "格式应为com.xxx.xx.class.method(params..)");
logger.debug("模板号:" + this.sDono + "中字段索引:"
+ sDoColIndex + "排序号:" + sDoSortno + "使用名称:"
+ sDoColName + " 的字段数据库原名:" + sActualName
+ "格式有问题" + "\r\n"
+ "格式应为com.xxx.xx.class.method(params..)");
return ReturnMapUtil.getReturnMap();
}
// 获取 类方法所有参数
String sParams1 = array[1];
// 如果结尾不是括号结尾
if (!sParams1.endsWith(")")) {
ReturnMapUtil
.setReturnMap(
null,
ResultConstant.FAIL_RESULT_CODE,
"模板号:"
+ this.sDono
+ "中字段索引:"
+ sDoColIndex
+ "排序号:"
+ sDoSortno
+ "使用名称:"
+ sDoColName
+ " 的字段数据库原名:"
+ sActualName
+ "格式有问题"
+ "\r\n"
+ "格式应为com.xxx.xx.class.method(params..)");
logger.debug("模板号:" + this.sDono + "中字段索引:"
+ sDoColIndex + "排序号:" + sDoSortno + "使用名称:"
+ sDoColName + " 的字段数据库原名:" + sActualName
+ "格式有问题" + "\r\n"
+ "格式应为com.xxx.xx.class.method(params..)");
return ReturnMapUtil.getReturnMap();
}
sParams1 = sParams1.substring(0, sParams1.length() - 1);
String[] aParam = sParams1.split(",");
String[] aSet = new String[aParam.length];
for (int j = 0; j < aParam.length; j++) {
String sColName1 = sDoColName;
String sColName2 = aParam[j];
// if (sColName1.equals(sColName2)) {
String sValue = rtBo.getAttribute(sColName2) == null ? ""
: rtBo.getAttribute(sColName2).toString();
aSet[j] = sValue;
// }
}
String sValue = executeMethod(sActualName, aSet);
doLibraryMap.put("value", sValue);
doLibraryMap.put("itemno", sValue);
// SQL获取值
} else if ("code".equalsIgnoreCase(sSourceType)) {
List<Map<String, Object>> codeLibrary = null;
doLibraryMap.put("itemno", rtBo.getAttribute(sColName)
.getValue());
try {
codeLibrary = (List<Map<String, Object>>) ((Map<String, Object>) AppCodeCache
.getAppCodeCachePool().get(sSource))
.get("library");
} catch (Exception e) {
doLibraryMap.put("value", rtBo.getAttribute(sColName)
.getValue());
}
if (codeLibrary == null) {
doLibraryMap.put("value", rtBo.getAttribute(sColName)
.getValue());
} else {
for (Map<String, Object> code : codeLibrary) {
String sItemNo = code.get("ITEMNO".toLowerCase()) == null ? ""
: code.get("ITEMNO".toLowerCase())
.toString();
String sValue = rtBo.getAttribute(sColName) == null ? ""
: rtBo.getAttribute(sColName).toString();
if (sItemNo.trim().toLowerCase()
.equals(sValue.trim().toLowerCase())) {
doLibraryMap
.put("value",
code.get("ITEMNAME"
.toLowerCase()) == null ? ""
: code.get(
"ITEMNAME"
.toLowerCase())
.toString());
break;
}
doLibraryMap.put("value",
rtBo.getAttribute(sColName).getValue());
}
}
} else if ("jbo".equalsIgnoreCase(sSourceType)) {
// -- JBO
// jbo.sys.CODE_LIBRARY,itemno,itemname,codeno='IsInUse'
if (sSource.length() == 0) {
doLibraryMap.put("itemno", rtBo.getAttribute(sColName)
.getValue());
doLibraryMap.put("value", rtBo.getAttribute(sColName)
.getValue());
}
String[] aSrouce = sSource.split(",");
if (aSrouce.length != 4) {
doLibraryMap.put("itemno", rtBo.getAttribute(sColName)
.getValue());
doLibraryMap.put("value", rtBo.getAttribute(sColName)
.getValue());
} else {
try {
BizObjectManager sourceManager = JBOFactory
.getBizObjectManager(aSrouce[0]);
BizObjectQuery sourceQuery = sourceManager
.createQuery("SELECT " + aSrouce[1] + ","
+ aSrouce[2] + " FROM O WHERE "
+ aSrouce[3]);
BizObject sourceObject = sourceQuery
.getSingleResult(false);
if (null == sourceObject) {
doLibraryMap.put("itemno", rtBo.getAttribute(sColName)
.getValue());
doLibraryMap.put("value", rtBo.getAttribute(sColName)
.getValue());
} else {
doLibraryMap.put("itemno", sourceObject
.getAttribute(aSrouce[1]).getValue());
doLibraryMap.put("value", sourceObject
.getAttribute(aSrouce[2]).getValue());
}
} catch (Exception e) {
doLibraryMap.put("itemno", rtBo.getAttribute(sColName)
.getValue());
doLibraryMap.put("value", rtBo.getAttribute(sColName)
.getValue());
}
}
} else if ("CodeTable".equalsIgnoreCase(sSourceType)) {
// -- CodeTable ACQUIRED,运行,PAUSED,暂停,WAITING,等待
if (sSource.length() == 0) {
doLibraryMap.put("itemno", rtBo.getAttribute(sColName)
.getValue());
doLibraryMap.put("value", rtBo.getAttribute(sColName)
.getValue());
}
String[] aSource = sSource.split(",");
if (aSource.length % 2 == 0) {
for (int ai = 0; ai < aSource.length; ai++) {
if ((ai + 1) % 2 != 0
&& rtBo.getAttribute(sColName).getValue()
.equals(aSource[ai])) {
doLibraryMap.put("itemno",
rtBo.getAttribute(sColName).getValue());
doLibraryMap.put("value", aSource[ai + 1]);
}
}
}
if (null == doLibraryMap.get("value")) {
doLibraryMap.put("itemno", rtBo.getAttribute(sColName)
.getValue());
doLibraryMap.put("value", rtBo.getAttribute(sColName)
.getValue());
}
} else if ("@MIN_MAX".equalsIgnoreCase(sSourceType)) {
} else if ("SubPage".equalsIgnoreCase(sSourceType)) {
}
Map<String, Object> col = new HashMap<String, Object>();
Map<String, Object> colList = new HashMap<String, Object>();
for (String key : doLibraryMap.keySet()) {
col.put(key, doLibraryMap.get(key));
colList.put(key, doLibraryMap.get(key));
}
col.put("basetype", col.get("coltype"));
String sIsShow = doLibraryMap.get("ISSHOW".toLowerCase()) == null ? ""
: doLibraryMap.get("ISSHOW".toLowerCase()).toString();
if ("y".equalsIgnoreCase(sGroupIsList)) {
String sIsList = doLibraryMap.get("ISLIST".toLowerCase()) == null ? ""
: doLibraryMap.get("ISLIST".toLowerCase())
.toString();
if ("y".equalsIgnoreCase(sIsList)) {
colLists.add(colList);
}
}
if ("y".equalsIgnoreCase(sIsShow)) {
cols.add(col);
}
}
data.put("detail_data", cols);
if ("y".equalsIgnoreCase(sGroupIsList)) {
data.put("list_data", colLists);
}
datas.add(data);
}
appResult.put("datas", datas);
ReturnMapUtil.setReturnMap(appResult,
ResultConstant.SUCCESS_RESULT_CODE, "");
return ReturnMapUtil.getReturnMap();
}
@SuppressWarnings({ "unchecked", "deprecation" })
private Map<String, Object> findGroupTemplate(HttpServletRequest request,
Transaction sqlca, JBOTransaction tx, String groupid)
throws Exception {
Map<String, Object> appResult = checkGroupCodeIsValid(request, groupid);
if (null != appResult)
return appResult;
try {
ARE.getLog().info("=========2.加载参数==========");
Map<String, Object> paramMap1 = new HashMap<String, Object>();
if (request.getMethod().equalsIgnoreCase("GET")) {
paramMap1 = RequestUtil.convertRequestToMap(request);
} else {
FileItemFactory factory = new DiskFileItemFactory();
FileUpload fu = new FileUpload(factory);
List<FileItem> list = (List<FileItem>) fu.parseRequest(request);
for (FileItem item : list) {
if (item.isFormField()) {
paramMap1
.put(item.getFieldName().toLowerCase(), URLDecoder
.decode(item.getString("UTF-8"), "UTF-8"));
}
}
}
this.paramMap = new HashMap<String, Object>();
if (paramMap1.size() > 0) {
int i = 1;
for (String key : paramMap1.keySet()) {
ARE.getLog().info(
"========= " + i + ". " + "key= " + key
+ " and value= " + paramMap1.get(key)
+ "==========");
paramMap.put(key.toLowerCase(), paramMap1.get(key));
i++;
}
}
} catch (Exception e) {
ReturnMapUtil.setReturnMap(null, ResultConstant.FAIL_RESULT_CODE,
"获取加载参数出现异常,请联系管理员!");
logger.error("获取加载参数出现异常,请联系管理员! \r\n" + "error:" + e);
return ReturnMapUtil.getReturnMap();
}
return null;
}
@SuppressWarnings("unchecked")
private Map<String, Object> checkGroupCodeIsValid(
HttpServletRequest request, String groupid) throws Exception {
try {
ARE.getLog().info("=========1.获取分组号==========");
if (StringUtils.isNotBlank(groupid)) {
this.sGroupCode = groupid;
} else {
this.sGroupCode = request.getParameter("groupId");
}
if (sGroupCode.length() == 0) {
ReturnMapUtil.setReturnMap(null,
ResultConstant.FAIL_RESULT_CODE, "分组号为空,无法查询具体模板数据!");
logger.debug("分组号为空,无法查询具体模板数据!");
return ReturnMapUtil.getReturnMap();
}
ARE.getLog().info("=========获取分组号: " + sGroupCode + "==========");
ARE.getLog().info("=========准备获取APP分组信息==========");
// 获取APP分组信息
BizObjectManager bom = JBOFactory
.getBizObjectManager("jbo.app.APP_BUSINESS_TEMPLATE");
BizObjectQuery boq = bom.createQuery(
"GROUP_CODE=:GROUP_CODE ORDER BY DATA_POSITION")
.setParameter("GROUP_CODE", sGroupCode);
List<BizObject> bos = boq.getResultList(false);
if (bos == null || bos.size() < 1) {
ReturnMapUtil.setReturnMap(null,
ResultConstant.FAIL_RESULT_CODE, "分组号:" + sGroupCode
+ " 未找到相应分组配置!");
logger.debug("分组号:" + sGroupCode + " 未找到相应分组配置!");
return ReturnMapUtil.getReturnMap();
}
this.templateList = new ArrayList<Map<String, Object>>();
for (BizObject template : bos) {
BizObjectUtil util = new BizObjectUtil();
Map<String, Object> templateMap = util
.bizObject2MapValue(template);
templateList.add(templateMap);
}
BizObject bo = bos.get(0);
this.sDono = bo.getAttribute("DONO") == null ? "" : bo
.getAttribute("DONO").toString();
if (sDono.length() == 0) {
ReturnMapUtil.setReturnMap(null,
ResultConstant.FAIL_RESULT_CODE, "分组号:" + sGroupCode
+ " 配置元素模板为空!");
logger.debug("分组号:" + sGroupCode + " 配置元素模板为空!");
return ReturnMapUtil.getReturnMap();
}
ARE.getLog().info("=========获取模板号:" + sDono + "==========");
// 获取AWE_DO_CATALOG MAP格式
this.donoMap = new HashMap<String, Object>();
this.donoMap = (Map<String, Object>) AppAweDoCache
.getAppAweDoCachePool().get(sDono);
if (donoMap.size() == 0) {
ReturnMapUtil.setReturnMap(null,
ResultConstant.FAIL_RESULT_CODE, "模板号:" + sDono
+ "不存在!");
logger.debug("模板号:" + sDono + "不存在!");
return ReturnMapUtil.getReturnMap();
}
this.sDoName = donoMap.get("DONAME".toLowerCase()) == null ? ""
: donoMap.get("DONAME".toLowerCase()).toString();
logger.info("模板中文名:" + this.sDoName);
} catch (Exception e) {
ReturnMapUtil.setReturnMap(null, ResultConstant.FAIL_RESULT_CODE,
"获取分组信息出现异常,请联系管理员!");
logger.error("获取分组信息出现异常,请联系管理员! \r\n" + "error:" + e);
return ReturnMapUtil.getReturnMap();
}
return null;
}
private String executeMethod(String colactualname, String... params) {
String value = "";
try {
String classpath = colactualname.substring(0,
colactualname.lastIndexOf("."));
String methodName = colactualname.substring(
colactualname.lastIndexOf(".") + 1,
colactualname.indexOf("("));
String paramsname = colactualname.substring(
colactualname.indexOf("(") + 1, colactualname.indexOf(")"));
String[] vParams = paramsname.split(",");
if (vParams.length != params.length) {
return null;
}
List<Object> Lparam = new ArrayList<Object>();
for (String param : params) {
Lparam.add(param);
}
@SuppressWarnings("rawtypes")
Class classPathClass = Class.forName(classpath);
Object obj = classPathClass.newInstance();
Method targetMethod = null;
Method[] cls = classPathClass.getDeclaredMethods();
for (int j = 0; j < cls.length; j++) {
if (cls[j].getName().equalsIgnoreCase(methodName)) {
targetMethod = cls[j];
}
}
value = (String) targetMethod.invoke(obj, Lparam.toArray());
if (value == null) {
value = "";
}
} catch (ClassNotFoundException | InstantiationException
| IllegalAccessException | SecurityException
| IllegalArgumentException | InvocationTargetException e) {
logger.error("executeMethod" + e);
return null;
}
return value;
}
private static String whereHandle(String sJboWhere,
Map<String, Object> paramMap) {
String where = sJboWhere;
String[] array = where.split(" ");
for (String str : array) {
if (!str.contains("=:"))
continue;
String[] array1 = str.split("=:");
if (array1.length < 2)
continue;
if (!array1[0].contains(".")) {
String newStr = array1[0] + "='" + paramMap.get(array1[0])
+ "'";
sJboWhere = sJboWhere.replace(str, newStr);
continue;
}
String[] array2 = array1[0].split("\\.");
if (array2.length < 2)
continue;
String newStr = array1[0] + "='"
+ paramMap.get(array2[1].toLowerCase()) + "'";
if (array1[1].endsWith(")")) {
newStr += ")";
}
sJboWhere = sJboWhere.replace(str, newStr);
}
return sJboWhere;
}
}

View File

@ -1,170 +0,0 @@
package apx.com.amarsoft.als.base.awe.service;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.amarsoft.are.ARE;
import com.amarsoft.are.jbo.BizObject;
import com.amarsoft.are.jbo.BizObjectManager;
import com.amarsoft.are.jbo.BizObjectQuery;
import com.amarsoft.are.jbo.JBOException;
import com.amarsoft.are.jbo.JBOFactory;
public class ColSelectSourceService {
public static final String CODE_TYPE = "CODE";
public static final String JBO_TYPE = "JBO";
public static final String CODE_TABLE_TYPE = "CODETABLE";
public static final String SUB_PAGE_TYPE = "SUBPAGE";
public static final String MIN_MAX_TYPE = "@MIN_MAX";
public static List<Map<String, Object>> findSelectSource(String sType,
String sSource, String sOtherWhere) throws Exception {
if (null == sType)
sType = "";
if (null == sSource)
sSource = "";
if (sType.length() == 0 || sSource.length() == 0)
return new ArrayList<Map<String, Object>>();
sType = sType.toUpperCase();
switch (sType) {
case CODE_TYPE:
return getCodeTypeSelect(sSource, sOtherWhere);
case JBO_TYPE:
return getJboTypeSelect(sSource, sOtherWhere);
case CODE_TABLE_TYPE:
return getCodeTableTypeSelect(sSource);
case MIN_MAX_TYPE:
return getMinMaxTypeSelect(sSource);
case SUB_PAGE_TYPE:
return new ArrayList<Map<String, Object>>();
default:
return new ArrayList<Map<String, Object>>();
}
}
protected static List<Map<String, Object>> getCodeTypeSelect(
String sSource, String sOtherWhere) {
try {
BizObjectManager bom = JBOFactory
.getBizObjectManager("jbo.sys.CODE_LIBRARY");
BizObjectQuery boq = bom
.createQuery("1=1 AND isinuse='1' AND CODENO=:CODENO " + sOtherWhere
+ " ORDER BY sortno");
@SuppressWarnings("unchecked")
List<BizObject> bos = boq.setParameter("CODENO", sSource)
.getResultList(false);
if (bos == null)
bos = new ArrayList<BizObject>();
List<Map<String, Object>> list = new ArrayList<Map<String, Object>>();
for (BizObject bo : bos) {
Map<String, Object> map = new HashMap<String, Object>();
map.put("itemno", bo.getAttribute("ITEMNO").getValue());
map.put("itemname", bo.getAttribute("ITEMNAME").getValue());
list.add(map);
}
return list;
} catch (JBOException e) {
ARE.getLog().error("ERROR : ", e);
return new ArrayList<Map<String,Object>>();
}
}
protected static List<Map<String, Object>> getJboTypeSelect(String sSource,
String sOtherWhere) {
if (null == sSource)
sSource = "";
if (sSource.length() == 0 || !sSource.contains(","))
return new ArrayList<Map<String, Object>>();
String[] array = sSource.split(",");
if (array.length != 4)
return new ArrayList<Map<String, Object>>();
String sClass = array[0];
String sItemNo = array[1];
String sItemName = array[2];
String sWhere = array[3];
sWhere = sWhere.toUpperCase();
if (sWhere.contains("ORDER BY"))
sOtherWhere = "";
try {
BizObjectManager bom = JBOFactory.getBizObjectManager(sClass);
BizObjectQuery boq = bom.createQuery("SELECT " + sItemNo + ", "
+ sItemName + " FROM O WHERE " + sWhere + " " + sOtherWhere);
@SuppressWarnings("unchecked")
List<BizObject> bos = boq.getResultList(false);
if (null == bos)
bos = new ArrayList<BizObject>();
List<Map<String, Object>> list = new ArrayList<Map<String, Object>>();
for (BizObject bo : bos) {
Map<String, Object> map = new HashMap<String, Object>();
map.put("itemno", bo.getAttribute(sItemNo).getValue());
map.put("itemname", bo.getAttribute(sItemName).getValue());
list.add(map);
}
return list;
} catch (JBOException e) {
ARE.getLog().error("ERROR : ", e);
return new ArrayList<Map<String,Object>>();
}
}
protected static List<Map<String, Object>> getCodeTableTypeSelect(
String sSource) {
if (null == sSource) sSource = "";
if (sSource.length() == 0 || !sSource.contains(","))
return new ArrayList<Map<String,Object>>();
String[] array = sSource.split(",");
if (array.length % 2 != 0)
return new ArrayList<Map<String, Object>>();
List<Map<String, Object>> list = new ArrayList<Map<String, Object>>();
for (int i = 0; i < array.length - 1; i ++) {
if ((i + 1) % 2 != 0) {
Map<String, Object> map = new HashMap<String, Object>();
map.put("itemno", array[i]);
map.put("itemname", array[i+1]);
list.add(map);
}
}
return list;
}
protected static List<Map<String, Object>> getMinMaxTypeSelect(
String sSource) {
// -- 6,8
if (null == sSource) sSource = "";
if (sSource.length() == 0 || !sSource.contains(","))
return new ArrayList<Map<String,Object>>();
String[] array = sSource.split(",");
if (array.length != 2)
return new ArrayList<Map<String, Object>>();
int iMin = Integer.valueOf(array[0]);
int iMax = Integer.valueOf(array[1]);
int iProvisional = 0;
if (iMin > iMax) {
iProvisional = iMin;
iMin = iMax;
iMax = iProvisional;
}
List<Map<String, Object>> list = new ArrayList<Map<String, Object>>();
Map<String, Object> map = new HashMap<String, Object>();
map.put("itemname", iMin);
map.put("itemno", "MIN");
Map<String, Object> map1 = new HashMap<String, Object>();
map1.put("itemname", iMax);
map1.put("itemno", "MAX");
list.add(map);
list.add(map1);
return list;
}
public static void main(String[] args) {
List<Map<String, Object>> list = getMinMaxTypeSelect("16,88");
for (Map<String, Object> map : list) {
System.out.println(map);
}
}
}

View File

@ -1,34 +0,0 @@
package apx.com.amarsoft.als.base.awe.util;
import java.util.Map;
public class AweDoCommUtil {
public static String whereHandle(String sJboWhere,
Map<String, Object> paramMap) {
String where = sJboWhere;
String[] array = where.split(" ");
for (String str : array) {
if (!str.contains("=:"))
continue;
String[] array1 = str.split("=:");
if (array1.length < 2)
continue;
if (!array1[0].contains(".")) {
String newStr = array1[0] + "='" + paramMap.get(array1[0])
+ "'";
sJboWhere = sJboWhere.replace(str, newStr);
continue;
}
String[] array2 = array1[0].split("\\.");
if (array2.length < 2)
continue;
String newStr = array1[0] + "='"
+ paramMap.get(array2[1].toLowerCase()) + "'";
if (array1[1].endsWith(")")) {
newStr += ")";
}
sJboWhere = sJboWhere.replace(str, newStr);
}
return sJboWhere;
}
}

View File

@ -1,23 +0,0 @@
package apx.com.amarsoft.als.base.constant;
public class ResultConstant {
public static final String SUCCESS_RESULT_CODE = "SUCCESS";
public static final String FAIL_RESULT_CODE = "FAIL";
public static final String FAIL_ERROR_RESULT_CODE = "401";
public static final String FAIL_TOKEN_INVALID_CODE = "406";
public static final String FAIL_ERROR_MESSAGE_1 = "非法请求token不存在";
public static final String FAIL_ERROR_MESSAGE_0 = "系统出现异常,请联系管理员";
public static final String FAIL_RESULT_PARAM_LACK = "重要参数缺少!";
public static final String FAIL_TOKEN_INVALID_MESSAGE = "非法请求token不存在";
public static final String FAIL_SAVE = "保存失败";
public static final String FAIL_EDIT = "编辑失败";
public static final String FAIL_DELETE = "删除失败";
public static final String FAIL_INIT_DISPLAY = "初始化页面失败";
public static final String SUCCESS_SAVE = "保存成功";
public static final String SUCCESS_EDIT = "编辑成功";
public static final String SUCCESS_DELETE = "删除成功";
public static final String SUCCESS_INIT_DISPLAY = "初始化页面成功";
}

View File

@ -1,80 +0,0 @@
package apx.com.amarsoft.als.base.constant.cache;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import apx.com.amarsoft.als.base.util.BizObjectUtil;
import com.amarsoft.are.ARE;
import com.amarsoft.are.jbo.BizObject;
import com.amarsoft.are.jbo.BizObjectManager;
import com.amarsoft.are.jbo.BizObjectQuery;
import com.amarsoft.are.jbo.JBOException;
import com.amarsoft.are.jbo.JBOFactory;
import com.amarsoft.awe.util.Transaction;
import com.amarsoft.dict.als.cache.AbstractCache;
public class AppAweDoCache extends AbstractCache {
private static AppAweDoCache instance = null;
private static Map<String, Object> appAweDoCachePool = null;
public static synchronized AppAweDoCache getInstance() {
if (instance == null) {
instance = new AppAweDoCache();
}
return instance;
}
public static synchronized Map<String, Object> getAppAweDoCachePool() {
if (null == appAweDoCachePool)
appAweDoCachePool = new HashMap<String, Object>();
return appAweDoCachePool;
}
@Override
public synchronized void clear() throws Exception {
getAppAweDoCachePool().clear();
appAweDoCachePool = null;
}
@Override
public synchronized boolean load(Transaction arg0) throws Exception {
ARE.getLog().info("[CACHE] AppAweDOCache bulid Begin .................");
initAweDoCachePool();
ARE.getLog().info("[CACHE] AppAweDOCache bulid End ...................");
return true;
}
@SuppressWarnings("unchecked")
private synchronized void initAweDoCachePool() throws JBOException {
// begin awe_do_catalog/awe_do_library in cache
appAweDoCachePool = new HashMap<String, Object>();
BizObjectManager doCatalogBom = JBOFactory
.getBizObjectManager("jbo.awe.AWE_DO_CATALOG");
BizObjectQuery doCatalogBoq = doCatalogBom
.createQuery("1=1 and isinuse ='1'");
List<BizObject> doCatalogs = doCatalogBoq.getResultList(false);
for (BizObject doCatalog : doCatalogs) {
BizObjectUtil util = new BizObjectUtil();
Map<String, Object> map = util.bizObject2MapValue(doCatalog);
String dono = map.get("dono").toString();
BizObjectManager libraryBom = JBOFactory
.getBizObjectManager("jbo.app.AWE_DO_LIBRARY");
BizObjectQuery libraryBqm = libraryBom
.createQuery("isinuse ='1' AND dono='" + dono
+ "' ORDER BY SORTNO");
List<BizObject> librarys = libraryBqm.getResultList(false);
List<Map<String, Object>> list = new ArrayList<Map<String, Object>>();
for (BizObject library : librarys) {
Map<String, Object> libraryMap = util.bizObject2MapValue(library);
list.add(libraryMap);
}
map.put("library", list);
appAweDoCachePool.put(dono, map);
}
// end
}
}

View File

@ -1,94 +0,0 @@
package apx.com.amarsoft.als.base.constant.cache;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import apx.com.amarsoft.als.base.util.BizObjectUtil;
import com.amarsoft.are.ARE;
import com.amarsoft.are.jbo.BizObject;
import com.amarsoft.are.jbo.BizObjectManager;
import com.amarsoft.are.jbo.BizObjectQuery;
import com.amarsoft.are.jbo.JBOException;
import com.amarsoft.are.jbo.JBOFactory;
import com.amarsoft.awe.util.Transaction;
import com.amarsoft.dict.als.cache.AbstractCache;
public class AppCodeCache extends AbstractCache {
private static Map<String, Object> appCodeCachePool = null;
private static AppCodeCache instance = null;
public static synchronized AppCodeCache getInstance() {
if (instance == null) {
instance = new AppCodeCache();
}
return instance;
}
public static Map<String, Object> getAppCodeCachePool() {
return appCodeCachePool;
}
public synchronized Map<String, Object> getCacheMapPool() {
if (appCodeCachePool == null)
appCodeCachePool = new HashMap<String, Object>();
return appCodeCachePool;
}
@Override
public synchronized void clear() throws Exception {
getCacheMapPool().clear();
appCodeCachePool = null;
}
@Override
public synchronized boolean load(Transaction arg0) throws Exception {
ARE.getLog().info("[APPKICKOFFLINE] Begin .................");
kickOffline();
ARE.getLog().info("[APPKICKOFFLINE] End.................");
ARE.getLog().info("[CACHE] AppCodeCache bulid Begin .................");
initCodeCachePool();
ARE.getLog().info("[CACHE] AppCodeCache bulid End ...................");
return true;
}
@SuppressWarnings("unchecked")
private synchronized void kickOffline() throws JBOException {
BizObjectManager bom = JBOFactory.getBizObjectManager("jbo.guaranty.TOKEN_SESSION");
List<BizObject> bos = bom.createQuery("1=1").getResultList(false);
for (BizObject bo : bos)
bom.deleteObject(bo);
}
@SuppressWarnings("unchecked")
private synchronized void initCodeCachePool() throws JBOException {
appCodeCachePool = new HashMap<String, Object>();
// begin code_catalog/code_library in cache
BizObjectManager catalogBom = JBOFactory
.getBizObjectManager("jbo.sys.CODE_CATALOG");
BizObjectQuery catalogBoq = catalogBom
.createQuery("1=1");
List<BizObject> catalogs = catalogBoq.getResultList(false);
for (BizObject catalog : catalogs) {
BizObjectUtil util = new BizObjectUtil();
Map<String, Object> map = util.bizObject2MapValue(catalog);
String codeno = map.get("codeno").toString();
BizObjectManager libraryBom = JBOFactory
.getBizObjectManager("jbo.sys.CODE_LIBRARY");
BizObjectQuery libraryBqm = libraryBom
.createQuery("isinuse ='1' AND CODENO='" + codeno
+ "' ORDER BY SORTNO");
List<BizObject> librarys = libraryBqm.getResultList(false);
List<Map<String, Object>> list = new ArrayList<Map<String, Object>>();
for (BizObject library : librarys) {
Map<String, Object> libraryMap = util.bizObject2MapValue(library);
list.add(libraryMap);
}
map.put("library", list);
AppCodeCache.appCodeCachePool.put(codeno, map);
}
// end
}
}

View File

@ -1,25 +0,0 @@
package apx.com.amarsoft.als.base.jbo;
import java.util.List;
import com.amarsoft.are.jbo.BizObject;
import com.amarsoft.are.jbo.JBOTransaction;
public interface AppConfigJbo {
/**
* 根据设备类型查询APP版本
*
* @param tx
* @param devType
* @return
*/
List<BizObject> findNewAppVersion(JBOTransaction tx, String devType);
/**
* 获取所有APP配置流程s
*
* @param tx
* @return
*/
List<BizObject> findAppFlow(JBOTransaction tx);
}

View File

@ -1,124 +0,0 @@
package apx.com.amarsoft.als.base.jbo;
import java.util.List;
import com.amarsoft.are.jbo.BizObject;
import com.amarsoft.are.jbo.JBOTransaction;
public interface CustomerJbo {
/**
* 根据客户类型法人 自然人获取客户列表
*
* @param tx
* @param custType
* @param sOtherWhere
* @return
*/
List<BizObject> customerList(JBOTransaction tx, String custType,
String sOtherWhere);
/**
* 根据客户ID 获取客户基本信息
*
* @param tx
* @param sCustomerId
* @return
*/
BizObject getCustomerById(JBOTransaction tx, String sCustomerId);
/**
* 根据客户ID 获取客户个人信息
*
* @param tx
* @param sCustomerId
* @return
*/
BizObject getPersonById(JBOTransaction tx, String sCustomerId);
/**
* 根据客户ID 获取公司信息
*
* @param tx
* @param sCustomerId
* @return
*/
BizObject getCompanyById(JBOTransaction tx, String sCustomerId);
/**
* 根据客户ID 获取客户类型
*
* @param tx
* @param sCustomerId
* @return
*/
BizObject getTypeById(JBOTransaction tx, String sCustomerId);
/**
* 根据客户ID 获取客户绑定联系电话列表
*
* @param tx
* @param sCustomerId
* @return
*/
List<BizObject> getCustomerBindingTelByCustomerId(JBOTransaction tx,
String sCustomerId);
/**
* 根据客户ID 获取客户绑定联系地址列表
*
* @param tx
* @param sCustomerId
* @return
*/
List<BizObject> getCustomerBindingAddressByCustomerId(JBOTransaction tx,
String sCustomerId);
/**
* 根据客户ID 获取客户绑定证件列表
*
* @param tx
* @param sCustomerId
* @return
*/
List<BizObject> getCustomerBindingCertByCustomerId(JBOTransaction tx,
String sCustomerId);
/**
* 根据客户ID 获取客户绑定银行账户列表
*
* @param tx
* @param sCustomerId
* @return
*/
List<BizObject> getCustomerBindingAccountByCustomerId(JBOTransaction tx,
String sCustomerId);
/**
* 根据客户ID 获取客户拜访记录
*
* @param tx
* @param sCustomerId
* @return
*/
List<BizObject> getCustomerVisitRecordListByCustomerId(JBOTransaction tx,
String sCustomerId);
/**
* 根据客户ID 获取客户交易记录
*
* @param tx
* @param sCustomerId
* @return
*/
List<BizObject> getCustomerHistoryRecordByCustomerId(JBOTransaction tx,
String sCustomerId);
/**
* 根据客户附件ID 获取客户拜访记录附件
*
* @param tx
* @param sCustomerId
* @return
*/
List<BizObject> getCustomerVisitFileListByRelaid(JBOTransaction tx,
String sRelaid);
}

Some files were not shown because too many files have changed in this diff Show More