Merge branch 'release20211231' into ap007
This commit is contained in:
commit
db00e1ee7d
@ -50,9 +50,10 @@
|
||||
dwTemp.Style="1"; //设置为Grid风格
|
||||
//dwTemp.MultiSelect = true;//允许多选
|
||||
dwTemp.ReadOnly = "1";//编辑模式
|
||||
doTemp.setVisible("ACTIONA","1040".equals(sPhaseType));
|
||||
dwTemp.genHTMLObjectWindow("");
|
||||
String sButtons[][] = applyManager.getButtonArr();
|
||||
|
||||
|
||||
//control distributor(temporary)
|
||||
List<String[]> buttonLists = Arrays.asList(sButtons);
|
||||
buttonLists = new ArrayList<String[]>(buttonLists);
|
||||
@ -101,4 +102,4 @@
|
||||
%>
|
||||
<%@include file="/Tenwa/Core/FlowManager/BaseFunction/FlowCommButton.jspf"%>
|
||||
<%/*~END~*/%>
|
||||
<%@include file="/Frame/resources/include/ui/include_list.jspf"%>
|
||||
<%@include file="/Frame/resources/include/ui/include_list.jspf"%>
|
||||
|
||||
@ -72,7 +72,7 @@ FlowFunction.doSubmit=function(sObjectType,sObjectNo,sTaskNo,sFlowName,sFlowNo,s
|
||||
var result= AsControl.RunJavaMethodTrans("com.tenwa.flow.treeview.action.CheckAndSaveTreeView","run","TaskNo="+sTaskNo);
|
||||
if(result!="success"){alert(result);return false;}
|
||||
//检查是否签署意见
|
||||
var isOpitionRequire=AsControl.RunJavaMethodTrans("com.amarsoft.app.flow.FlowAction","getIsOpitionsRequire","flowNo="+sFlowNo+",phaseNo="+sPhaseNo)
|
||||
var isOpitionRequire=AsControl.RunJavaMethodTrans("com.amarsoft.app.flow.FlowAction","getIsOpitionsRequire","flowNo="+sFlowNo+",phaseNo="+sPhaseNo)
|
||||
if(isOpitionRequire=="Y"){
|
||||
var sReturn = AsControl.RunJavaMethodTrans("com.amarsoft.app.flow.FlowAction","isSignOpinion","TaskNo="+sTaskNo);//返回值: yes-有意见; no-无意见; error-查询出错
|
||||
if(sReturn!="yes") {
|
||||
@ -81,44 +81,53 @@ FlowFunction.doSubmit=function(sObjectType,sObjectNo,sTaskNo,sFlowName,sFlowNo,s
|
||||
}
|
||||
return;
|
||||
}}
|
||||
autoRiskScan(sFlowName,"TaskNo="+sTaskNo+"&ObjectType="+sObjectType+"&ObjectNo="+sObjectNo+"&FlowNo="+sFlowNo+"&PhaseNo="+sPhaseNo+"&isAutoCommit=false",sPhaseNo,function(riskMessage){
|
||||
if(riskMessage != true){
|
||||
return;
|
||||
}
|
||||
if(assignSubmitType=="1"){
|
||||
var isResult=AsControl.RunJavaMethodTrans("com.amarsoft.app.flow.FlowAction","doFinishAssignTask","TaskNo="+sTaskNo+",userID=<%=CurUser.getUserID()%>");
|
||||
if(isResult=="SUCCESS"){
|
||||
var sFlowLogContent="<%=CurUser.getUserName()%>在"+"@时提交流程";
|
||||
this.insertFlowLog(sObjectNo, sTaskNo, sFlowLogContent);
|
||||
alert("流程提交成功");
|
||||
FlowFunction.successCallBackReload();
|
||||
}else{
|
||||
alert("流程提交失败");
|
||||
}
|
||||
}else{
|
||||
//处理退回直接提交的任务
|
||||
var res = AsControl.RunJavaMethodTrans("com.amarsoft.app.flow.FlowAction","checkBackType","TaskNo="+sTaskNo+",userID=<%=CurUser.getUserID()%>");
|
||||
if(res == "success") {
|
||||
var sFlowLogContent="<%=CurUser.getUserName()%>在"+"@时提交流程";
|
||||
this.insertFlowLog(sObjectNo, sTaskNo, sFlowLogContent);
|
||||
alert("提交成功");
|
||||
FlowFunction.successCallBackReload();
|
||||
return;
|
||||
}
|
||||
|
||||
AsDialog.PopView("/Common/WorkFlow/FlowSubmitDialog.jsp","TaskNo="+sTaskNo,"dialogWidth=850px;dialogHeight=550px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(sPhaseInfo){
|
||||
if(typeof(sPhaseInfo)=="undefined" || sPhaseInfo=="" || sPhaseInfo==null || sPhaseInfo=="null" || sPhaseInfo=="_CANCEL_") {
|
||||
return;
|
||||
}else if(sPhaseInfo == "Success" || sPhaseInfo == "success"){
|
||||
var sFlowLogContent="<%=CurUser.getUserName()%>在"+"@时提交流程";
|
||||
this.insertFlowLog(sObjectNo, sTaskNo, sFlowLogContent);
|
||||
alert("提交成功!");
|
||||
FlowFunction.successCallBackReload();
|
||||
}else{
|
||||
alert(sPhaseInfo);
|
||||
}
|
||||
},"提交下一步");}
|
||||
},sFlowName+":预警检查");
|
||||
//判断经销商留言是否填写
|
||||
if (sPhaseNo != "0010" && sPhaseNo != "0020") {
|
||||
var isopenmassge = AsControl.RunJavaMethodTrans("com.amarsoft.app.flow.FlowAction", "getjxsmessage", "TaskNo=" + sTaskNo);
|
||||
if (isopenmassge == "Y") {
|
||||
return this.getDealerMessage(sObjectNo, sPhaseNo, sTaskNo);
|
||||
}
|
||||
}
|
||||
|
||||
autoRiskScan(sFlowName,"TaskNo="+sTaskNo+"&ObjectType="+sObjectType+"&ObjectNo="+sObjectNo+"&FlowNo="+sFlowNo+"&PhaseNo="+sPhaseNo+"&isAutoCommit=false",sPhaseNo,function(riskMessage){
|
||||
if(riskMessage != true){
|
||||
return;
|
||||
}
|
||||
if(assignSubmitType=="1"){
|
||||
var isResult=AsControl.RunJavaMethodTrans("com.amarsoft.app.flow.FlowAction","doFinishAssignTask","TaskNo="+sTaskNo+",userID=<%=CurUser.getUserID()%>");
|
||||
if(isResult=="SUCCESS"){
|
||||
var sFlowLogContent="<%=CurUser.getUserName()%>在"+"@时提交流程";
|
||||
this.insertFlowLog(sObjectNo, sTaskNo, sFlowLogContent);
|
||||
alert("流程提交成功");
|
||||
FlowFunction.successCallBackReload();
|
||||
}else{
|
||||
alert("流程提交失败");
|
||||
}
|
||||
}else{
|
||||
//处理退回直接提交的任务
|
||||
var res = AsControl.RunJavaMethodTrans("com.amarsoft.app.flow.FlowAction","checkBackType","TaskNo="+sTaskNo+",userID=<%=CurUser.getUserID()%>");
|
||||
if(res == "success") {
|
||||
var sFlowLogContent="<%=CurUser.getUserName()%>在"+"@时提交流程";
|
||||
this.insertFlowLog(sObjectNo, sTaskNo, sFlowLogContent);
|
||||
alert("提交成功");
|
||||
FlowFunction.successCallBackReload();
|
||||
return;
|
||||
}
|
||||
|
||||
AsDialog.PopView("/Common/WorkFlow/FlowSubmitDialog.jsp","TaskNo="+sTaskNo,"dialogWidth=850px;dialogHeight=550px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(sPhaseInfo){
|
||||
if(typeof(sPhaseInfo)=="undefined" || sPhaseInfo=="" || sPhaseInfo==null || sPhaseInfo=="null" || sPhaseInfo=="_CANCEL_") {
|
||||
return;
|
||||
}else if(sPhaseInfo == "Success" || sPhaseInfo == "success"){
|
||||
var sFlowLogContent="<%=CurUser.getUserName()%>在"+"@时提交流程";
|
||||
this.insertFlowLog(sObjectNo, sTaskNo, sFlowLogContent);
|
||||
alert("提交成功!");
|
||||
FlowFunction.successCallBackReload();
|
||||
}else{
|
||||
alert(sPhaseInfo);
|
||||
}
|
||||
},"提交下一步");}
|
||||
},sFlowName+":预警检查");
|
||||
|
||||
};
|
||||
/*~[Describe=退回申请;InputParam=无;OutPutParam=无;]~*/
|
||||
FlowFunction.successCallBackReload=function(){
|
||||
@ -139,6 +148,15 @@ FlowFunction.backStep=function(sObjectType,sObjectNo,sFlowNo,sPhaseNo,sTaskNo,sF
|
||||
}
|
||||
return;
|
||||
}}
|
||||
|
||||
//判断经销商留言是否填写
|
||||
if (sPhaseNo != "0010" && sPhaseNo != "0020") {
|
||||
var isopenmassge = AsControl.RunJavaMethodTrans("com.amarsoft.app.flow.FlowAction", "getjxsmessage", "TaskNo=" + sTaskNo);
|
||||
if (isopenmassge == "Y") {
|
||||
return this.getDealerMessage(sObjectNo, sPhaseNo, sTaskNo);
|
||||
}
|
||||
}
|
||||
|
||||
if(sFlowName=="业务申请流程"){
|
||||
autoRiskScan(sFlowName,"TaskNo="+sTaskNo+"&ObjectType="+sObjectType+"&ObjectNo="+sObjectNo+"&FlowNo="+sFlowNo+"&PhaseNo="+sPhaseNo+"&isAutoCommit=false",sPhaseNo,function(riskMessage){
|
||||
if(riskMessage != true){
|
||||
@ -243,6 +261,16 @@ FlowFunction.signOpinion=function(sObjectType,sObjectNo,sFlowNo,sPhaseNo,isLoadS
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 经销商留言
|
||||
*/
|
||||
FlowFunction.getDealerMessage=function(sObjectNo,sPhaseNo,sTaskNo){
|
||||
var param = "flowunid="+sObjectNo+"&phaseNo="+sPhaseNo+"&taskno="+sTaskNo+"&userid=<%=CurPage.getUserId()%>&orgid=<%=CurPage.getUser().getOrgID()%>";
|
||||
var sUrl = "/Tenwa/Customer/Lessee/Comm/Communication/Communication_info.jsp";
|
||||
AsDialog.PopView(sUrl,param,"resizable=yes;dialogWidth=1000px;dialogHeight=400px;center:yes;status:no;statusbar:no",function(){},"经销商留言");
|
||||
}
|
||||
|
||||
/*~[Describe=查看意见;InputParam=无;OutPutParam=无;]~*/
|
||||
FlowFunction.viewOpinions=function (sObjectType,sObjectNo,sFlowNo,sPhaseNo){
|
||||
AsDialog.PopView("/Common/WorkFlow/ViewFlowOpinions.jsp","FlowNo="+sFlowNo+"&PhaseNo="+sPhaseNo+"&ObjectType="+sObjectType+"&ObjectNo="+sObjectNo,"","","流程审批意见");
|
||||
|
||||
@ -13,8 +13,8 @@
|
||||
Content: 业务申请主界面
|
||||
Input Param:
|
||||
Output param:
|
||||
History Log:
|
||||
|
||||
History Log:
|
||||
|
||||
*/
|
||||
%>
|
||||
<%/*~END~*/%>
|
||||
@ -34,18 +34,18 @@
|
||||
String sPrdStage = ""; //产品阶段
|
||||
String isPageRead=""; //业务页面是否只读
|
||||
String viewOperatorClass="";//视图处理类
|
||||
|
||||
|
||||
HashMap<String,String>FlowFixedParam=GetFlowAction.getFlowParamByTask(CurPage.getParameter("TaskNo"),CurPage);
|
||||
|
||||
HashMap<String,String>FlowFixedParam=GetFlowAction.getFlowParamByTask(CurPage.getParameter("TaskNo"),CurPage);
|
||||
FlowFixedParam.put("delTabs", CurPage.getParameter("delTabs"));
|
||||
FlowFixedParam.putAll(GetFlowAction.getFlowParamByFlowUnid(FlowFixedParam.get("ObjectNo")));
|
||||
BizObject flowBussinessObject = GetFlowAction.getFlowBussinessObject(FlowFixedParam.get("ObjectNo")); //流程业务对象
|
||||
FlowFixedParam.put("ProductId", flowBussinessObject.getAttribute("productId").getString());
|
||||
BizObject flowModel = GetFlowAction.getFlowModelParams(FlowFixedParam.get("FlowNo"),FlowFixedParam.get("PhaseNo")); //ÈÎÎñÅäÖÃ
|
||||
BizObject flowModel = GetFlowAction.getFlowModelParams(FlowFixedParam.get("FlowNo"),FlowFixedParam.get("PhaseNo")); //ÈÎÎñÅäÖÃ
|
||||
isPageRead=flowModel.getAttribute("ISREADONLY").getString(); //业务页面是否只读
|
||||
FlowFixedParam.put("ProductStage", flowModel.getAttribute("ATTRIBUTE4").getString()); //²úÆ·½×¶Î
|
||||
FlowFixedParam.put("ProductStage", flowModel.getAttribute("ATTRIBUTE4").getString()); //²úÆ·½×¶Î
|
||||
if(null!=isPageRead&&isPageRead.endsWith("Y")){
|
||||
FlowFixedParam.put("RightType", "ReadOnly"); //如果
|
||||
}
|
||||
}
|
||||
JBOTransaction tx=JBOFactory.createJBOTransaction();
|
||||
%>
|
||||
<%/*~END~*/%>
|
||||
@ -72,7 +72,7 @@
|
||||
var node = getCurTVItem();
|
||||
var sValue = node.value;
|
||||
if(!sValue) return;
|
||||
|
||||
|
||||
var navigation = sValue.split("@");
|
||||
var target = "right";
|
||||
var sCurItemname = node.name;
|
||||
@ -82,7 +82,7 @@
|
||||
AsControl.OpenView(navigation[0], navigation[1], target);
|
||||
setTitle(sCurItemname);
|
||||
}
|
||||
|
||||
|
||||
<%/*~[Describe=生成treeview;InputParam=无;OutPutParam=无;]~*/%>
|
||||
function initTreeVeiw(){
|
||||
<%=tviTemp.generateHTMLTreeView()%>
|
||||
@ -91,7 +91,7 @@
|
||||
myleft.width = 200;
|
||||
}
|
||||
initTreeVeiw();
|
||||
</script>
|
||||
</script>
|
||||
<%/*~END~*/%>
|
||||
|
||||
|
||||
@ -100,7 +100,7 @@
|
||||
function showImage(){
|
||||
window.parent.showImage();
|
||||
}
|
||||
|
||||
|
||||
function editImage(ul){
|
||||
window.parent.editImage(ul);
|
||||
}
|
||||
|
||||
@ -1,11 +1,8 @@
|
||||
<%@page import="com.tenwa.httpclient.resources.QuartzPropertiesUtil"%>
|
||||
<%@page import="com.amarsoft.biz.workflow.FlowTask"%>
|
||||
<%@page import="com.amarsoft.dict.als.manage.CodeManager"%>
|
||||
<%@page import="com.amarsoft.app.lc.workflow.action.GetFlowAction"%>
|
||||
<%@page import="com.tenwa.flow.tabviewservice.*"%>
|
||||
<%@page import="com.amarsoft.dict.als.object.Item"%>
|
||||
<%@page import="com.amarsoft.are.jbo.BizObject"%>
|
||||
<%@page import="com.amarsoft.app.lc.taskObject.TaskObjectManager"%>
|
||||
<%@page import="com.tenwa.flow.tabviewservice.FlowTaskViewTab"%>
|
||||
<%@page import="com.tenwa.flow.tabviewservice.FlowTaskViewTabService"%>
|
||||
<%@page import="com.tenwa.httpclient.resources.QuartzPropertiesUtil"%>
|
||||
<%@page import="org.apache.commons.lang3.StringUtils"%>
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/IncludeBegin.jsp"%>
|
||||
<%@include file="/Tenwa/Core/FlowManager/BaseFunction/BaseFlowListFunction.jspf" %>
|
||||
@ -15,6 +12,7 @@
|
||||
String rightType = CurPage.getParameter("RightType");
|
||||
String ViewID = CurPage.getParameter("ViewID");
|
||||
String ReaderId = CurPage.getParameter("ReaderId");
|
||||
String delTabs = CurPage.getParameter("delTabs");
|
||||
String title = CurComp.getParameter("Title");
|
||||
if(title != null && !title.startsWith("传阅")) {
|
||||
ReaderId = "";
|
||||
@ -23,7 +21,7 @@
|
||||
if(ReaderId==null){ReaderId="";}
|
||||
if(rightType==null){rightType="";}
|
||||
if(ViewID==null){ViewID="";}
|
||||
HashMap<String,String>FlowFixedParam=GetFlowAction.getFlowParamByTask(taskNo,CurPage);
|
||||
HashMap<String,String>FlowFixedParam=GetFlowAction.getFlowParamByTask(taskNo,CurPage);
|
||||
String custid=CurUser.getUserName();
|
||||
if(FlowFixedParam.get("AgentFlowUser").length()>0){
|
||||
if(!custid.equals(FlowFixedParam.get("AgentFlowUser"))&&custid.equals(FlowFixedParam.get("CurFlowUser"))){
|
||||
@ -35,7 +33,7 @@
|
||||
taskNo=FlowFixedParam.get("TaskNo");
|
||||
Map<String,String>startMap=GetFlowAction.getFlowParamByFlowUnid(FlowFixedParam.get("ObjectNo"));
|
||||
FlowTaskViewTab viewTab = new FlowTaskViewTab(taskNo,CurUser.getUserName());
|
||||
|
||||
|
||||
//control distributor(temporary)
|
||||
boolean flag = false;
|
||||
List<String> roles = CurUser.getRoleTable();
|
||||
@ -58,16 +56,18 @@
|
||||
<div>
|
||||
<span style="width:70%;display:inline-block; ">
|
||||
<%
|
||||
|
||||
|
||||
//显示按钮
|
||||
if(viewTab.getButtonItemList().size()==0) out.write("<span> </span>");
|
||||
if(rightType.equals("ReadOnly") || !ReaderId.equals("")){
|
||||
if(ReaderId.equals("")){
|
||||
out.write(new Button("关闭流程", "关闭流程", "closePage()", "", "btn_icon_close").getHtmlText());
|
||||
if (StringUtils.isEmpty(delTabs)) {
|
||||
out.write(new Button("关闭流程", "关闭流程", "closePage()", "", "btn_icon_close").getHtmlText());
|
||||
}
|
||||
}else{
|
||||
rightType = "ReadOnly";
|
||||
out.write(new Button("关闭流程", "关闭流程", "closePage()", "", "btn_icon_close").getHtmlText());
|
||||
out.write(new Button("结束传阅", "结束传阅", "closePassed()", "", "btn_icon_add").getHtmlText());
|
||||
out.write(new Button("关闭流程", "关闭流程", "closePage()", "", "btn_icon_close").getHtmlText());
|
||||
out.write(new Button("结束传阅", "结束传阅", "closePassed()", "", "btn_icon_add").getHtmlText());
|
||||
}
|
||||
}else{
|
||||
for(Button bt : viewTab.getButtonItemList()){
|
||||
@ -106,11 +106,12 @@ $(document).ready(function(){
|
||||
argmap.put("RightType",rightType);
|
||||
argmap.put("IsHistory", viewTab.getIsHistory());
|
||||
argmap.put("ViewID",ViewID);
|
||||
if(StringUtils.isNotBlank(delTabs))argmap.put("delTabs",delTabs);
|
||||
String viewTabInfo = FlowTaskViewTabService.showViewObjectTabInfo(viewTab.getViewTabItemList(), argmap, Sqlca);
|
||||
out.println(viewTabInfo);
|
||||
%>
|
||||
//如果使用addDataItem,则必需调用init()函数
|
||||
tabCompent.initTab();
|
||||
tabCompent.initTab();
|
||||
});
|
||||
/*~[Describe=详情打开;InputParam=无;OutPutParam=无;]~*/
|
||||
function openObjectInTab(objectType,objectNo,viewID,position){
|
||||
@ -170,13 +171,13 @@ $(function(){
|
||||
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")%>";
|
||||
//paramJson["Assignfinish"]="<%=FlowFixedParam.get("Assignfinish")%>";
|
||||
//paramJson["AssignSubmittype"]="<%=FlowFixedParam.get("AssignSubmittype")%>";
|
||||
//paramJson["EndTime"]="<%=FlowFixedParam.get("EndTime")%>";
|
||||
|
||||
|
||||
var assignInfo = AsControl.RunJavaMethodTrans("com.tenwa.flow.task.FlowAssignUserInfo","getFlowAssignUserInfo","TaskNo="+paramJson["TaskNo"]);
|
||||
var vInfo=assignInfo.split("@");
|
||||
paramJson["CurFlowUser"]=vInfo[0];
|
||||
@ -186,7 +187,7 @@ $(function(){
|
||||
if(vInfo.length>=5){
|
||||
paramJson["EndTime"]=vInfo[4];
|
||||
}
|
||||
|
||||
|
||||
return paramJson;
|
||||
};
|
||||
FlowFunction.successCallBackReload=function(){
|
||||
@ -198,9 +199,9 @@ function closePassed(){
|
||||
}
|
||||
function setConfigFlowToOtherUser(){
|
||||
var param=FlowFunction.loadFlowParam();
|
||||
var tasknos=param["TaskNo"];
|
||||
var userids=param["CurFlowUser"];
|
||||
var agentName=param["AgentFlowUser"];
|
||||
var tasknos=param["TaskNo"];
|
||||
var userids=param["CurFlowUser"];
|
||||
var agentName=param["AgentFlowUser"];
|
||||
var curUser="<%=CurUser.getUserID()%>";
|
||||
if(userids!=curUser){
|
||||
alert("别人委托或指派给你的流程不能指派给其他人");
|
||||
@ -211,13 +212,13 @@ function setConfigFlowToOtherUser(){
|
||||
return false;
|
||||
}
|
||||
FlowFunction.setConfigFlowToOtherUser(curUser,tasknos.split(","),param["ObjectNo"]);
|
||||
|
||||
|
||||
|
||||
}
|
||||
function deleteConfigFlowToOtherUser(){
|
||||
var param=FlowFunction.loadFlowParam();
|
||||
var tasknos=param["TaskNo"];
|
||||
var agentName=param["AgentFlowUser"];
|
||||
var tasknos=param["TaskNo"];
|
||||
var agentName=param["AgentFlowUser"];
|
||||
if (typeof(tasknos)=="undefined" || tasknos.length==0){
|
||||
alert(getHtmlMessage('1'));//请选择一条信息!
|
||||
return;
|
||||
@ -249,8 +250,8 @@ function editImage(ul){
|
||||
viewer = new Viewer(document.getElementById('dowebok'), {
|
||||
url: 'data-original'
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<script src="<%=sWebRootPath%>/js/viewpicture/js/viewer.min.js"></script>
|
||||
<%@ include file="/IncludeEnd.jsp"%>
|
||||
<%@ include file="/IncludeEnd.jsp"%>
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
|
||||
dwTemp.Style = "2";//freeform
|
||||
dwTemp.genHTMLObjectWindow(id);
|
||||
dwTemp.genHTMLObjectWindow("1");
|
||||
String sButtons[][] = {
|
||||
{"true","","Button","保存","保存所有修改","saveRecord()","","","","btn_icon_save"}
|
||||
};
|
||||
|
||||
@ -0,0 +1,89 @@
|
||||
<%@page import="com.itextpdf.text.log.SysoCounter"%>
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@include file="/Frame/resources/include/include_begin_info.jspf"%><%
|
||||
|
||||
String id = CurPage.getParameter("id");//ID
|
||||
String flowunid = CurPage.getParameter("flowunid");//流程编号
|
||||
String phaseNo = CurPage.getAttribute("phaseNo"); //流程节点
|
||||
String taskno=CurPage.getParameter("taskno"); //流程节点ID
|
||||
String userid=CurPage.getParameter("userid");//当前登录人
|
||||
String orgid=CurPage.getParameter("orgid");//当前登录部门
|
||||
|
||||
|
||||
String username = Sqlca.getString("select username from user_info ui where userid = '"+userid+"'");
|
||||
String orgname = Sqlca.getString("select orgname from org_info oi where orgid = '"+orgid+"'");
|
||||
|
||||
//判断修改人是否为提交人
|
||||
String comm = Sqlca.getString("select case when phaseno = '"+phaseNo+"' and inputuser = '"+userid+"' then 'false' else 'true' end as comm from communication where id = '"+id+"'");
|
||||
|
||||
String sPrevUrl = CurPage.getParameter("PrevUrl");
|
||||
if(sPrevUrl == null) sPrevUrl = "/Tenwa/Customer/Lessee/Comm/Communication/Communication_list.jsp";
|
||||
String sTempletNo = "COMMUNICATION_INFO";//--模板号--
|
||||
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
|
||||
dwTemp.Style = "2";//freeform
|
||||
//dwTemp.ReadOnly = "0";//只读模式
|
||||
dwTemp.genHTMLObjectWindow(CurPage.getParameter("ID"));
|
||||
|
||||
String sButtons[][] = {
|
||||
{"true", "All", "Button", "保存","保存所有修改", "saveRecord()", "", "", "", ""},
|
||||
};
|
||||
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||||
<script type="text/javascript">
|
||||
|
||||
window.onload=function(){
|
||||
var today = new Date();
|
||||
setItemValue(0,0,"flowunid",'<%=flowunid%>');
|
||||
setItemValue(0,0,"phaseno",'<%=phaseNo%>');
|
||||
setItemValue(0,0,"taskno",'<%=taskno%>');
|
||||
setItemValue(0,0,"username",'<%=username%>');
|
||||
setItemValue(0,0,"orgname",'<%=orgname%>');
|
||||
setItemValue(0,0,"inputtime",getNowFormatDate());
|
||||
};
|
||||
|
||||
function goBack(){
|
||||
parent.AsDialog.ClosePage();
|
||||
}
|
||||
|
||||
function saveRecord(){
|
||||
var comm = "<%=comm%>";
|
||||
if(comm == "false"){
|
||||
alert("只有录入人可以修改! ");
|
||||
goBack();
|
||||
}else {
|
||||
var remark = getItemValue(0,0,"remark");
|
||||
var time = getNowFormatDate();
|
||||
var param = "flowunid=<%=flowunid%>,phaseNo=<%=phaseNo%>,taskno=<%=taskno%>,userid=<%=userid%>,orgid=<%=orgid%>,remark="+remark+",time="+time+",id=<%=id%>";
|
||||
var Return = AsControl.RunJavaMethodTrans("com.tenwa.voucher.CreateVoucherProcess.Communicationsave","soleVerify",param);
|
||||
if(Return=="true"){
|
||||
alert("保存成功! ");
|
||||
goBack();
|
||||
}else{
|
||||
alert("保存失败,请联系管理员! ");
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function getNowFormatDate() {
|
||||
var date = new Date();
|
||||
var seperator1 = "/";
|
||||
var seperator2 = ":";
|
||||
var month = date.getMonth() + 1;
|
||||
var strDate = date.getDate();
|
||||
if (month >= 1 && month <= 9) {
|
||||
month = "0" + month;
|
||||
}
|
||||
if (strDate >= 0 && strDate <= 9) {
|
||||
strDate = "0" + strDate;
|
||||
}
|
||||
var currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate
|
||||
+ " " + date.getHours() + seperator2 + date.getMinutes()
|
||||
+ seperator2 + date.getSeconds();
|
||||
|
||||
|
||||
return currentdate;
|
||||
}
|
||||
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
@ -0,0 +1,73 @@
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
|
||||
|
||||
//String PG_TITLE = "微信对公账号维护"; // 浏览器窗口标题 <title> PG_TITLE </title>
|
||||
|
||||
String flowunid = CurPage.getParameter("ObjectNo");//流程编号
|
||||
String phaseNo = CurPage.getAttribute("PhaseNo"); //流程节点
|
||||
String taskno=CurPage.getParameter("TaskNo"); //流程节点ID
|
||||
String userid = CurPage.getUserId();//当前登录人
|
||||
String orgid = CurPage.getUser().getOrgID();//当前登录部门
|
||||
|
||||
String communicationid = Sqlca.getString("select id from communication where flowunid = '"+flowunid+"' and phaseno = '"+phaseNo+"'");
|
||||
if(communicationid==null){
|
||||
communicationid = "null";
|
||||
}
|
||||
|
||||
ASObjectModel doTemp = new ASObjectModel("COMMUNICATION_LIST");
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
|
||||
dwTemp.Style="1"; //--设置为Grid风格--
|
||||
//dwTemp.MultiSelect = true; //多选
|
||||
dwTemp.ReadOnly = "1"; //只读模式
|
||||
dwTemp.setPageSize(20);
|
||||
dwTemp.genHTMLObjectWindow(flowunid);
|
||||
String sButtons[][] = {
|
||||
{"true","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""},
|
||||
// {"true","","Button","修改","修改","viewAndEdit()","","","","btn_icon_edit",""},
|
||||
// {"true","All","Button","删除","删除","deleteRecord()","","","","btn_icon_delete",""},
|
||||
};
|
||||
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
|
||||
<script type="text/javascript">
|
||||
var Id;
|
||||
var contractNoArray;
|
||||
var batchNoArray;
|
||||
|
||||
|
||||
function newRecord(){
|
||||
var param = "flowunid=<%=flowunid%>&phaseNo=<%=phaseNo%>&taskno=<%=taskno%>&userid=<%=userid%>&orgid=<%=orgid%>";
|
||||
var sUrl = "/Tenwa/Customer/Lessee/Comm/Communication/Communication_info.jsp";
|
||||
AsDialog.PopView(sUrl,param,"resizable=yes;dialogWidth=1000px;dialogHeight=400px;center:yes;status:no;statusbar:no",function(){
|
||||
reloadSelf();},"新增信息");
|
||||
}
|
||||
|
||||
function viewAndEdit(){
|
||||
var sUrl = "/Tenwa/Customer/Lessee/Comm/Communication/Communication_info.jsp";
|
||||
var id = getItemValue(0,getRow(0),'ID');
|
||||
var param = "flowunid=<%=flowunid%>&phaseNo=<%=phaseNo%>&taskno=<%=taskno%>&userid=<%=userid%>&orgid=<%=orgid%>&id="+id;
|
||||
if(typeof(id)=="undefined" || id.length==0 ){
|
||||
alert("参数不能为空!");
|
||||
return ;
|
||||
}
|
||||
AsDialog.PopView(sUrl,param,"resizable=yes;dialogWidth=1000px;dialogHeight=400px;center:yes;status:no;statusbar:no",function(){reloadSelf();},"修改信息");
|
||||
}
|
||||
|
||||
|
||||
function deleteRecord(){
|
||||
var id = getItemValue(0,getRow(0),'id');
|
||||
if(typeof(id)=="undefined" || id.length==0 ){
|
||||
alert("请选择一条信息!");
|
||||
return ;
|
||||
}
|
||||
if(confirm('确实要删除吗?')){
|
||||
var param = "flowunid=<%=flowunid%>,phaseNo=<%=phaseNo%>,taskno=<%=taskno%>,userid=<%=userid%>,orgid=<%=orgid%>,id="+id+",type=delete";
|
||||
var Return = AsControl.RunJavaMethodTrans("com.tenwa.voucher.CreateVoucherProcess.Communicationsave","soleVerify",param);
|
||||
if(Return=="true"){
|
||||
reloadSelf();
|
||||
}else{
|
||||
alert("删除失败,请联系管理员! ");
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
@ -0,0 +1,54 @@
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/IncludeBegin.jsp"%>
|
||||
<%
|
||||
String flowunid = CurPage.getParameter("ObjectNo");
|
||||
String plannumber=CurPage.getParameter("plannumber");
|
||||
String planCName=CurPage.getParameter("planCName");
|
||||
String calType=CurPage.getParameter("calType");
|
||||
String IsHistory=CurPage.getParameter("IsHistory");
|
||||
String RightType=CurPage.getParameter("RightType");
|
||||
String productId=CurPage.getParameter("ProductId");
|
||||
String projectId=CurPage.getParameter("ProjectId");
|
||||
String khcertid = Sqlca.getString("select ci.certid from lb_union_lessee_temp lul left join customer_info ci on ci.customerid = lul.CUSTOMER_ID where lul.IS_MAIN = 'Y' and lul.flowunid='"+flowunid+"'");
|
||||
String gtcertid = Sqlca.getString("select cf.certid from customer_family_temp cf where cf.Partner_ = 'Y' and cf.flowunid='"+flowunid+"'");
|
||||
String dbcertid = Sqlca.getString("select CERTID from lb_guarantee_unit_temp where flowunid='"+flowunid+"' order by CERTID asc limit 1");
|
||||
String dbcertid2 = Sqlca.getString("select CERTID from lb_guarantee_unit_temp where flowunid='"+flowunid+"' order by CERTID desc limit 1");
|
||||
//客户传参
|
||||
String params="flowunid="+flowunid+"&plannumber="+plannumber+"&planCName="+planCName+"&calType="+calType+"&IsHistory="+IsHistory+"&RightType="+RightType+"&ProductId="+productId+"&projectId="+projectId+"&certId="+khcertid+"&type=client";
|
||||
//共同承租人传参
|
||||
String params2="flowunid="+flowunid+"&plannumber="+plannumber+"&planCName="+planCName+"&calType="+calType+"&IsHistory="+IsHistory+"&RightType="+RightType+"&ProductId="+productId+"&projectId="+projectId+"&certId="+gtcertid+"&type=jointly";
|
||||
//担保人1传参
|
||||
String params3="flowunid="+flowunid+"&plannumber="+plannumber+"&planCName="+planCName+"&calType="+calType+"&IsHistory="+IsHistory+"&RightType="+RightType+"&ProductId="+productId+"&projectId="+projectId+"&certId="+dbcertid+"&type=guarantee";
|
||||
//担保人2参数
|
||||
String params4="flowunid="+flowunid+"&plannumber="+plannumber+"&planCName="+planCName+"&calType="+calType+"&IsHistory="+IsHistory+"&RightType="+RightType+"&ProductId="+productId+"&projectId="+projectId+"&certId="+dbcertid2+"&type=guarantee";
|
||||
|
||||
//判断是否有共同承租人和担保人
|
||||
String custnum1 = Sqlca.getString("select count(cf.id) as num from customer_family_temp cf where cf.Partner_ = 'Y' and cf.flowunid='"+flowunid+"'");
|
||||
String custnum2 = Sqlca.getString("select count(lul.ID) as num from lb_guarantee_unit_temp lul where lul.flowunid='"+flowunid+"'");
|
||||
Integer c = Integer.valueOf(custnum1);
|
||||
Integer a = Integer.valueOf(custnum2);
|
||||
String show1 = "false";
|
||||
String show2 = "false";
|
||||
String show3 = "false";
|
||||
|
||||
if (c>0){show1 = "true";}
|
||||
if (a >= 1){show2 = "true";}
|
||||
if (a > 1){show3 = "true";}
|
||||
|
||||
//参数:0.是否显示, 1.标题,2.URL,3,参数串, 4. Strip高度(默认600px),5. 是否有关闭按钮(默认无) 6. 是否缓存(默认是)
|
||||
// String userid = CurUser.getUserID();
|
||||
String orgid = CurUser.getOrgID();
|
||||
String sTabStrip[][] = {
|
||||
{"true", "客户", "/Tenwa/Customer/Lessee/Comm/CustomerHistory/CustomerHistory_Info_temp.jsp",params, "", "", "false"},
|
||||
{show1, "共同承租人", "/Tenwa/Customer/Lessee/Comm/CustomerHistory/CustomerHistory_Info_temp.jsp",params2, "", "", "false"},
|
||||
{show2, "担保人", "/Tenwa/Customer/Lessee/Comm/CustomerHistory/CustomerHistory_Info_temp.jsp",params3, "", "", "false"},
|
||||
{show3, "担保人2", "/Tenwa/Customer/Lessee/Comm/CustomerHistory/CustomerHistory_Info_temp.jsp",params4, "", "", "false"},
|
||||
};
|
||||
%>
|
||||
<%@ include file="/Resources/CodeParts/Tab01.jsp"%>
|
||||
<script type="text/javascript">
|
||||
window.onload=function(){
|
||||
AsControl.RunJavaMethodTrans("com.tenwa.voucher.CreateVoucherProcess.InsertCustomerHistoryInfo","InsertCustomerHistoryInfoTemp","flowunid=<%=flowunid%>");
|
||||
}
|
||||
</script>
|
||||
<%@ include file="/IncludeEnd.jsp"%>
|
||||
@ -0,0 +1,47 @@
|
||||
<%@page import="com.itextpdf.text.log.SysoCounter"%>
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@include file="/Frame/resources/include/include_begin_info.jspf"%>
|
||||
<%
|
||||
/*
|
||||
Author: undefined 2023-09-04
|
||||
Content: 示例详情页面
|
||||
History Log:
|
||||
*/
|
||||
|
||||
String sTempletNo = "CustomerHistoryInfoTemp";//--模板号--
|
||||
String flowunId=CurPage.getParameter("flowunid");//流程编号
|
||||
String certId=CurPage.getParameter("certId");//客户证件号
|
||||
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
|
||||
dwTemp.Style = "2";//freeform
|
||||
//dwTemp.genHTMLObjectWindow("1");
|
||||
dwTemp.genHTMLObjectWindow(flowunId+","+certId);
|
||||
|
||||
String compClientID = request.getParameter("CompClientID");
|
||||
|
||||
dwTemp.replaceColumn("loaned", "<iframe type='iframe' id='frame_list' name=\"frame_list\" width=\"100%\" height=\"200px\" frameborder=\"0\" src=\""+sWebRootPath+ "/Tenwa/Customer/Lessee/Comm/CustomerHistory/LoanedInfo.jsp?CompClientID=" +compClientID+"&certId="+certId+"\"></iframe>", CurPage.getObjectWindowOutput());
|
||||
dwTemp.replaceColumn("outstand", "<iframe type='iframe' id='frame_list' name=\"frame_list\" width=\"100%\" height=\"200px\" frameborder=\"0\" src=\""+sWebRootPath+ "/Tenwa/Customer/Lessee/Comm/CustomerHistory/OutstandInfo.jsp?CompClientID=" +compClientID+"&certId="+certId+"\"></iframe>", CurPage.getObjectWindowOutput());
|
||||
|
||||
|
||||
String sButtons[][] = {
|
||||
// {"true","","Button","保存","保存所有修改","saveRecord()","","","","btn_icon_save"}
|
||||
};
|
||||
|
||||
|
||||
%>
|
||||
<%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||||
<script type="text/javascript">
|
||||
</script>
|
||||
<style type="text/css">
|
||||
#div_1270{
|
||||
width: 72px;
|
||||
}
|
||||
.info_td_left{
|
||||
width: 92px;
|
||||
}
|
||||
.info_td_right{
|
||||
display:flex;
|
||||
justify-content:space-between;
|
||||
}
|
||||
</style>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
@ -0,0 +1,52 @@
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%>
|
||||
<%@include file="/Tenwa/Core/FlowManager/BaseFunction/BaseFlowListFunction.jspf" %>
|
||||
<%
|
||||
|
||||
String certId = CurPage.getParameter("certId");
|
||||
|
||||
ASObjectModel doTemp = new ASObjectModel("LoanedList");
|
||||
doTemp.appendJboWhere(" and O.CONTRACT_STATUS >= 31 and O.CONTRACT_STATUS <> '104' ");
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
|
||||
dwTemp.Style="1";//--设置为Grid风格--
|
||||
dwTemp.ReadOnly = "1";//只读模式
|
||||
dwTemp.setPageSize(10);
|
||||
dwTemp.genHTMLObjectWindow(certId);
|
||||
String sButtons[][] = {
|
||||
|
||||
};
|
||||
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
|
||||
<script type="text/javascript">
|
||||
|
||||
function afterSearch(){
|
||||
for(var i=0;i<getRowCount(0);i++){
|
||||
var userId=getItemValue(0,i,"USERID");
|
||||
if(userId=="system"){
|
||||
getObj(0,i,"ENDTIME").innerHTML=getObj(0,i,"BEGINTIME").textContent;
|
||||
}
|
||||
getObj(0,i,"ACTION").innerHTML= '<a href=# onclick="javascript:viewHisTabLocal()">申请详情</a> ';
|
||||
|
||||
}
|
||||
setColumnWidth(0,"ACTION",100);
|
||||
}
|
||||
|
||||
function viewHisTabLocal() {
|
||||
var param = FlowFunction.loadFlowParam();
|
||||
if (typeof(param.ObjectNo) == "undefined" || param.ObjectNo.length == 0) {
|
||||
alert(getHtmlMessage('1'));//请选择一条信息!
|
||||
return;
|
||||
}
|
||||
let sTaskNo = param["TaskNo"]
|
||||
if(sTaskNo==""){
|
||||
sTaskNo = AsControl.RunJavaMethodTrans("com.amarsoft.app.flow.FlowAction","getFlowEndRelativeTaskNo", "ObjectNo="+param["sObjectNo"]+",PhaseNo="+ param["sPhaseNo"]);
|
||||
if(typeof(sTaskNo)=="undefined" || sTaskNo.length==0) {
|
||||
alert("流程未结束,无法查看!");
|
||||
return;
|
||||
}
|
||||
}
|
||||
var param ="TaskNo="+sTaskNo+"&ViewID=001&RightType=ReadOnly&delTabs=扣款卡信息,客户历史信息查询";
|
||||
AsControl.OpenNewWin("/Tenwa/Core/FlowManager/FlowPage/FlowPageViewTab.jsp",param)
|
||||
}
|
||||
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
@ -0,0 +1,53 @@
|
||||
<%@page import="com.tenwa.comm.dataRightmanager.DataRightManager"%>
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%>
|
||||
<%@include file="/Tenwa/Core/FlowManager/BaseFunction/BaseFlowListFunction.jspf" %>
|
||||
<%
|
||||
|
||||
String certId = CurPage.getParameter("certId");
|
||||
|
||||
ASObjectModel doTemp = new ASObjectModel("LoanedList");
|
||||
doTemp.appendJboWhere(" and O.CONTRACT_STATUS < 31 ");
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
|
||||
dwTemp.Style="1";//--设置为Grid风格--
|
||||
dwTemp.ReadOnly = "1";//只读模式
|
||||
dwTemp.setPageSize(10);
|
||||
dwTemp.genHTMLObjectWindow(certId);
|
||||
String sButtons[][] = {
|
||||
|
||||
};
|
||||
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
|
||||
<script type="text/javascript">
|
||||
|
||||
function afterSearch(){
|
||||
for(var i=0;i<getRowCount(0);i++){
|
||||
var userId=getItemValue(0,i,"USERID");
|
||||
if(userId=="system"){
|
||||
getObj(0,i,"ENDTIME").innerHTML=getObj(0,i,"BEGINTIME").textContent;
|
||||
}
|
||||
getObj(0,i,"ACTION").innerHTML= '<a href=# onclick="javascript:viewHisTabLocal()">申请详情</a> ';
|
||||
|
||||
}
|
||||
setColumnWidth(0,"ACTION",100);
|
||||
}
|
||||
|
||||
function viewHisTabLocal() {
|
||||
var param = FlowFunction.loadFlowParam();
|
||||
if (typeof(param.ObjectNo) == "undefined" || param.ObjectNo.length == 0) {
|
||||
alert(getHtmlMessage('1'));//请选择一条信息!
|
||||
return;
|
||||
}
|
||||
let sTaskNo = param["TaskNo"]
|
||||
if(sTaskNo==""){
|
||||
sTaskNo = AsControl.RunJavaMethodTrans("com.amarsoft.app.flow.FlowAction","getFlowEndRelativeTaskNo", "ObjectNo="+param["sObjectNo"]+",PhaseNo="+ param["sPhaseNo"]);
|
||||
if(typeof(sTaskNo)=="undefined" || sTaskNo.length==0) {
|
||||
alert("流程未结束,无法查看!");
|
||||
return;
|
||||
}
|
||||
}
|
||||
var param ="TaskNo="+sTaskNo+"&ViewID=001&RightType=ReadOnly&delTabs=扣款卡信息,客户历史信息查询";
|
||||
AsControl.OpenNewWin("/Tenwa/Core/FlowManager/FlowPage/FlowPageViewTab.jsp",param)
|
||||
}
|
||||
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
@ -17,7 +17,7 @@
|
||||
dwTemp.Style="1"; //--设置为Grid风格--
|
||||
dwTemp.ReadOnly = "0"; //只读模式
|
||||
dwTemp.MultiSelect = true;
|
||||
dwTemp.setPageSize(20);
|
||||
dwTemp.setPageSize(100);
|
||||
dwTemp.genHTMLObjectWindow(paymentNumber);
|
||||
|
||||
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格
|
||||
@ -26,6 +26,7 @@
|
||||
{"ReadOnly".equals(rightType)?"false":"true","","Button","计算罚息减免额","计算罚息减免额","createPenaltyAdjust()","","","","btn_icon_add",""}
|
||||
};
|
||||
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
|
||||
<div id="penaltyDetail" class="penaltyDetail" style="position: relative;left: 30px;bottom: 60px;height: 150px;font-size: 16px;"></div>
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
//var myDate=new Date().format("yyyy/MM/dd");
|
||||
@ -93,4 +94,3 @@
|
||||
}
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
<div id="penaltyDetail" class="penaltyDetail" style="position: relative;left: 30px;bottom: 60px;height: 150px;font-size: 16px;"></div>
|
||||
|
||||
@ -393,10 +393,10 @@
|
||||
function SelectCardataBrand()
|
||||
{
|
||||
var carTypea = "<%=carTypea%>";
|
||||
var selectBank = "SelectCardataBrandFlowNew";
|
||||
var selectBank = "RCSelectCardataBrandNew";
|
||||
var parms = "cartypea,"+carTypea;
|
||||
if(typeof(carTypea)=="undefined" || carTypea.length==0 ){
|
||||
selectBank = "SelectCardataBrandNew";
|
||||
selectBank = "RCSelectCardataBrandNew";
|
||||
parms = "projectId,<%=projectId%>";
|
||||
}
|
||||
AsDialog.OpenSelector(selectBank, parms ,"dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.5) + "px",
|
||||
@ -440,10 +440,7 @@
|
||||
var brandid="";
|
||||
if(MyOjbect.brandid){
|
||||
brandid=MyOjbect.brandid;
|
||||
let selectType = 'SelectCardataSeriesCYC';
|
||||
if (MyOjbect.cartypea == 'SYC') {
|
||||
selectType = 'SelectCardataSeriesSYC';
|
||||
}
|
||||
let selectType = 'RCSelectCardataSeriesNew';
|
||||
AsDialog.OpenSelector(selectType,"brandid,"+brandid,"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_")
|
||||
@ -472,10 +469,7 @@
|
||||
var seriesid="";
|
||||
if(MyOjbect.seriesid){
|
||||
seriesid=MyOjbect.seriesid;
|
||||
let selectType = 'SelectCardataModelCYC';
|
||||
if (MyOjbect.cartypea == 'SYC') {
|
||||
selectType = 'SelectCardataModelSYC';
|
||||
}
|
||||
let selectType = 'RCSelectCardataModelNew';
|
||||
AsDialog.OpenSelector(selectType,"seriesid,"+seriesid,"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_")
|
||||
|
||||
@ -72,6 +72,7 @@
|
||||
$("#IDEXPIRY_TYPE_0").prop("checked", "checked");
|
||||
}
|
||||
changeIdexpiryType();
|
||||
birthdayCheck();
|
||||
});
|
||||
|
||||
function changeIdexpiryType(){
|
||||
@ -398,7 +399,28 @@
|
||||
}
|
||||
}
|
||||
checkCertidRepeat();
|
||||
birthdayCheck();
|
||||
}
|
||||
|
||||
function birthdayCheck(){
|
||||
//校验证件类型为身份证或临时身份证时,出生日期是否同证件编号中的日期一致
|
||||
var certID = getItemValue(0,0,"CERTID");
|
||||
var birthday = getItemValue(0,0,"BIRTHDAY");
|
||||
if(""!=birthday){
|
||||
return;
|
||||
}
|
||||
//将身份证中的日期自动赋给出生日期,把身份证中的性别赋给性别
|
||||
if(certID.length == 15){
|
||||
certID = certID.substring(6,12);
|
||||
certID = "19"+certID.substring(0,2)+"/"+certID.substring(2,4)+"/"+certID.substring(4,6);
|
||||
setItemValue(0,0,"BIRTHDAY",certID);
|
||||
}else if(certID.length == 18){
|
||||
certID = certID.substring(6,14);
|
||||
certID = certID.substring(0,4)+"/"+certID.substring(4,6)+"/"+certID.substring(6,8);
|
||||
setItemValue(0,0,"BIRTHDAY",certID);
|
||||
}
|
||||
}
|
||||
|
||||
function checkCertidRepeat(){
|
||||
var certtype = getItemValue(0,getRow(),"CERTTYPE");
|
||||
if("Ind01"==certtype){
|
||||
|
||||
@ -60,6 +60,14 @@
|
||||
score_result_code = null == rcScoreResultBiz.getAttribute("score_result_code") ? "" : rcScoreResultBiz.getAttribute("score_result_code").toString();
|
||||
}
|
||||
|
||||
|
||||
//复审意见展示
|
||||
if("业务申请流程".equals(flowName)&&("0040".equals(phaseNo)||"0050".equals(phaseNo)||"0060".equals(phaseNo)||"0070".equals(phaseNo)||"0080".equals(phaseNo))){
|
||||
doTemp.setVisible("VETO",true);
|
||||
}else {
|
||||
doTemp.setVisible("VETO",false);
|
||||
}
|
||||
|
||||
if(("业务申请流程".equals(flowName)||"业务变更流程".equals(flowName))&&("0030".equals(phaseNo)||"0040".equals(phaseNo)||"0050".equals(phaseNo)||"0060".equals(phaseNo)||"0070".equals(phaseNo))){
|
||||
dwTemp.getDataObject().setVisible("subjectname", true);
|
||||
}else {
|
||||
@ -195,6 +203,17 @@
|
||||
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
|
||||
//拒单理由 复审意见为拒绝和返回经销商时拒单理由显示
|
||||
var vo = getItemValue(0,0,"secondchoice");
|
||||
if(vo=="0010"){
|
||||
showItem(0,"VETO");
|
||||
setItemRequired(0,"VETO",true);
|
||||
}else {
|
||||
hideItem(0,"VETO");
|
||||
setItemRequired(0,"VETO",false);
|
||||
}
|
||||
|
||||
$(".info_td_left").css("width","150px");
|
||||
$(".info_mid_line").css("width","50%");
|
||||
var selectOpinion = '';
|
||||
@ -677,6 +696,17 @@
|
||||
$('#SECONDOPINION').append(sReturn);
|
||||
}
|
||||
});
|
||||
//拒单理由 复审意见为拒绝和返回经销商时拒单理由显示
|
||||
var vo = getItemValue(0,0,"secondchoice");
|
||||
if(vo=="0010"){
|
||||
showItem(0,"VETO");
|
||||
setItemRequired(0,"VETO",true);
|
||||
setItemValue(0, 0, "VETO", "");
|
||||
}else {
|
||||
hideItem(0,"VETO");
|
||||
setItemRequired(0,"VETO",false);
|
||||
setItemValue(0, 0, "VETO", "");
|
||||
}
|
||||
}
|
||||
|
||||
function changeThirdChoice(){//根据信审意见,遍历相应的下拉选项
|
||||
@ -734,6 +764,8 @@
|
||||
$('#THIRDOPINION').append(sReturn);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
|
||||
function checkOpinion(scoreDefaultResultChoice){
|
||||
@ -764,7 +796,7 @@
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
function save(){
|
||||
// 评分结果 AA RR RD DD
|
||||
var score_result_code = "<%=score_result_code%>";
|
||||
@ -796,7 +828,7 @@
|
||||
if(checkOpinion("THIRDCHOICE")){
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
var updatedFields = DisplayFields[0];
|
||||
if(iV_all(0)){
|
||||
document.getElementById("messageBox").style.display='none';
|
||||
@ -833,6 +865,7 @@
|
||||
openDWDialog();
|
||||
var phaseChoice = "";
|
||||
var phaseOpinion = "";
|
||||
var VETO = "";
|
||||
if("0030" == "<%=phaseNo%>"){
|
||||
phaseChoice = getItemValue(0,0,"firstchoice");
|
||||
phaseOpinion = getItemValue(0,0,"firstopinion");
|
||||
@ -846,6 +879,14 @@
|
||||
phaseChoice = getItemValue(0,0,"fourchoice");
|
||||
phaseOpinion = getItemValue(0,0,"fouropinion");
|
||||
}
|
||||
//根据复审意见对拒绝理由赋值
|
||||
var vo = getItemValue(0,0,"secondchoice");
|
||||
if(vo=="0010"){
|
||||
VETO = getItemValue(0,0,"VETO");
|
||||
}else {
|
||||
VETO = "";
|
||||
}
|
||||
|
||||
// var InterOpinion1 = getItemValue(0,0,"InterOpinion1");
|
||||
// var DistriOpinion1 = getItemValue(0,0,"DistriOpinion1");
|
||||
// var InterOpinion2 = getItemValue(0,0,"InterOpinion2");
|
||||
@ -853,7 +894,7 @@
|
||||
// var InterOpinion3 = getItemValue(0,0,"InterOpinion3");
|
||||
// var DistriOpinion3 = getItemValue(0,0,"DistriOpinion3");
|
||||
var sResult = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.BusinessApproveManager","saveApproveOpinion",
|
||||
"serialNo=<%=taskno%>,phaseNo=<%=phaseNo%>,flowunid=<%=flowunid%>,phaseChoice="+phaseChoice+",phaseOpinion="+phaseOpinion+",userid=<%=CurUser.getUserID()%>,orgid=<%=CurUser.getOrgID()%>");
|
||||
"serialNo=<%=taskno%>,phaseNo=<%=phaseNo%>,flowunid=<%=flowunid%>,phaseChoice="+phaseChoice+",phaseOpinion="+phaseOpinion+",veto="+VETO+",userid=<%=CurUser.getUserID()%>,orgid=<%=CurUser.getOrgID()%>");
|
||||
if("SUCCESS" == sResult){
|
||||
resetDWDialog("保存成功!",true);
|
||||
reloadSelf();
|
||||
|
||||
@ -108,7 +108,7 @@
|
||||
$("#IDEXPIRY_TYPE_0").prop("checked", "checked");
|
||||
}
|
||||
changeIdexpiryType();
|
||||
|
||||
birthdayCheck();
|
||||
});
|
||||
|
||||
function changeIdexpiryType(){
|
||||
@ -443,6 +443,25 @@
|
||||
}
|
||||
|
||||
checkCertidRepeat();
|
||||
birthdayCheck();
|
||||
}
|
||||
function birthdayCheck(){
|
||||
var birthday = getItemValue(0,0,"BIRTHDAY");
|
||||
if(""!=birthday){
|
||||
return;
|
||||
}
|
||||
//校验证件类型为身份证或临时身份证时,出生日期是否同证件编号中的日期一致
|
||||
var certID = getItemValue(0,0,"CERTID");
|
||||
//将身份证中的日期自动赋给出生日期,把身份证中的性别赋给性别
|
||||
if(certID.length == 15){
|
||||
certID = certID.substring(6,12);
|
||||
certID = "19"+certID.substring(0,2)+"/"+certID.substring(2,4)+"/"+certID.substring(4,6);
|
||||
setItemValue(0,0,"BIRTHDAY",certID);
|
||||
}else if(certID.length == 18){
|
||||
certID = certID.substring(6,14);
|
||||
certID = certID.substring(0,4)+"/"+certID.substring(4,6)+"/"+certID.substring(6,8);
|
||||
setItemValue(0,0,"BIRTHDAY",certID);
|
||||
}
|
||||
}
|
||||
//选择证件类型后,如果证件号不为空,则去判断性别
|
||||
function checkCertidSex(){
|
||||
|
||||
@ -79,9 +79,26 @@
|
||||
setItemValue(0,0,"Partner_","N");
|
||||
}
|
||||
changePartner();
|
||||
|
||||
birthdayCheck();
|
||||
});
|
||||
|
||||
function birthdayCheck(){
|
||||
var birthday = getItemValue(0,0,"BIRTHDAY");
|
||||
if(""!=birthday){
|
||||
return;
|
||||
}
|
||||
//校验证件类型为身份证或临时身份证时,出生日期是否同证件编号中的日期一致
|
||||
var certID = getItemValue(0,0,"CERTID");
|
||||
//将身份证中的日期自动赋给出生日期,把身份证中的性别赋给性别
|
||||
if(certID.length == 15){
|
||||
certID = certID.substring(6,12);
|
||||
certID = "19"+certID.substring(0,2)+"/"+certID.substring(2,4)+"/"+certID.substring(4,6);
|
||||
setItemValue(0,0,"BIRTHDAY",certID);
|
||||
}else if(certID.length == 18){
|
||||
certID = certID.substring(6,14);
|
||||
certID = certID.substring(0,4)+"/"+certID.substring(4,6)+"/"+certID.substring(6,8);
|
||||
setItemValue(0,0,"BIRTHDAY",certID);
|
||||
}
|
||||
}
|
||||
|
||||
function changeIdexpiryType(){
|
||||
var idexpiry_type = getItemValue(0,0,"IDEXPIRY_TYPE");
|
||||
@ -560,6 +577,7 @@
|
||||
setItemValue(0,getRow(),"SEX","1");
|
||||
}
|
||||
checkCertidRepeat();
|
||||
birthdayCheck();
|
||||
}
|
||||
|
||||
function checkCertidRepeat(){
|
||||
|
||||
@ -548,11 +548,12 @@
|
||||
return;
|
||||
}
|
||||
}
|
||||
RepeatReault = frame_list.checkRepeat(emergencyTel);//传参校验基本信息手机号和配偶是否重复
|
||||
if(RepeatReault=="false"){
|
||||
alert("紧急联系人1和配偶手机号有重复!");
|
||||
return;
|
||||
}
|
||||
//2023/09/11 新增逻辑自然人承租人有配偶,配偶必须为紧急联系人
|
||||
// RepeatReault = frame_list.checkRepeat(emergencyTel);//传参校验基本信息手机号和配偶是否重复
|
||||
// if(RepeatReault=="false"){
|
||||
// alert("紧急联系人1和配偶手机号有重复!");
|
||||
// return;
|
||||
// }
|
||||
}
|
||||
//检验紧急联系人2手机号重复
|
||||
if(typeof(remark)!=undefined && remark != ''){
|
||||
@ -570,11 +571,13 @@
|
||||
return;
|
||||
}
|
||||
}
|
||||
RepeatReault = frame_list.checkRepeat(remark);//传参校验基本信息手机号和配偶是否重复
|
||||
if(RepeatReault=="false"){
|
||||
alert("紧急联系人2和配偶手机号有重复!");
|
||||
return;
|
||||
}
|
||||
// 123213
|
||||
// 2023/09/11 新增逻辑自然人承租人有配偶,配偶必须为紧急联系人
|
||||
// RepeatReault = frame_list.checkRepeat(remark);//传参校验基本信息手机号和配偶是否重复
|
||||
// if(RepeatReault=="false"){
|
||||
// alert("紧急联系人2和配偶手机号有重复!");
|
||||
// return;
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -139,14 +139,17 @@
|
||||
return false;
|
||||
}
|
||||
|
||||
function checkNameAndCertId(){//校验姓名和证件号
|
||||
function checkNameAndCertId(){//校验自然人承租人年龄
|
||||
//var customerName = getItemValue(0,getRow(),"CustomerName");
|
||||
var certId = getItemValue(0,getRow(),"certid");
|
||||
var customerType = getItemValue(0,getRow(),"Customer_type");
|
||||
//var sParams = "CustomerName="+customerName+",certId="+certId+",customerType="+customerType;
|
||||
var sParams = "certId="+certId+",customerType="+customerType;
|
||||
var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerInfoCheck","checkNameAndCertId",sParams);
|
||||
return sReturnInfo;
|
||||
if(customerType=="03"){
|
||||
//var sParams = "CustomerName="+customerName+",certId="+certId+",customerType="+customerType;
|
||||
var sParams = "certId="+certId;
|
||||
var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerInfoCheck","checkAndCertId",sParams);
|
||||
return sReturnInfo;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/*~[Describe=保存并初始化数据;InputParam=无;OutPutParam=无;]~*/
|
||||
@ -265,11 +268,11 @@
|
||||
/*~[Describe=确认新增申请;InputParam=无;OutPutParam=无;]~*/
|
||||
function doCreation()
|
||||
{
|
||||
// var result = checkNameAndCertId();
|
||||
// if(result=="2"){
|
||||
// alert("证件号已存在!请重新输入!");
|
||||
// return;
|
||||
// }
|
||||
var result = checkNameAndCertId();
|
||||
if(result=="false"){
|
||||
alert("年龄不满足!");
|
||||
return;
|
||||
}
|
||||
if(!checkCertInfo(true)) return ;
|
||||
if(!iV_all(0)) return ;
|
||||
saveRecord();
|
||||
|
||||
@ -4669,6 +4669,7 @@
|
||||
<attribute name="is_tail" label="头车字段(是否有挂车)" type="STRING" length="2"/>
|
||||
<attribute name="uu_id" label="标识" type="STRING" length="32"/>
|
||||
<attribute name="TERMINATE_TYPE" label="标识租赁物是否结清" type="STRING" length="32"/>
|
||||
<attribute name="car_use_type" label="北财-车辆用途类型" type="STRING" length="32"/>
|
||||
</attributes>
|
||||
<manager>
|
||||
<managerProperties>
|
||||
|
||||
@ -345,6 +345,21 @@
|
||||
</managerProperties>
|
||||
</manager>
|
||||
</class>
|
||||
<class name="LB_CONTACT_US" label="" keyAttributes="ID">
|
||||
<attributes>
|
||||
<attribute name="ID" label="主键" type="STRING" length="32"/>
|
||||
<attribute name="name" label="公司名称" type="STRING" length="500"/>
|
||||
<attribute name="e_mail" label="公司邮箱" type="STRING" length="500"/>
|
||||
<attribute name="tel" label="联系电话" type="STRING" length="500"/>
|
||||
<attribute name="work_time" label="工作时间" type="STRING" length="500"/>
|
||||
</attributes>
|
||||
<manager>
|
||||
<managerProperties>
|
||||
<property name="table" value="lb_contact_us" />
|
||||
<property name="createKey" value="true" />
|
||||
</managerProperties>
|
||||
</manager>
|
||||
</class>
|
||||
<class name="LM_PRODUCT_DISTRIBUTOR_GROUP" label="" keyAttributes="id">
|
||||
<attributes>
|
||||
<attribute name="id" label="主键" type="STRING" length="40"/>
|
||||
@ -912,6 +927,107 @@
|
||||
</managerProperties>
|
||||
</manager>
|
||||
</class>
|
||||
|
||||
<class name="CUSTOMER_HISTORY_INFO_TEMP" label="客户历史信息临时" keyAttributes="id">
|
||||
<attributes>
|
||||
<attribute name="id" label="唯一标识" type="STRING" length="32"/>
|
||||
<attribute name="customerid" label="客户编号" type="STRING" length="40"/>
|
||||
<attribute name="customername" label="客户名称" type="STRING" length="200"/>
|
||||
<attribute name="certtype" label="证件类型" type="STRING" length="20"/>
|
||||
<attribute name="certid" label="证件号" type="STRING" length="20"/>
|
||||
<attribute name="customertype" label="客户类别" type="STRING" length="20"/>
|
||||
<attribute name="flowunid" label="流程编号" type="STRING" length="32"/>
|
||||
<attribute name="project_id" label="项目编号" type="STRING" length="32"/>
|
||||
<attribute name="clientbuynumber" label="客户购买次数" type="STRING" length="10"/>
|
||||
<attribute name="clientfinancingamount" label="客户融资金额" type="STRING" length="32"/>
|
||||
<attribute name="clientclosedaccount" label="客户已结清单数" type="STRING" length="10"/>
|
||||
<attribute name="clientunsettled" label="客户未结清单数" type="STRING" length="10"/>
|
||||
<attribute name="clientvehiclepopulation" label="客户车辆总数" type="STRING" length="10"/>
|
||||
<attribute name="clientclosedvehicle" label="客户结清车辆数" type="STRING" length="10"/>
|
||||
<attribute name="clientoutstandingvehicle" label="客户未结清车辆数" type="STRING" length="10"/>
|
||||
<attribute name="clientloanbalance" label="客户贷款余额" type="STRING" length="10"/>
|
||||
<attribute name="clientoverdueamount" label="客户逾期金额" type="STRING" length="10"/>
|
||||
<attribute name="jointlybuynumber" label="共同购买次数" type="STRING" length="10"/>
|
||||
<attribute name="jointlyfinancingamount" label="共同融资金额" type="STRING" length="32"/>
|
||||
<attribute name="jointlyclosedaccount" label="共同已结清单数" type="STRING" length="10"/>
|
||||
<attribute name="jointlyunsettled" label="共同未结清单数" type="STRING" length="10"/>
|
||||
<attribute name="jointlyveh" label="共同车辆总数" type="STRING" length="10"/>
|
||||
<attribute name="jointlyclosedvehicle" label="共同结清车辆数" type="STRING" length="10"/>
|
||||
<attribute name="jointlyout" label="共同未结清车辆数" type="STRING" length="10"/>
|
||||
<attribute name="jointlyloanbalance" label="共同贷款余额" type="STRING" length="10"/>
|
||||
<attribute name="jointlyoverdueamount" label="共同逾期金额" type="STRING" length="10"/>
|
||||
<attribute name="guaranteebuynumber" label="担保单数" type="STRING" length="10"/>
|
||||
<attribute name="guaranteefin" label="担保金额" type="STRING" length="32"/>
|
||||
<attribute name="guaranteeclosedaccount" label="担保已结清单数" type="STRING" length="10"/>
|
||||
<attribute name="guaranteeunsettled" label="担保未结清单数" type="STRING" length="10"/>
|
||||
<attribute name="guaranteeveh" label="担保车辆总数" type="STRING" length="10"/>
|
||||
<attribute name="guaranteeclosedvehicle" label="担保结清车辆数" type="STRING" length="10"/>
|
||||
<attribute name="guaranteeout" label="担保未结清车辆数" type="STRING" length="10"/>
|
||||
<attribute name="guaranteeloanbalance" label="担保贷款余额" type="STRING" length="10"/>
|
||||
<attribute name="guaranteeoverdueamount" label="担保逾期金额" type="STRING" length="10"/>
|
||||
<attribute name="remark" label="备注" type="STRING" length="250"/>
|
||||
<attribute name="customer_num" label="客户编码" type="STRING" length="32"/>
|
||||
<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"/>
|
||||
<attribute name="exposure" label="敞口" type="STRING" length="32"/>
|
||||
</attributes>
|
||||
<manager>
|
||||
<managerProperties>
|
||||
<property name="table" value="customer_history_info_temp" />
|
||||
<property name="createKey" value="true" />
|
||||
</managerProperties>
|
||||
</manager>
|
||||
</class>
|
||||
<class name="VI_CUSTOMERHISTORY" label="放款订单信息" keyAttributes="">
|
||||
<attributes>
|
||||
<attribute name="CUSTOMER_ID" label="合同ID" type="STRING" length="32"/>
|
||||
<attribute name="CERTID" label="证件号" type="STRING" length="32"/>
|
||||
<attribute name="CONTRACT_NO" label="合同编号" type="STRING" length="32"/>
|
||||
<attribute name="CUSTOMER_NAME" label="客户名称" type="STRING" length="200"/>
|
||||
<attribute name="CHARACTERS" label="客户角色" type="STRING" length="200"/>
|
||||
<attribute name="DISTRIBUTOR_NAME" label="经销商名称" type="STRING" length="200"/>
|
||||
<attribute name="CAR_NUM" label="车辆台数" type="STRING" length="32"/>
|
||||
<attribute name="FIRST_PAYMENT_RATIO" label="首付款比例" type="STRING" length="32"/>
|
||||
<attribute name="CLEAN_LEASE_MONEY" label="融资额" type="STRING" length="32"/>
|
||||
<attribute name="LEASE_TERM" label="合同期次" type="STRING" length="32"/>
|
||||
<attribute name="STATUS_NAME" label="合同状态名称" type="STRING" length="32"/>
|
||||
<attribute name="CONTRACT_STATUS" label="合同状态" type="STRING" length="32"/>
|
||||
<attribute name="PROJECT_ID" label="项目ID" type="STRING" length="32"/>
|
||||
<attribute name="PROJ_NAME" label="项目名称" type="STRING" length="200"/>
|
||||
</attributes>
|
||||
<manager>
|
||||
<managerProperties>
|
||||
<property name="table" value="vi_customerhistory" />
|
||||
<property name="createKey" value="true" />
|
||||
</managerProperties>
|
||||
</manager>
|
||||
</class>
|
||||
<class name="COMMUNICATION" label="经销商留言信息" keyAttributes="">
|
||||
<attributes>
|
||||
<attribute name="id" label="合同ID" type="STRING" length="32"/>
|
||||
<attribute name="taskno" label="流程节点ID" type="STRING" length="32"/>
|
||||
<attribute name="flowunid" label="流程编号" type="STRING" length="32"/>
|
||||
<attribute name="phaseno" label="流程节点" type="STRING" length="200"/>
|
||||
<attribute name="inputuser" label="录入人" type="STRING" length="200"/>
|
||||
<attribute name="inputorg" label="录入部门" type="STRING" length="200"/>
|
||||
<attribute name="inputtime" label="录入时间" type="STRING" length="32"/>
|
||||
<attribute name="updateuser" label="修改人" type="STRING" length="32"/>
|
||||
<attribute name="updatetime" label="修改时间" type="STRING" length="32"/>
|
||||
<attribute name="remark" label="备注信息" type="STRING" length="1000"/>
|
||||
<attribute name="username" label="录入人名称" type="STRING" length="200"/>
|
||||
<attribute name="orgname" label="录入部门名称" type="STRING" length="200"/>
|
||||
</attributes>
|
||||
<manager>
|
||||
<managerProperties>
|
||||
<property name="table" value="communication" />
|
||||
<property name="createKey" value="true" />
|
||||
</managerProperties>
|
||||
</manager>
|
||||
</class>
|
||||
</package>
|
||||
<package name="jbo.com.tenwa.entity.comm.taxinfo" >
|
||||
<class name="TAX_INFO" label="税率信息维护" keyAttributes="ID">
|
||||
|
||||
@ -2659,22 +2659,23 @@
|
||||
<attribute name="nation" label="北财-共同申请人民族" type="STRING" length="32"/>
|
||||
<attribute name="education_level" label="北财-共同申请人最高学历" type="STRING" length="32"/>
|
||||
<attribute name="work_address" label="北财-共同申请人单位地址" type="STRING" length="500"/>
|
||||
<attribute name="live_address" label="北财-共同申请人居住地址" type="STRING" length="500"/>
|
||||
<attribute name="id_address" label="北财-共同申请人户籍地址" type="STRING" length="500"/>
|
||||
<attribute name="enterprise_nature" label="北财-共同申请人企业性质" type="STRING" length="32"/>
|
||||
<attribute name="industry_type" label="北财-共同申请人行业类型" type="STRING" length="32"/>
|
||||
<attribute name="career_type" label="北财-共同申请人职业类型" type="STRING" length="32"/>
|
||||
<attribute name="position" label="北财-共同申请人职位" type="STRING" length="32"/>
|
||||
<attribute name="monthly_income" label="北财-共同申请人月收入" type="STRING" length="32"/>
|
||||
<attribute name="monthly_expenses" label="北财-共同申请人月支出" type="STRING" length="32"/>
|
||||
|
||||
<attribute name="duties_type" label="北财-共同申请人职务" type="STRING" length="32"/>
|
||||
<attribute name="work_address_code" label="北财-共同申请人单位地址编码" type="STRING" length="32"/>
|
||||
<attribute name="work_address_id" label="北财-共同申请人单位地址关联id" type="STRING" length="32"/>
|
||||
<attribute name="live_address_code" label="北财-共同申请人居住地址编码" type="STRING" length="32"/>
|
||||
<attribute name="live_address_id" label="北财-共同申请人居住地址关联id" type="STRING" length="32"/>
|
||||
<attribute name="id_address_code" label="北财-共同申请人户籍地址编码" type="STRING" length="32"/>
|
||||
<attribute name="id_address_id" label="北财-共同申请人户籍地址关联id" type="STRING" length="32"/>
|
||||
<attribute name="marry_type" label="北财-共同申请人婚姻状况" type="STRING" length="32"/>
|
||||
<attribute name="residential_status" label="北财-共同申请人居住状况" type="STRING" length="32"/>
|
||||
<attribute name="childrens_number" label="北财-子女数量" type="STRING" length="32"/>
|
||||
<attribute name="birthday" label="北财-出生日期" type="STRING" length="32"/>
|
||||
<attribute name="start_idexpiry" label="北财-有效期开始时间" type="STRING" length="32"/>
|
||||
<attribute name="idexpiry_type" label="北财-证件有效期类型:1短期,2长期" type="STRING" length="32"/>
|
||||
</attributes>
|
||||
<manager>
|
||||
<managerProperties>
|
||||
@ -2720,22 +2721,23 @@
|
||||
<attribute name="nation" label="北财-共同申请人民族" type="STRING" length="32"/>
|
||||
<attribute name="education_level" label="北财-共同申请人最高学历" type="STRING" length="32"/>
|
||||
<attribute name="work_address" label="北财-共同申请人单位地址" type="STRING" length="500"/>
|
||||
<attribute name="live_address" label="北财-共同申请人居住地址" type="STRING" length="500"/>
|
||||
<attribute name="id_address" label="北财-共同申请人户籍地址" type="STRING" length="500"/>
|
||||
<attribute name="enterprise_nature" label="北财-共同申请人企业性质" type="STRING" length="32"/>
|
||||
<attribute name="industry_type" label="北财-共同申请人行业类型" type="STRING" length="32"/>
|
||||
<attribute name="career_type" label="北财-共同申请人职业类型" type="STRING" length="32"/>
|
||||
<attribute name="position" label="北财-共同申请人职位" type="STRING" length="32"/>
|
||||
<attribute name="monthly_income" label="北财-共同申请人月收入" type="STRING" length="32"/>
|
||||
<attribute name="monthly_expenses" label="北财-共同申请人月支出" type="STRING" length="32"/>
|
||||
|
||||
<attribute name="duties_type" label="北财-共同申请人职务" type="STRING" length="32"/>
|
||||
<attribute name="work_address_code" label="北财-共同申请人单位地址编码" type="STRING" length="32"/>
|
||||
<attribute name="work_address_id" label="北财-共同申请人单位地址关联id" type="STRING" length="32"/>
|
||||
<attribute name="live_address_code" label="北财-共同申请人居住地址编码" type="STRING" length="32"/>
|
||||
<attribute name="live_address_id" label="北财-共同申请人居住地址关联id" type="STRING" length="32"/>
|
||||
<attribute name="id_address_code" label="北财-共同申请人户籍地址编码" type="STRING" length="32"/>
|
||||
<attribute name="id_address_id" label="北财-共同申请人户籍地址关联id" type="STRING" length="32"/>
|
||||
<attribute name="marry_type" label="北财-共同申请人婚姻状况" type="STRING" length="32"/>
|
||||
<attribute name="residential_status" label="北财-共同申请人居住状况" type="STRING" length="32"/>
|
||||
<attribute name="childrens_number" label="北财-子女数量" type="STRING" length="32"/>
|
||||
<attribute name="birthday" label="北财-出生日期" type="STRING" length="32"/>
|
||||
<attribute name="start_idexpiry" label="北财-有效期开始时间" type="STRING" length="32"/>
|
||||
<attribute name="idexpiry_type" label="北财-证件有效期类型:1短期,2长期" type="STRING" length="32"/>
|
||||
</attributes>
|
||||
<manager>
|
||||
<managerProperties>
|
||||
|
||||
@ -144,6 +144,7 @@
|
||||
<attribute name="ZC_PROJECT_NUMBER" label="中车申请号" type="STRING" length="32"/>
|
||||
<attribute name="ZC_CONTRACT_NUMBER" label="中车合同号" type="STRING" length="32"/>
|
||||
<attribute name="CORPUS_SOURCE" label="资方名称" type="STRING" length="10"/>
|
||||
<attribute name="VETO" label="拒单理由" type="STRING" length="10"/>
|
||||
</attributes>
|
||||
<manager>
|
||||
<managerProperties>
|
||||
@ -294,6 +295,7 @@
|
||||
<attribute name="ZC_PROJECT_NUMBER" label="中车申请号" type="STRING" length="32"/>
|
||||
<attribute name="ZC_CONTRACT_NUMBER" label="中车合同号" type="STRING" length="32"/>
|
||||
<attribute name="CORPUS_SOURCE" label="资方名称" type="STRING" length="10"/>
|
||||
<attribute name="VETO" label="拒单理由" type="STRING" length="10"/>
|
||||
</attributes>
|
||||
<manager>
|
||||
<managerProperties>
|
||||
@ -1514,6 +1516,7 @@
|
||||
<attribute name="is_tail" label="头车字段(是否有挂车)" type="STRING" length="2"/>
|
||||
<attribute name="uu_id" label="标识" type="STRING" length="32"/>
|
||||
<attribute name="TERMINATE_TYPE" label="标识租赁物是否结清" type="STRING" length="32"/>
|
||||
<attribute name="car_use_type" label="北财-车辆用途类型" type="STRING" length="32"/>
|
||||
</attributes>
|
||||
<manager>
|
||||
<managerProperties>
|
||||
@ -2096,6 +2099,7 @@
|
||||
<attribute name="is_tail" label="头车字段(是否有挂车)" type="STRING" length="2"/>
|
||||
<attribute name="uu_id" label="标识" type="STRING" length="32"/>
|
||||
<attribute name="TERMINATE_TYPE" label="标识租赁物是否结清" type="STRING" length="32"/>
|
||||
<attribute name="car_use_type" label="北财-车辆用途类型" type="STRING" length="32"/>
|
||||
</attributes>
|
||||
<manager>
|
||||
<managerProperties>
|
||||
|
||||
@ -767,6 +767,9 @@
|
||||
<attribute name="fraud_alert_code" label="反欺诈预警结果:H、S、C" type="STRING" length="32"/>
|
||||
<attribute name="fraud_taken_code" label="反欺诈判定结果:F、K、S、空" type="STRING" length="32"/>
|
||||
<attribute name="score_result_code" label="评分结果 AA RR RD DD" type="STRING" length="32"/>
|
||||
<attribute name="fraud_alert_value" label="反欺诈预警结果:H、S、C" type="STRING" length="32"/>
|
||||
<attribute name="fraud_taken_value" label="反欺诈判定结果:F、K、S、空" type="STRING" length="32"/>
|
||||
<attribute name="score_result_value" label="评分结果 AA RR RD DD" type="STRING" length="32"/>
|
||||
<attribute name="score_result_url" label="评分结果报告页" type="STRING" length="255"/>
|
||||
<attribute name="input_time" label="登记时间" type="STRING" length="32"/>
|
||||
<attribute name="update_time" label="更新时间" type="STRING" length="32"/>
|
||||
|
||||
@ -10,3 +10,4 @@ log_path=D:/tmp/esb/log/
|
||||
afs_url=http://test-antifraud.baicfc.com/Instinct.UI.WebClient_5.3.1_2023/api/redirect?
|
||||
RSAPublicKey=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtmxe7GIws+1RwPtICBi+GKbNEYrqz+xkPZN8Cv3vnyK/cX87n2volMPV1LZBGLyFj2ckyLmIt+uC1SHDio+N9/e695UT2rvTJdP7rho0yA2sXmAqG4pjVA8dPHFgvUIaW/SIwPpqHnPrKTj6YHp5/6Amuvq7W5WujHsM1aq61p0RL6b6CQlwQtXK1MGE95eDJrhY0eO2RcoKBOJgQSa2MdqSSQ9jYuu/9lpoENxvHcHydxFqwzwJtP4Noct9ZplSjxA/OsincK4q6ELSDL3f9ckBXGmZrHDkYVyv0hD1QeC8Pgy3FAppgPPfMXPLUWgswV24/dEJP8qiCTacFfF9iwIDAQAB
|
||||
|
||||
rc_score_result_url=http://10.91.122.11:8081/baicaplcredit/businessFlow/rzzlCreditResultForThirdParty.jsp
|
||||
@ -1,13 +1,17 @@
|
||||
#客户号
|
||||
cifMaster=60000002922
|
||||
cifMaster=60000078430
|
||||
#操作员
|
||||
entUserId=100001
|
||||
#操作密码
|
||||
password=1q2w3e4r
|
||||
#前置机地址
|
||||
cgbUrl=http://114.242.219.170:63312/CGBClient/BankAction
|
||||
#cgbUrl=http://114.242.219.170:63312/CGBClient/BankAction
|
||||
cgbUrl=http://127.0.0.1:9528/CGBClient/BankAction
|
||||
#cgbUrl=http://192.168.7.11:9528/CGBClient/BankAction
|
||||
|
||||
#本方账号
|
||||
ownAccBank=广发银行
|
||||
ownAccName=安鹏融资租赁(天津)有限公司
|
||||
ownAccNumber=9550880217136700372
|
||||
#广发银行
|
||||
ownAccBank=\u5e7f\u53d1\u94f6\u884c
|
||||
#安鹏融资租赁(天津)有限公司
|
||||
ownAccName=\u9020\u6570\u5ba1\u6e29\u8ba9\u6709\u9650\u516c\u53f8
|
||||
ownAccNumber=9550885271830400172
|
||||
|
||||
@ -1,35 +1,11 @@
|
||||
package com.amarsoft.app.flow;
|
||||
|
||||
import java.sql.SQLException;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.*;
|
||||
|
||||
import jbo.app.APP_BUSINESS_TEMPLATE;
|
||||
import jbo.com.tenwa.entity.comm.flow.FLOW_BUSSINESS_OBJECT;
|
||||
import jbo.com.tenwa.entity.comm.flow.FLOW_READER;
|
||||
import jbo.com.tenwa.entity.comm.flow.FLOW_STEP_NODE;
|
||||
import jbo.com.tenwa.entity.comm.flow.FLOW_WORK_FLAG;
|
||||
import jbo.sys.FLOW_ENTRUSTED_USER;
|
||||
import jbo.sys.FLOW_MODEL;
|
||||
import jbo.sys.FLOW_TASK;
|
||||
import jbo.sys.FLOW_TASK_USER_HIS;
|
||||
import jbo.sys.LM_APPROVAL_OPINION_LOG;
|
||||
import jbo.sys.USER_TASK_DATA;
|
||||
import jbo.sys.USER_TASK_INFO;
|
||||
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
|
||||
import com.amarsoft.amarscript.Any;
|
||||
import com.amarsoft.amarscript.ELContext;
|
||||
import com.amarsoft.amarscript.Expression;
|
||||
import com.amarsoft.app.lc.util.DateAssistant;
|
||||
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.are.jbo.JBOTransaction;
|
||||
import com.amarsoft.are.jbo.*;
|
||||
import com.amarsoft.are.lang.StringX;
|
||||
import com.amarsoft.are.msg.Message;
|
||||
import com.amarsoft.are.msg.SMTPDispatcher;
|
||||
@ -45,8 +21,6 @@ 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;
|
||||
@ -59,7 +33,18 @@ import com.tenwa.flow.task.ProductFlowTaskDataService;
|
||||
import com.tenwa.flow.task.TenwaFlowTask;
|
||||
import com.tenwa.flow.util.FlowUtil;
|
||||
import com.tenwa.officetempalte.util.FileOperatorUtil;
|
||||
import com.tenwa.reckon.util.DateUtil;
|
||||
import com.tenwa.reckon.util.UUIDUtil;
|
||||
import jbo.app.APP_BUSINESS_TEMPLATE;
|
||||
import jbo.com.tenwa.entity.comm.flow.*;
|
||||
import jbo.sys.*;
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
|
||||
import java.sql.SQLException;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.*;
|
||||
|
||||
//import com.base.util.DateUtil;
|
||||
|
||||
/**
|
||||
*
|
||||
@ -280,13 +265,15 @@ public class FlowAction {
|
||||
deleteTaskService.exectueFlowDelete();
|
||||
DataOperatorUtil.deleteJBOByCondtion(FLOW_WORK_FLAG.CLASS_NAME,
|
||||
condtion, tx);
|
||||
DataOperatorUtil.deleteJBOByCondtion(
|
||||
FLOW_BUSSINESS_OBJECT.CLASS_NAME, condtion, tx);
|
||||
condtion.clear();
|
||||
condtion.put("flowunid", objectNo);
|
||||
DataOperatorUtil.deleteJBOByCondtion(FLOW_STEP_NODE.CLASS_NAME,
|
||||
condtion, tx);
|
||||
flowService.delete(objectNo, objectType, tx);
|
||||
if (!"BusinessApplyFlow".equals(flowNo)) { //业务申请取消不删除数据,修改状态
|
||||
DataOperatorUtil.deleteJBOByCondtion(
|
||||
FLOW_BUSSINESS_OBJECT.CLASS_NAME, condtion, tx);
|
||||
condtion.clear();
|
||||
condtion.put("flowunid", objectNo);
|
||||
DataOperatorUtil.deleteJBOByCondtion(FLOW_STEP_NODE.CLASS_NAME,
|
||||
condtion, tx);
|
||||
flowService.delete(objectNo, objectType, tx);
|
||||
}
|
||||
return "success@删除成功";
|
||||
} catch (Exception e) {
|
||||
tx.rollback();
|
||||
@ -294,10 +281,10 @@ public class FlowAction {
|
||||
return "fail@删除失败";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**接口平台业务取消通知入表*/
|
||||
public void cancelOpinionLog(JBOTransaction tx) throws JBOException {
|
||||
|
||||
|
||||
BizObjectManager fboBm = JBOFactory.getBizObjectManager(FLOW_BUSSINESS_OBJECT.CLASS_NAME,tx);
|
||||
BizObject fboBo = fboBm.createQuery(" select O.FixedFlowParam from O where O.flow_unid=:flow_unid").setParameter("flow_unid",objectNo).getSingleResult(false);
|
||||
String fixedFlowParam = fboBo.getAttribute("FixedFlowParam").toString();
|
||||
@ -318,7 +305,7 @@ public class FlowAction {
|
||||
BizObject ftBo = ftBm.createQuery(" SELECT O.begintime FROM O WHERE OBJECTNO=:OBJECTNO AND O.ENDTIME IS NULL AND O.phaseno = '0010'").setParameter("OBJECTNO",flowunid).getSingleResult(false);
|
||||
BizObjectManager laolBm = JBOFactory.getBizObjectManager(LM_APPROVAL_OPINION_LOG.CLASS_NAME,tx);
|
||||
BizObject laolbo = laolBm.newObject();
|
||||
|
||||
|
||||
laolbo.setAttributeValue("CHANNEL",channel);
|
||||
laolbo.setAttributeValue("APPLICATION_NO",applicationNo);
|
||||
laolbo.setAttributeValue("PROJECT_NO",projectNo);
|
||||
@ -743,6 +730,28 @@ public class FlowAction {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取流程结束关联任务标识
|
||||
* @param tx
|
||||
* @return
|
||||
* @throws Exception
|
||||
*/
|
||||
public String getFlowEndRelativeTaskNo(JBOTransaction tx) throws Exception {
|
||||
String taskSerialNo = "";
|
||||
if (phaseNo.equals("1000") || phaseNo.equals("8000")) {
|
||||
BizObject bo = JBOFactory
|
||||
.getBizObjectManager("jbo.sys.FLOW_TASK", tx)
|
||||
.createQuery("select RELATIVESERIALNO from O where ObjectNo =:ObjectNo and PhaseNo =:PhaseNo ")
|
||||
.setParameter("ObjectNo", objectNo)
|
||||
.setParameter("PhaseNo", phaseNo)
|
||||
.getSingleResult(false);
|
||||
if (bo != null)
|
||||
taskSerialNo = bo.getAttribute("RELATIVESERIALNO").getString();
|
||||
|
||||
}
|
||||
return taskSerialNo;
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据flow_object相关数据获取未完成的flow_task流水号
|
||||
*
|
||||
@ -765,6 +774,14 @@ public class FlowAction {
|
||||
if (bo != null)
|
||||
taskSerialNo = bo.getAttribute("RELATIVESERIALNO").getString();
|
||||
|
||||
} else if(phaseNo.equals("8001")){
|
||||
bo = JBOFactory
|
||||
.getBizObjectManager("jbo.sys.FLOW_TASK", tx)
|
||||
.createQuery("select SERIALNO from O where ObjectNo =:ObjectNo and PhaseNo ='0010' ")
|
||||
.setParameter("ObjectNo", objectNo)
|
||||
.getSingleResult(false);
|
||||
if (bo != null)
|
||||
taskSerialNo = bo.getAttribute("SERIALNO").getString();
|
||||
} else {
|
||||
bo = JBOFactory
|
||||
.getBizObjectManager("jbo.sys.FLOW_TASK", tx)
|
||||
@ -1593,6 +1610,24 @@ public class FlowAction {
|
||||
return isRequireOpition;
|
||||
}
|
||||
|
||||
public String getjxsmessage(JBOTransaction tx) throws Exception {
|
||||
BizObject bo = null;
|
||||
BizObjectManager bm = null;
|
||||
BizObjectQuery bq = null;
|
||||
bm = JBOFactory.getFactory().getManager(COMMUNICATION.CLASS_NAME);
|
||||
bq = bm.createQuery("taskno=:taskno")
|
||||
.setParameter("taskno", this.getTaskNo());
|
||||
bo = bq.getSingleResult(false);
|
||||
String remake = "";
|
||||
if (bo == null) {
|
||||
remake = "Y";
|
||||
}else {
|
||||
remake = "N";
|
||||
}
|
||||
return remake;
|
||||
}
|
||||
|
||||
|
||||
public String getIsStepLastUser(JBOTransaction tx) throws Exception {
|
||||
if(this.nextNodeType.indexOf("JOIN")>=0){
|
||||
TenwaFlowTask ft = new TenwaFlowTask(taskNo, tx);//使用jboTrans
|
||||
|
||||
@ -1,8 +1,5 @@
|
||||
package com.amarsoft.dict.als.manage;
|
||||
|
||||
import jbo.com.tenwa.lease.comm.LB_PROJECT_INFO;
|
||||
import jbo.sys.FLOW_TASK;
|
||||
|
||||
import com.amarsoft.are.jbo.BizObject;
|
||||
import com.amarsoft.are.jbo.JBOException;
|
||||
import com.amarsoft.are.jbo.JBOFactory;
|
||||
@ -14,6 +11,8 @@ import com.amarsoft.awe.util.SqlObject;
|
||||
import com.amarsoft.awe.util.Transaction;
|
||||
import com.amarsoft.dict.als.cache.CodeCache;
|
||||
import com.amarsoft.dict.als.cache.NameCache;
|
||||
import jbo.com.tenwa.lease.comm.LB_PROJECT_INFO;
|
||||
import jbo.sys.FLOW_TASK;
|
||||
|
||||
public class NameManager
|
||||
{
|
||||
@ -191,26 +190,26 @@ public class NameManager
|
||||
{
|
||||
return NameCache.getName("jbo.app.tenwa.customer.CUSTOMER_INFO", "CustomerName", "CustomerID", sCustomerID);
|
||||
}
|
||||
|
||||
|
||||
public static String getOwnName(String sCustomerID) throws Exception{
|
||||
if(sCustomerID.startsWith("DSTB")){
|
||||
return NameCache.getName("jbo.app.tenwa.customer.DISTRIBUTOR_INFO", "DISTRIBUTOR_NAME", "DISTRIBUTOR_NO", sCustomerID);
|
||||
}else{
|
||||
return NameCache.getName("jbo.app.tenwa.customer.CUSTOMER_INFO", "CustomerName", "CustomerID", sCustomerID);
|
||||
return NameCache.getName("jbo.app.tenwa.customer.CUSTOMER_INFO", "CustomerName", "CustomerID", sCustomerID);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
public static String getDistributorNameById(String productId) throws Exception{
|
||||
return NameCache.getName("jbo.app.tenwa.customer.DISTRIBUTOR_INFO", "DISTRIBUTOR_NAME", "DISTRIBUTOR_NO", productId);
|
||||
}
|
||||
|
||||
|
||||
public static String getCustomerNumber(String sCustomerID)
|
||||
throws Exception
|
||||
{
|
||||
return NameCache.getName("jbo.app.tenwa.customer.CUSTOMER_INFO", "customer_num", "CustomerID", sCustomerID);
|
||||
}
|
||||
|
||||
|
||||
public static String getBusinessName(String sTypeNo)
|
||||
throws Exception
|
||||
{
|
||||
@ -222,7 +221,7 @@ public class NameManager
|
||||
{
|
||||
return NameCache.getName("jbo.app.FORMATDOC_TYPE", "TYPETITLE", "TYPENO", typeNo);
|
||||
}
|
||||
|
||||
|
||||
/*public static String getCustManageUserID(String sCustomerID)
|
||||
throws Exception
|
||||
{
|
||||
@ -240,28 +239,28 @@ public class NameManager
|
||||
BizObject bo = bq.setParameter("CustomerID", sCustomerID).getSingleResult(false);
|
||||
return bo == null ? "" : bo.getAttribute("OrgID").getString();
|
||||
}*/
|
||||
|
||||
|
||||
public static String getProjectNameByID(String projectID) throws Exception{
|
||||
BizObject bo = JBOFactory.createBizObjectQuery(LB_PROJECT_INFO.CLASS_NAME, "ID=:ID").setParameter("ID", projectID).getSingleResult(false);
|
||||
return bo != null?bo.getAttribute("PROJECT_NAME").getString():"";
|
||||
}
|
||||
|
||||
|
||||
public static String getFlowInitiator(String OBJECTNO) throws Exception{
|
||||
BizObject bo = JBOFactory.createBizObjectQuery(FLOW_TASK.CLASS_NAME, "OBJECTNO=:OBJECTNO AND PHASENO=:PHASENO").setParameter("OBJECTNO", OBJECTNO).setParameter("PHASENO", "0010").getSingleResult(false);
|
||||
return bo != null?bo.getAttribute("USERNAME").getString():"";
|
||||
}
|
||||
|
||||
|
||||
public static String getFlowInitTime(String OBJECTNO) throws Exception{
|
||||
BizObject bo = JBOFactory.createBizObjectQuery(FLOW_TASK.CLASS_NAME, "OBJECTNO=:OBJECTNO AND PHASENO=:PHASENO").setParameter("OBJECTNO", OBJECTNO).setParameter("PHASENO", "0010").getSingleResult(false);
|
||||
return bo != null?bo.getAttribute("BEGINTIME").getString():"";
|
||||
}
|
||||
|
||||
|
||||
public static String getYears(String ContractId,String i) throws Exception{
|
||||
System.out.println(ContractId+"<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<"+i);
|
||||
String sql = "select insurer_end_date from (SELECT @rownum ¡÷= @rownum + 1 AS rownum,insurer_end_date FROM LB_INSURANCE_INFO,(SELECT @rownum ¡÷= 0) t WHERE contract_id ='"+ContractId+"' ORDER BY insurer_start_date ) t WHERE t.rownum= '"+i+"';";
|
||||
//SqlObject asql = new SqlObject(sql);
|
||||
//
|
||||
|
||||
|
||||
SqlObject so = new SqlObject(sql);
|
||||
so.setDebugSql(so.getDebugSql().replaceAll("¡÷", ":"));
|
||||
so.setOriginalSql(so.getOriginalSql().replaceAll("¡÷", ":"));
|
||||
@ -296,7 +295,7 @@ public class NameManager
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
|
||||
/* try {
|
||||
BizObject bo = JBOFactory.createBizObjectQuery(BC_PAY_INFO_LOG.CLASS_NAME, sql).getSingleResult(false);
|
||||
lastTime = bo.getAttribute("lastTime").toString();
|
||||
@ -305,7 +304,7 @@ public class NameManager
|
||||
}*/
|
||||
return lastTime;
|
||||
}
|
||||
|
||||
|
||||
/*//»ñÈ¡µØÖ·Ãû³Æ
|
||||
public static String getItemName(String codeno,String AddressCode) throws Exception{
|
||||
if("".equals(AddressCode))
|
||||
@ -435,4 +434,8 @@ public class NameManager
|
||||
}
|
||||
return plateNum == null ? "" : plateNum;
|
||||
}
|
||||
}
|
||||
|
||||
public static String getFlowStatus(String phaseType) throws Exception {
|
||||
return "8001".equals(phaseType) ? "È¡Ïû" : "Õý³£";
|
||||
}
|
||||
}
|
||||
|
||||
@ -4,6 +4,10 @@ import com.alibaba.fastjson.JSONArray;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.amarsoft.are.ARE;
|
||||
import com.amarsoft.are.jbo.*;
|
||||
import com.amarsoft.dict.als.manage.CodeManager;
|
||||
import com.ample.esb.common.ParamDataUtils;
|
||||
import com.ample.esb.common.cache.EsbParamCache;
|
||||
import com.ample.esb.util.BaicPropertiesUtil;
|
||||
import com.ample.sms.FileUtil;
|
||||
import com.tenwa.httpclient.pboc.PbocXmlUtils;
|
||||
import com.tenwa.reckon.util.UUIDUtil;
|
||||
@ -15,6 +19,7 @@ import jbo.com.tenwa.lease.comm.LB_PROJECT_INFO_TEMP;
|
||||
import jbo.com.tenwa.lease.comm.LB_SMS_NOTICE_TASKS;
|
||||
import jbo.oti.*;
|
||||
import org.apache.commons.collections.CollectionUtils;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.dom4j.DocumentException;
|
||||
|
||||
import java.text.SimpleDateFormat;
|
||||
@ -79,24 +84,40 @@ public class WriteScoreResultThread extends Thread{
|
||||
JSONObject baseInfoJson = resJson.getJSONObject("BASE_INFO");//申请号
|
||||
String projectNo = baseInfoJson.getString("APPLICATION_NUMBER");//申请号
|
||||
String tranNo = baseInfoJson.getString("TRAN_NO");//流水号
|
||||
String flowNo = queryProjectTemp(projectNo);
|
||||
ARE.getLog().info("WriteScoreResultThread#saveUpdateScoreResult£ºtranNo=" + tranNo);
|
||||
// : 2023-8-24 ½âÎö½á¹û
|
||||
SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss"); //日期格式
|
||||
String date = sdf.format(new Date()); //将系统时间转换成上方指定类型
|
||||
String flowNo = queryProjectTemp(projectNo);
|
||||
if(StringUtils.isEmpty(flowNo)){
|
||||
ARE.getLog().error("WriteScoreResultThread#saveUpdateScoreResult ---【查询流程编号为空,非本系统数据】-----------》:projectNo=" + projectNo + "---》:tranNo=" + tranNo);
|
||||
// 更新回调接口执行状态
|
||||
String callBackLogId = resStrJson.getString("callBackLogId");//处理日志logID
|
||||
BizObjectManager rcCallbackLog = JBOFactory.getBizObjectManager(RC_CALLBACK_LOG.CLASS_NAME, tx);
|
||||
BizObject rcCallbackLogBizObject = rcCallbackLog.createQuery("callback_id=:callback_id").setParameter("callback_id", callBackLogId).getSingleResult(true);
|
||||
rcCallbackLogBizObject.setAttributeValue("handle_sts", "2");
|
||||
rcCallbackLogBizObject.setAttributeValue("handle_value", "非本系统数据");
|
||||
rcCallbackLogBizObject.setAttributeValue("update_time", date);
|
||||
rcCallbackLog.saveObject(rcCallbackLogBizObject);
|
||||
return;
|
||||
}
|
||||
ARE.getLog().info("WriteScoreResultThread#saveUpdateScoreResult:tranNo=" + tranNo);
|
||||
// : 2023-8-24 解析结果
|
||||
String resultId = UUIDUtil.getUUID();
|
||||
JSONObject blazeResultJson = resJson.getJSONObject("BLAZERESULT");//评分结果项
|
||||
String resultCode = blazeResultJson.getString("RESULT_CODE");// 评分结果状态 1000为成功,其他失败
|
||||
String result = blazeResultJson.getString("RESULT");//评分结果 AA RR RD DD
|
||||
String thirdResultUrl = "http://10.91.122.11:8081/baicaplcredit/businessFlow/rzzlCreditResultForThirdParty.jsp?applicationNo="
|
||||
+ projectNo + "&transNo=" + tranNo;
|
||||
|
||||
String resultValue = CodeManager.getItemName("rc_score_result", result);;
|
||||
String thirdResultUrl = BaicPropertiesUtil.get("rc_score_result_url") + "?applicationNo=" + projectNo
|
||||
+ "&transNo=" + tranNo;
|
||||
JSONObject fraudResultJson = resJson.getJSONObject("FRAUD_RESULT");// 反欺诈结果
|
||||
String fraudAlert = null;// 反欺诈预警结果:H、S、C
|
||||
String actionTaken = null;// 反欺诈判定结果:F、K、S、空
|
||||
String fraudAlertValue = null;// 反欺诈预警结果:H、S、C
|
||||
String actionTakenValue = null;// 反欺诈判定结果:F、K、S、空
|
||||
if(null != fraudResultJson){
|
||||
fraudAlert = fraudResultJson.getString("FRAUD_ALERT");// 反欺诈预警结果:H、S、C
|
||||
actionTaken = fraudResultJson.getString("ACTION_TAKEN");// 反欺诈判定结果:F、K、S、空
|
||||
fraudAlertValue = CodeManager.getItemName("rc_score_fraud_alert", fraudAlert); // 反欺诈预警结果:H、S、C
|
||||
actionTakenValue = CodeManager.getItemName("rc_score_action_taken", actionTaken); // 反欺诈判定结果:F、K、S、空
|
||||
}else {
|
||||
ARE.getLog().error("WriteScoreResultThread#saveUpdateScoreResult ---FRAUD_ALERT-【反欺诈结果为空】-----------》:tranNo=" + tranNo);
|
||||
}
|
||||
@ -118,6 +139,10 @@ public class WriteScoreResultThread extends Thread{
|
||||
rcScoreResultBizObject.setAttributeValue("score_result_url", thirdResultUrl);// 评分结果报告
|
||||
rcScoreResultBizObject.setAttributeValue("fraud_alert_code", fraudAlert);// 反欺诈预警结果:H、S、C
|
||||
rcScoreResultBizObject.setAttributeValue("fraud_taken_code", actionTaken);// 反欺诈判定结果:F、K、S、空
|
||||
|
||||
rcScoreResultBizObject.setAttributeValue("score_result_value", resultValue);// 反欺诈判定结果:F、K、S、空
|
||||
rcScoreResultBizObject.setAttributeValue("fraud_alert_value", fraudAlertValue);// 反欺诈判定结果:F、K、S、空
|
||||
rcScoreResultBizObject.setAttributeValue("fraud_taken_value", actionTakenValue);// 反欺诈判定结果:F、K、S、空
|
||||
rcScoreResultBizObject.setAttributeValue("update_time", date);
|
||||
rcScoreResult.saveObject(rcScoreResultBizObject);
|
||||
|
||||
|
||||
@ -57,59 +57,43 @@ public class AllinpayPaymentQueryRun implements Runnable{
|
||||
Map<String, String> mapXml = new HashMap<String, String>();
|
||||
try {
|
||||
BizObjectManager bomLCP = JBOFactory.getBizObjectManager("jbo.app.tenwa.calc.LC_CARD_PAYMENT");
|
||||
int start = 0;
|
||||
int maxCount = 100;
|
||||
List<BizObject> boLOEDs=null;
|
||||
int size = bomLCP.createQuery("O.STATUS='正在处理' ").getTotalCount();
|
||||
if (size == 0) {
|
||||
logger.info("没有需要查询的通联支付信息");
|
||||
List<BizObject> boLOEDs = bomLCP.createQuery("O.STATUS='正在处理'").getResultList(true);
|
||||
if (boLOEDs == null || boLOEDs.size() == 0) {
|
||||
logger.error("没有需要查询的通联支付信息");
|
||||
return;
|
||||
}
|
||||
while (size > start) {
|
||||
logger.info("开始第" + start + "至" + (start + maxCount) + "次循环");
|
||||
boLOEDs = bomLCP.createQuery("O.STATUS='正在处理' ").setFirstResult(start).setMaxResults(maxCount).getResultList(true);
|
||||
for (BizObject boLCP : boLOEDs) {
|
||||
try {
|
||||
BizObject object = JBOFactory.getBizObjectManager("jbo.com.tenwa.lease.comm.LB_PROJECT_INFO").createQuery("O.id=:id").setParameter("id", boLCP.getAttribute("PROJECT_ID").toString()).getSingleResult(false);
|
||||
allinpay = new AllinpayProperties(object.getAttribute("subjectid").toString());
|
||||
String quertSn = boLCP.getAttribute("REQ_SN").toString();
|
||||
String num = boLCP.getAttribute("NUM").toString();
|
||||
localFilePath = boLCP.getAttribute("FULLPATH").toString();
|
||||
String time = DateAssistant.getTodayNow();
|
||||
sqlMap.put("QUERYTIME", time);
|
||||
sqlMap.put("NUM", Integer.parseInt(num) + "");
|
||||
mapXml.put("quertSn", quertSn);
|
||||
sqlMap = sendMessageByProxy(mapXml, sqlMap);
|
||||
|
||||
if (boLOEDs == null || boLOEDs.size() == 0) {
|
||||
logger.error("没有需要查询的通联支付信息>>>>>>>>>>:");
|
||||
break;
|
||||
}
|
||||
for (BizObject boLCP : boLOEDs) {
|
||||
try {
|
||||
|
||||
BizObject object = JBOFactory.getBizObjectManager("jbo.com.tenwa.lease.comm.LB_PROJECT_INFO").createQuery("O.id=:id").setParameter("id", boLCP.getAttribute("PROJECT_ID").toString()).getSingleResult(false);
|
||||
|
||||
allinpay = new AllinpayProperties(object.getAttribute("subjectid").toString());
|
||||
String quertSn= boLCP.getAttribute("REQ_SN").toString();
|
||||
String num = boLCP.getAttribute("NUM").toString();
|
||||
localFilePath = boLCP.getAttribute("FULLPATH").toString();
|
||||
String time = DateAssistant.getTodayNow();
|
||||
sqlMap.put("QUERYTIME", time);
|
||||
sqlMap.put("NUM", Integer.parseInt(num) + "");
|
||||
mapXml.put("quertSn", quertSn);
|
||||
sqlMap = sendMessageByProxy(mapXml, sqlMap);
|
||||
|
||||
if (localFilePath == null) {
|
||||
LocalDateTime ldt = LocalDateTime.now();
|
||||
DateTimeFormatter dtf = DateTimeFormatter.ofPattern("yyyyMMdd");
|
||||
localFilePath = ConfigConstant.filePath.replaceAll("\\{uuid\\}",UUIDUtil.getUUID()).replaceAll("\\{YYYYMMDD\\}", dtf.format(ldt));
|
||||
sqlMap.put("FULLPATH", localFilePath);
|
||||
}
|
||||
saveRequestTxt(sqlMap);
|
||||
updateMessage(bomLCP, boLCP, sqlMap);
|
||||
localFilePath = null;
|
||||
} catch (Exception e) {
|
||||
logger.error(">>>>>>>>>>>通联支付结果查询失败>>>>>>>>id:" +boLCP.getAttribute("id").toString());
|
||||
e.printStackTrace();
|
||||
}finally {
|
||||
sqlMap.clear();
|
||||
mapXml.clear();
|
||||
if (localFilePath == null) {
|
||||
LocalDateTime ldt = LocalDateTime.now();
|
||||
DateTimeFormatter dtf = DateTimeFormatter.ofPattern("yyyyMMdd");
|
||||
localFilePath = ConfigConstant.filePath.replaceAll("\\{uuid\\}", UUIDUtil.getUUID()).replaceAll("\\{YYYYMMDD\\}", dtf.format(ldt));
|
||||
sqlMap.put("FULLPATH", localFilePath);
|
||||
}
|
||||
saveRequestTxt(sqlMap);//记录日志文件 文件路径 LC_CARD_PAYMENT:FULLPATH
|
||||
updateMessage(bomLCP, boLCP, sqlMap);
|
||||
localFilePath = null;
|
||||
} catch (Exception e) {
|
||||
logger.error(">>>>>>>>>>>通联支付结果查询失败>>>>>>>>id:" + boLCP.getAttribute("id").toString());
|
||||
e.printStackTrace();
|
||||
} finally {
|
||||
sqlMap.clear();
|
||||
mapXml.clear();
|
||||
}
|
||||
boLOEDs=null;
|
||||
start +=100;
|
||||
}
|
||||
} catch (Exception e) {
|
||||
logger.error(">>>>>>>>>>>通联支付结果查询失败>>>>>>>>:");
|
||||
logger.error(">>>>>>>>>>>通联支付结果查询失败>>>>>>>>");
|
||||
e.printStackTrace();
|
||||
}
|
||||
logger.info(">>>>>>>>>>>结束通联支付结果查询>>>>>>>>");
|
||||
@ -289,6 +273,7 @@ public class AllinpayPaymentQueryRun implements Runnable{
|
||||
String collectMsg = boLRP.getAttribute("batch_status")==null?"":boLRP.getAttribute("collect_msg").toString();
|
||||
|
||||
if("处理成功".equals(status)&&boLCP.getAttribute("FINISH_AMOUNT")!=null&&!"".equals(boLCP.getAttribute("FINISH_AMOUNT").toString())){
|
||||
//插入实收记录
|
||||
insertMessage(boLRP,finishAmount,tx);
|
||||
//租金计划表状态处理
|
||||
BizObjectManager bomIncome = JBOFactory.getBizObjectManager(LC_RENT_INCOME.CLASS_NAME,tx);
|
||||
|
||||
@ -5,6 +5,7 @@ import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
import javax.script.Bindings;
|
||||
import javax.script.Invocable;
|
||||
@ -38,6 +39,7 @@ import com.tenwa.flow.treeview.action.BaseInitTreeView;
|
||||
import com.tenwa.flow.treeview.action.TreeItemData;
|
||||
import com.tenwa.lease.util.FlowViewUtil;
|
||||
import com.tenwa.officetempalte.util.FileOperatorUtil;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
|
||||
public class FlowTaskViewTabService {
|
||||
/**
|
||||
@ -70,7 +72,7 @@ public class FlowTaskViewTabService {
|
||||
public static List<BizObject>getFlowTabItemByObject(String ObjectType)throws Exception{
|
||||
List<BizObject> bo = null;
|
||||
BizObjectManager bm = null;
|
||||
BizObjectQuery bq = null;
|
||||
BizObjectQuery bq = null;
|
||||
bm = JBOFactory.getFactory().getManager(OBJECTTYPE_RELA.CLASS_NAME);
|
||||
bq = bm.createQuery("O.objecttype=:objecttype ").setParameter("objecttype",ObjectType);
|
||||
bo=bq.getResultList(true);
|
||||
@ -103,21 +105,21 @@ public class FlowTaskViewTabService {
|
||||
tabTitle =tabItem.getAttribute("displayname").getString();
|
||||
tabAction = getObjectTabAction(tabItem, argmap, Sqlca);
|
||||
viewTabInfo += getTabCompent(tabNo, tabTitle, tabAction);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
viewTabInfo += "tabCompent.setSelectedItem(\""+ defaultOpenTab +"\");"; //默认选中项的编号
|
||||
|
||||
|
||||
return viewTabInfo;
|
||||
}
|
||||
|
||||
|
||||
public static String showViewObjectTabInfoRole(List<BizObject> viewTabList, HashMap<String, String> argmap, Transaction Sqlca, boolean flag) throws Exception{
|
||||
String viewTabInfo = "";//返回结果
|
||||
//tab编号,标题和事件
|
||||
String tabNo = "Blank";
|
||||
String tabTitle = "该流程阶段没有配置功能信息,请确认";
|
||||
String tabAction = getOpenComp(tabTitle,tabNo,"/Blank.jsp","");
|
||||
|
||||
|
||||
//默认打开tab
|
||||
String defaultOpenTab = tabNo;
|
||||
if(viewTabList.size() == 0){
|
||||
@ -138,11 +140,11 @@ public class FlowTaskViewTabService {
|
||||
} else {
|
||||
viewTabInfo += getTabCompent(tabNo, tabTitle, tabAction);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
viewTabInfo += "tabCompent.setSelectedItem(\""+ defaultOpenTab +"\");"; //默认选中项的编号
|
||||
|
||||
|
||||
return viewTabInfo;
|
||||
}
|
||||
/**
|
||||
@ -199,7 +201,7 @@ public class FlowTaskViewTabService {
|
||||
}
|
||||
return tabActionExp;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 构造URL参数串
|
||||
@ -224,10 +226,10 @@ public class FlowTaskViewTabService {
|
||||
String sObjectNo = CurPage.getParameter("ObjectNo"); //对象编号
|
||||
String sFlowNo=CurPage.getParameter("FlowNo"); //流程配置编号
|
||||
String sPhaseNo=CurPage.getParameter("PhaseNo"); //阶段编号
|
||||
String sTaskNo=CurPage.getParameter("TaskNo"); //任务编号
|
||||
String sTaskNo=CurPage.getParameter("TaskNo"); //任务编号
|
||||
String sViewID=CurPage.getParameter("ViewID"); //视图编号
|
||||
String sRightType=CurPage.getParameter("RightType"); //显示权限
|
||||
String sApplyType=CurPage.getParameter("ApplyType"); //申请类型
|
||||
String sRightType=CurPage.getParameter("RightType"); //显示权限
|
||||
String sApplyType=CurPage.getParameter("ApplyType"); //申请类型
|
||||
String sishistory=CurPage.getParameter("ishistory"); //是否历史
|
||||
paramMap.put("ObjectType", sObjectType);
|
||||
paramMap.put("ObjectNo", sObjectType);
|
||||
@ -237,11 +239,11 @@ public class FlowTaskViewTabService {
|
||||
paramMap.put("ViewID", sViewID);
|
||||
paramMap.put("RightType", sRightType);
|
||||
paramMap.put("ApplyType", sApplyType);
|
||||
paramMap.put("FlowUnid", sObjectNo);
|
||||
paramMap.put("FlowUnid", sObjectNo);
|
||||
paramMap.put("ishistory", sishistory);
|
||||
return paramMap;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 构造tabCompent.addDataItem语句
|
||||
* @param tabNo
|
||||
@ -252,7 +254,7 @@ public class FlowTaskViewTabService {
|
||||
public static String getTabCompent(String tabNo, String tabTitle, String tabAction){
|
||||
return "tabCompent.addDataItem(\""+tabNo+"\",\""+tabTitle+"\",\""+tabAction+"\",true,false);\n";
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 构造OpenComp语句
|
||||
* @param comp
|
||||
@ -264,9 +266,9 @@ public class FlowTaskViewTabService {
|
||||
String frameName = "TabContentFrame";
|
||||
return "OpenCompWithTitle('"+tabTitle+"','"+comp+"','"+url+"','"+param+"','"+frameName+"')";
|
||||
}
|
||||
|
||||
|
||||
public static List<TreeItemData> getProductTreeView(JBOTransaction tx,HashMap<String,String> FlowFixedParam) throws Exception{
|
||||
List<BizObject> bos = JBOFactory.createBizObjectQuery("jbo.prd.PRD_NODEINFO","SELECT O.NodeID,O.NodeName,O.ItemDescribe FROM O, jbo.prd.PRD_STAGENODE ps where ps.node_id=O.nodeid and ps.prd_id = '"+FlowFixedParam.get("ProductId")+"' and ps.PRD_STAGE ='"+FlowFixedParam.get("ProductStage")+"' order by O.SORTNO ").getResultList(false);
|
||||
List<BizObject> bos = JBOFactory.createBizObjectQuery("jbo.prd.PRD_NODEINFO","SELECT O.NodeID,O.NodeName,O.ItemDescribe FROM O, jbo.prd.PRD_STAGENODE ps where ps.node_id=O.nodeid and ps.prd_id = '"+FlowFixedParam.get("ProductId")+"' and ps.PRD_STAGE ='"+FlowFixedParam.get("ProductStage")+"' order by O.SORTNO ").getResultList(false);
|
||||
List<TreeItemData> treeItems=new ArrayList<TreeItemData>();
|
||||
for(int i=0;i<bos.size();i++){
|
||||
String nodeno=bos.get(i).getAttribute("NodeID").getString();
|
||||
@ -287,7 +289,7 @@ public class FlowTaskViewTabService {
|
||||
if(surl.indexOf(",")>0||surl.indexOf(".jsp")<0){
|
||||
TreeItemData temp=new TreeItemData("root",nodeno,nodename,"",tempParam);
|
||||
treeItems.add(temp);
|
||||
List<BizObject> child = JBOFactory.createBizObjectQuery("jbo.prd.PRD_NODEINFO","SELECT O.NodeID,O.NodeName,O.ItemDescribe FROM O where o.nodeid in("+surl+") order by O.SORTNO ").getResultList(false);
|
||||
List<BizObject> child = JBOFactory.createBizObjectQuery("jbo.prd.PRD_NODEINFO","SELECT O.NodeID,O.NodeName,O.ItemDescribe FROM O where o.nodeid in("+surl+") order by O.SORTNO ").getResultList(false);
|
||||
for(int j=0;j<child.size();j++){
|
||||
String cnodeno=child.get(j).getAttribute("NodeID").getString();
|
||||
String cnodename=child.get(j).getAttribute("NodeName").getString();
|
||||
@ -319,9 +321,18 @@ public class FlowTaskViewTabService {
|
||||
public static void initOHTMLTreeViewProduct(JBOTransaction tx,OHTMLTreeView tviTemp,HashMap<String,String> FlowFixedParam) throws Exception{
|
||||
List<TreeItemData> treeItems=FlowTaskViewTabService.getProductTreeView(tx, FlowFixedParam);
|
||||
BaseInitTreeView baseTreeView=FlowTaskViewTabService.initCustTreeView(tx, treeItems, FlowFixedParam);
|
||||
deleteTreeTab(baseTreeView.getTreeItem(),FlowFixedParam);
|
||||
FlowTaskViewTabService.initOHTMLTreeViewByFlowConfig(tx,tviTemp, baseTreeView.getTreeItem(),FlowFixedParam);
|
||||
FlowTaskViewTabService.initFlowStepNodes(tx, FlowFixedParam, baseTreeView);
|
||||
FlowTaskViewTabService.initFlowStepNodes(tx, FlowFixedParam, baseTreeView);
|
||||
}
|
||||
|
||||
public static void deleteTreeTab(List<TreeItemData> treeItemDataList,HashMap<String,String> FlowFixedParam ){
|
||||
if(StringUtils.isNotBlank(FlowFixedParam.get("delTabs"))){
|
||||
List<TreeItemData> delTabs = treeItemDataList.stream().filter(item -> FlowFixedParam.get("delTabs").indexOf(item.getItemName()) > -1).collect(Collectors.toList());
|
||||
treeItemDataList.removeAll(delTabs);
|
||||
}
|
||||
}
|
||||
|
||||
public static void initOHTMLTreeViewProjectContract(JBOTransaction tx,OHTMLTreeView tviTemp,Page curPage) throws Exception{
|
||||
HashMap<String,String>FlowFixedParam=new HashMap<String,String>();
|
||||
FlowFixedParam.put("RightType", curPage.getAttribute("RightType"));
|
||||
@ -330,7 +341,7 @@ public class FlowTaskViewTabService {
|
||||
FlowFixedParam.put("ContractId", curPage.getAttribute("ContractId"));
|
||||
FlowFixedParam.put("ShowType", curPage.getAttribute("ShowType"));
|
||||
//根据项目号获得产品
|
||||
BizObject projectObject = JBOFactory.createBizObjectQuery(LB_PROJECT_INFO.CLASS_NAME,"SELECT O.product_id FROM O WHERE O.id=:id ").setParameter("id",FlowFixedParam.get("ProjectId") ).getSingleResult(false);
|
||||
BizObject projectObject = JBOFactory.createBizObjectQuery(LB_PROJECT_INFO.CLASS_NAME,"SELECT O.product_id FROM O WHERE O.id=:id ").setParameter("id",FlowFixedParam.get("ProjectId") ).getSingleResult(false);
|
||||
FlowFixedParam.put("ProductId",projectObject.getAttribute("product_id").getString());
|
||||
List<TreeItemData> treeItems=FlowTaskViewTabService.getProjectContractTreeView(tx, FlowFixedParam);
|
||||
BaseInitTreeView treeView=new BaseInitTreeView();
|
||||
@ -343,7 +354,7 @@ public class FlowTaskViewTabService {
|
||||
public static List<TreeItemData> getProjectContractTreeView(JBOTransaction tx,HashMap<String,String> FlowFixedParam) throws Exception{
|
||||
String sql="SELECT O.NodeID,O.NodeName,O.ItemDescribe FROM O where O.NodeID in(SELECT cl.itemno FROM "+CODE_LIBRARY.CLASS_NAME+" cl WHERE cl.codeno='"+FlowFixedParam.get("ShowType")+"') order by O.SORTNO ";
|
||||
System.out.println(sql);
|
||||
List<BizObject> bos = JBOFactory.createBizObjectQuery("jbo.prd.PRD_NODEINFO",sql).getResultList(false);
|
||||
List<BizObject> bos = JBOFactory.createBizObjectQuery("jbo.prd.PRD_NODEINFO",sql).getResultList(false);
|
||||
List<TreeItemData> treeItems=new ArrayList<TreeItemData>();
|
||||
sql="select itemattribute from O where codeno='"+FlowFixedParam.get("ShowType")+"' and itemno=:itemno";
|
||||
for(int i=0;i<bos.size();i++){
|
||||
@ -374,7 +385,7 @@ public class FlowTaskViewTabService {
|
||||
if(surl.indexOf(",")>0||surl.indexOf(".jsp")<0){
|
||||
TreeItemData temp=new TreeItemData("root",nodeno,nodename,"",tempParam);
|
||||
treeItems.add(temp);
|
||||
List<BizObject> child = JBOFactory.createBizObjectQuery("jbo.prd.PRD_NODEINFO","SELECT O.NodeID,O.NodeName,O.ItemDescribe FROM O where o.nodeid in("+surl+") order by O.SORTNO ").getResultList(false);
|
||||
List<BizObject> child = JBOFactory.createBizObjectQuery("jbo.prd.PRD_NODEINFO","SELECT O.NodeID,O.NodeName,O.ItemDescribe FROM O where o.nodeid in("+surl+") order by O.SORTNO ").getResultList(false);
|
||||
for(int j=0;j<child.size();j++){
|
||||
String cnodeno=child.get(j).getAttribute("NodeID").getString();
|
||||
String cnodename=child.get(j).getAttribute("NodeName").getString();
|
||||
@ -403,7 +414,7 @@ public class FlowTaskViewTabService {
|
||||
}
|
||||
return treeItems;
|
||||
}
|
||||
|
||||
|
||||
public static List<TreeItemData> getCommTreeView(JBOTransaction tx,HashMap<String,String> FlowFixedParam) throws Exception{
|
||||
List<BizObject> bos = JBOFactory.createBizObjectQuery("jbo.sys.CODE_LIBRARY","SELECT O.ITEMNO,O.ITEMNAME,O.ITEMDESCRIBE,O.Attribute1 from O where O.CodeNo = '"+FlowFixedParam.get("FlowStepPage")+"' and O.IsInUse = '1' ORDER BY O.SORTNO").getResultList(false);
|
||||
List<TreeItemData> treeItems=new ArrayList<TreeItemData>();
|
||||
@ -433,9 +444,9 @@ public class FlowTaskViewTabService {
|
||||
List<TreeItemData> treeItems=FlowTaskViewTabService.getCommTreeView(tx, FlowFixedParam);
|
||||
BaseInitTreeView baseTreeView=FlowTaskViewTabService.initCustTreeView(tx, treeItems, FlowFixedParam);
|
||||
FlowTaskViewTabService.initOHTMLTreeViewByFlowConfig(tx,tviTemp, baseTreeView.getTreeItem(),FlowFixedParam);
|
||||
FlowTaskViewTabService.initFlowStepNodes(tx, FlowFixedParam, baseTreeView);
|
||||
FlowTaskViewTabService.initFlowStepNodes(tx, FlowFixedParam, baseTreeView);
|
||||
}
|
||||
public static void initOHTMLTreeViewByFlowConfig(JBOTransaction tx,OHTMLTreeView tviTemp,List<TreeItemData> TreeData,HashMap<String,String>flowFixedParam) throws Exception{
|
||||
public static void initOHTMLTreeViewByFlowConfig(JBOTransaction tx,OHTMLTreeView tviTemp,List<TreeItemData> TreeData,HashMap<String,String>flowFixedParam) throws Exception{
|
||||
int i=0;
|
||||
Map<String,String> folder=new HashMap<String, String>();
|
||||
for(TreeItemData bo : TreeData){
|
||||
@ -451,19 +462,19 @@ public class FlowTaskViewTabService {
|
||||
}
|
||||
}
|
||||
String sItemDescribe = bo.getItemUrl()+bo.getParamString();
|
||||
|
||||
|
||||
if(bo.getItemUrl().length()>0){
|
||||
if(!parentNo.equals("root")){
|
||||
parentNo=folder.get(parentNo);
|
||||
}
|
||||
String sid=tviTemp.insertPage(parentNo, sNodeName,sItemDescribe, "", i++);
|
||||
String sid=tviTemp.insertPage(parentNo, sNodeName,sItemDescribe, "", i++);
|
||||
}else{
|
||||
String sid=tviTemp.insertFolder(parentNo, sNodeName,"", i++);
|
||||
folder.put(sNodeID, sid);
|
||||
}
|
||||
}
|
||||
}
|
||||
public static BaseInitTreeView initCustTreeView(JBOTransaction tx,List<TreeItemData> TreeData,HashMap<String,String>flowFixedParam) throws Exception{
|
||||
public static BaseInitTreeView initCustTreeView(JBOTransaction tx,List<TreeItemData> TreeData,HashMap<String,String>flowFixedParam) throws Exception{
|
||||
BaseInitTreeView treeView=new BaseInitTreeView();
|
||||
treeView.setTx(tx);
|
||||
treeView.setTreeItem(TreeData);
|
||||
@ -471,26 +482,26 @@ public class FlowTaskViewTabService {
|
||||
FlowViewUtil.updateTreeView(treeView);
|
||||
TreeData=treeView.getTreeItem();
|
||||
String stepViewOperator=FlowTaskViewTabService.getStepViewOperator(flowFixedParam.get("FlowNo"), flowFixedParam.get("PhaseNo"));
|
||||
|
||||
|
||||
|
||||
|
||||
BaseInitTreeView baseTreeView=new BaseInitTreeView();
|
||||
baseTreeView.setTx(tx);
|
||||
baseTreeView.setTreeItem(TreeData);
|
||||
baseTreeView.setFlowFixedParam(flowFixedParam);
|
||||
if(null!=stepViewOperator &&stepViewOperator.length()>0){
|
||||
try {
|
||||
ScriptEngineManager factory = new ScriptEngineManager();
|
||||
//每次生成一个engine实例
|
||||
ScriptEngine engine = factory.getEngineByName("groovy");
|
||||
assert engine != null;
|
||||
//javax.script.Bindings
|
||||
Bindings binding = engine.createBindings();
|
||||
binding.put("TreeView",baseTreeView);
|
||||
ScriptEngineManager factory = new ScriptEngineManager();
|
||||
//每次生成一个engine实例
|
||||
ScriptEngine engine = factory.getEngineByName("groovy");
|
||||
assert engine != null;
|
||||
//javax.script.Bindings
|
||||
Bindings binding = engine.createBindings();
|
||||
binding.put("TreeView",baseTreeView);
|
||||
binding.put("fixedParam", flowFixedParam);
|
||||
//如果script文本来自文件,请首先获取文件内容
|
||||
engine.eval("def modifyFlowPageTreeSet(){"+stepViewOperator+"}",binding);
|
||||
Object time = (Object)((Invocable)engine).invokeFunction("modifyFlowPageTreeSet", null);
|
||||
|
||||
//如果script文本来自文件,请首先获取文件内容
|
||||
engine.eval("def modifyFlowPageTreeSet(){"+stepViewOperator+"}",binding);
|
||||
Object time = (Object)((Invocable)engine).invokeFunction("modifyFlowPageTreeSet", null);
|
||||
|
||||
} catch (NoSuchMethodException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
@ -500,11 +511,11 @@ public class FlowTaskViewTabService {
|
||||
} }
|
||||
return baseTreeView;
|
||||
}
|
||||
|
||||
|
||||
public static String getStepViewOperator(String sFlowNo,String sPhaseNo) throws Exception{
|
||||
BizObject flowModel = GetFlowAction.getFlowModelParams(sFlowNo,sPhaseNo); //任务配置
|
||||
BizObject flowModel = GetFlowAction.getFlowModelParams(sFlowNo,sPhaseNo); //任务配置
|
||||
if(null!=flowModel.getAttribute("FLOWPROCESSCLASS")){
|
||||
String viewOperatorClass=flowModel.getAttribute("FLOWPROCESSCLASS").getString(); //视图处理类
|
||||
String viewOperatorClass=flowModel.getAttribute("FLOWPROCESSCLASS").getString(); //视图处理类
|
||||
return viewOperatorClass;
|
||||
}else{
|
||||
return "";
|
||||
@ -525,7 +536,7 @@ public class FlowTaskViewTabService {
|
||||
bo = bq.getSingleResult(false);
|
||||
return bo.getAttribute("VIEWNODECODE").getString();
|
||||
}
|
||||
|
||||
|
||||
public static void updateFlowStepViewNode(JBOTransaction tx,String taskNo,String nodeview)throws Exception{
|
||||
BizObjectManager table = JBOFactory.getBizObjectManager(FLOW_TASK.CLASS_NAME);
|
||||
tx.join(table);
|
||||
@ -536,7 +547,7 @@ public class FlowTaskViewTabService {
|
||||
table.saveObject(Object);
|
||||
tx.commit();
|
||||
}
|
||||
|
||||
|
||||
public static void initFlowStepNodes(JBOTransaction tx,Map<String,String>fixedParam,BaseInitTreeView baseTreeView)throws Exception{
|
||||
BizObjectManager table = JBOFactory.getBizObjectManager(FLOW_STEP_NODE.CLASS_NAME);
|
||||
tx.join(table);
|
||||
@ -553,15 +564,15 @@ public class FlowTaskViewTabService {
|
||||
oneObject.setAttributeValue("taskno",TaskNo);
|
||||
oneObject.setAttributeValue("nodeno", baseTreeView.getTreeItem().get(i).getItemNo());
|
||||
String tempNO= baseTreeView.getTreeItem().get(i).getItemParam().get("TempletNo");
|
||||
if(tempNO!=null&&tempNO.length()>0){
|
||||
if(tempNO!=null&&tempNO.length()>0){
|
||||
oneObject.setAttributeValue("templetno",tempNO);
|
||||
}
|
||||
oneObject.setAttributeValue("param",FileOperatorUtil.getMapToJsonStr(baseTreeView.getTreeItem().get(i).getItemParam()));
|
||||
table.saveObject(oneObject);
|
||||
|
||||
|
||||
}}
|
||||
}
|
||||
tx.commit();
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -0,0 +1,122 @@
|
||||
package com.tenwa.voucher.CreateVoucherProcess;
|
||||
|
||||
import com.amarsoft.are.jbo.JBOException;
|
||||
import com.amarsoft.are.jbo.JBOFactory;
|
||||
import com.amarsoft.are.jbo.JBOTransaction;
|
||||
import com.amarsoft.awe.util.SqlObject;
|
||||
import com.amarsoft.awe.util.Transaction;
|
||||
|
||||
public class Communicationsave {
|
||||
|
||||
private String type;
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
private String id;
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
private String flowunid;
|
||||
public String getFlowunid() {
|
||||
return flowunid;
|
||||
}
|
||||
|
||||
public void setFlowunid(String flowunid) {
|
||||
this.flowunid = flowunid;
|
||||
}
|
||||
private String phaseNo;
|
||||
public String getPhaseNo() {
|
||||
return phaseNo;
|
||||
}
|
||||
public void setPhaseNo(String phaseNo) {
|
||||
this.phaseNo = phaseNo;
|
||||
}
|
||||
private String taskno;
|
||||
public String getTaskno() {
|
||||
return taskno;
|
||||
}
|
||||
public void setTaskno(String taskno) {
|
||||
this.taskno = taskno;
|
||||
}
|
||||
|
||||
private String userid;
|
||||
public String getUserid() {
|
||||
return userid;
|
||||
}
|
||||
public void setUserid(String userid) {
|
||||
this.userid = userid;
|
||||
}
|
||||
|
||||
private String orgid;
|
||||
public String getOrgid() {
|
||||
return orgid;
|
||||
}
|
||||
public void setOrgid(String orgid) {
|
||||
this.orgid = orgid;
|
||||
}
|
||||
private String remark;
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
private String time;
|
||||
public String getTime() {
|
||||
return time;
|
||||
}
|
||||
public void setTime(String time) {
|
||||
this.time = time;
|
||||
}
|
||||
|
||||
|
||||
public String soleVerify(JBOTransaction tx) throws Exception {
|
||||
tx= JBOFactory.createJBOTransaction();
|
||||
String returns="true";
|
||||
String id = this.id;
|
||||
String type = this.type;
|
||||
String taskno = this.taskno;
|
||||
String flowunid = this.flowunid;
|
||||
String phaseNo = this.phaseNo;
|
||||
String userid = this.userid;
|
||||
String orgid = this.orgid;
|
||||
String remark = this.remark;
|
||||
try {
|
||||
Transaction sqlca = Transaction.createTransaction(tx);
|
||||
String ssql = "";
|
||||
if("null".equals(id)){
|
||||
ssql = "insert into communication(id,taskno,flowunid,phaseno,inputuser,inputorg,inputtime,remark)"+
|
||||
"VALUES(replace(uuid(),'-',''),'"+taskno+"','"+flowunid+"','"+phaseNo+"','"+userid+"','"+orgid+"',replace(now(),'-','/'),'"+remark+"')";
|
||||
|
||||
}else {
|
||||
if ("delete".equals(type)){
|
||||
ssql = "delete from communication where id = '"+id+"'";
|
||||
}else {
|
||||
ssql= "update communication set remark = '"+remark+"' where id = '"+id+"'";
|
||||
}
|
||||
}
|
||||
SqlObject sqlObject = new SqlObject(ssql);
|
||||
sqlca.executeSQL(sqlObject);
|
||||
tx.commit();
|
||||
return returns;
|
||||
} catch (JBOException e) {
|
||||
e.printStackTrace();
|
||||
returns = "false";
|
||||
return returns;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,321 @@
|
||||
package com.tenwa.voucher.CreateVoucherProcess;
|
||||
|
||||
import com.amarsoft.are.jbo.JBOFactory;
|
||||
import com.amarsoft.are.jbo.JBOTransaction;
|
||||
import com.amarsoft.awe.util.SqlObject;
|
||||
import com.amarsoft.awe.util.Transaction;
|
||||
import com.amarsoft.context.ASUser;
|
||||
import com.tenwa.comm.util.date.DateAssistant;
|
||||
import com.tenwa.lease.flow.project.businessapply.LBBusinessPrimary;
|
||||
import com.tenwa.reckon.util.Conn;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.math.BigInteger;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
public class InsertCustomerHistoryInfo {
|
||||
|
||||
private String flowunid;
|
||||
|
||||
public String getFlowunid() {
|
||||
return flowunid;
|
||||
}
|
||||
|
||||
|
||||
public void setFlowunid(String flowunid) {
|
||||
this.flowunid = flowunid;
|
||||
}
|
||||
|
||||
//获取客户历史信息
|
||||
public void InsertCustomerHistoryInfoTemp(JBOTransaction tx) throws Exception{
|
||||
try {
|
||||
tx= JBOFactory.createJBOTransaction();
|
||||
Conn conn = new Conn(tx);
|
||||
String flowunid = this.flowunid;
|
||||
//获取客户基本信息
|
||||
String sql = "select ci.customerid,ci.customername,ci.certtype,ci.certid,'主承租人' as customertype,ci.customer_num,lul.FLOWUNID,lul.project_id from customer_info ci left join lb_union_lessee_temp lul on lul.customer_id = ci.customerid where lul.IS_MAIN = 'Y' and lul.FLOWUNID = '" + flowunid + "' \n" +
|
||||
"union \n" +
|
||||
"select lgu.ASSUROR as customerid,lgu.FULLNAME as customername,lgu.CERTTYPE,lgu.certid,'担保人' as customertype,'' as customer_num,lgu.FLOWUNID,lgu.project_id from lb_guarantee_unit_temp lgu where lgu.FLOWUNID = '" + flowunid + "'\n" +
|
||||
"union \n" +
|
||||
"select '' as customerid,cf.name as customername,cf.CERTTYPE,cf.certid,'共同承租人' as customertype,'' as customer_num,cf.FLOWUNID,cf.PROJECT_ID from customer_family_temp cf where cf.FLOWUNID = '" + flowunid + "'\n";
|
||||
List<Map<String, String>> customerinfo = conn.executeQuery(sql);
|
||||
String customerid = "";
|
||||
String certid = "";
|
||||
|
||||
//避免项目的历史客户信息重复录入
|
||||
for (int i = customerinfo.size()-1; i >= 0; i--) {
|
||||
String cfsql = "select id from customer_history_info_temp where certid = '"+customerinfo.get(i).get("certid")+"' and flowunid = '"+customerinfo.get(i).get("flowunid")+"'";
|
||||
List<Map<String, String>> cfinfo = conn.executeQuery(cfsql);
|
||||
if(cfinfo.size()>0){
|
||||
customerinfo.remove(i);
|
||||
}
|
||||
}
|
||||
|
||||
if(customerinfo.size()>0){
|
||||
for (int i = 0; i < customerinfo.size(); i++) {
|
||||
customerid = customerinfo.get(i).get("customerid");
|
||||
certid = customerinfo.get(i).get("certid");
|
||||
|
||||
//获取客户为主承租人订单总数
|
||||
String gm_nu = "select count(lul.id) as num from customer_person cp left join lb_union_lessee lul on lul.CUSTOMER_ID = cp.CUSTOMERID where cp.CERTID = '"+certid+"' and lul.IS_MAIN = 'Y' group by cp.CERTID";
|
||||
List<Map<String, String>> gm_number = conn.executeQuery(gm_nu);
|
||||
String gmnum = "";
|
||||
if(gm_number.size()>0){
|
||||
gmnum = gm_number.get(0).get("num");
|
||||
}else {
|
||||
gmnum = "0";
|
||||
}
|
||||
///获取客户为主承租融资金额和
|
||||
String sum_rz = "select format(sum(nvl(CLEAN_LEASE_MONEY,0)),2) as CLEAN_LEASE_MONEY from customer_person cp left join lb_union_lessee lul on lul.CUSTOMER_ID = cp.CUSTOMERID left join lb_contract_info lci on lci.id = lul.CONTRACT_ID left join lc_calc_condition lcc on lcc.CONTRACT_ID = lul.CONTRACT_ID where cp.CERTID = '"+certid+"' and lul.IS_MAIN = 'Y' and lci.CONTRACT_STATUS >=31 and lci.CONTRACT_STATUS <> '104' group by cp.CERTID";
|
||||
List<Map<String, String>> rz = conn.executeQuery(sum_rz);
|
||||
String CLEAN_LEASE_MONEY = "";
|
||||
if(rz.size()>0){
|
||||
CLEAN_LEASE_MONEY = rz.get(0).get("clean_lease_money");
|
||||
}else {
|
||||
CLEAN_LEASE_MONEY = "0";
|
||||
}
|
||||
//获取客户为主承租已结清合同数
|
||||
String jq_contract_num = "select count(lci.ID) as num from customer_person cp left join lb_union_lessee lul on lul.CUSTOMER_ID = cp.CUSTOMERID left join lb_contract_info lci on lci.id = lul.CONTRACT_ID where cp.CERTID = '"+certid+"' and lul.IS_MAIN = 'Y' and lci.CONTRACT_STATUS in ('100','105') group by cp.CERTID";
|
||||
List<Map<String, String>> jq_num = conn.executeQuery(jq_contract_num);
|
||||
String jq_number = "";
|
||||
if(jq_num.size()>0){
|
||||
jq_number = jq_num.get(0).get("num");
|
||||
}else {
|
||||
jq_number = "0";
|
||||
}
|
||||
//获取客户为主承租未结清合同数
|
||||
String wjq_contract_num = "select count(lci.ID) as num from customer_person cp left join lb_union_lessee lul on lul.CUSTOMER_ID = cp.CUSTOMERID left join lb_contract_info lci on lci.id = lul.CONTRACT_ID where cp.CERTID = '"+certid+"' and lul.IS_MAIN = 'Y' and lci.CONTRACT_STATUS >=31 and lci.CONTRACT_STATUS <= 100 group by cp.CERTID";
|
||||
List<Map<String, String>> wjq_num = conn.executeQuery(wjq_contract_num);
|
||||
String wjq_number = "";
|
||||
if(wjq_num.size()>0){
|
||||
wjq_number = wjq_num.get(0).get("num");
|
||||
}else {
|
||||
wjq_number = "0";
|
||||
}
|
||||
//获取客户为主承租车辆总和
|
||||
String car_num = "select count(lec.ID) as num from customer_person cp left join lb_union_lessee lul on lul.CUSTOMER_ID = cp.CUSTOMERID left join lb_equipment_car lec on lec.CONTRACT_ID = lul.CONTRACT_ID where cp.CERTID = '"+certid+"' and lul.IS_MAIN = 'Y' and lec.car_attribute = 'head' group by cp.CERTID";
|
||||
List<Map<String, String>> car_number = conn.executeQuery(car_num);
|
||||
String carnumber = "";
|
||||
if(car_number.size()>0){
|
||||
carnumber = car_number.get(0).get("num");
|
||||
}else {
|
||||
carnumber = "0";
|
||||
}
|
||||
//获取客户为主承租结清车辆总和
|
||||
String car_jq_num = "select count(lec.ID) as num from customer_person cp left join lb_union_lessee lul on lul.CUSTOMER_ID = cp.CUSTOMERID left join lb_equipment_car lec on lec.CONTRACT_ID = lul.CONTRACT_ID left join lb_contract_info lci on lci.id = lul.CONTRACT_ID where cp.CERTID = '"+certid+"' and lul.IS_MAIN = 'Y' and lci.CONTRACT_STATUS in ('100','105') and lec.car_attribute = 'head' group by cp.CERTID";
|
||||
List<Map<String, String>> car_jq_number = conn.executeQuery(car_jq_num);
|
||||
String carjqnumber = "";
|
||||
if(car_jq_number.size()>0){
|
||||
carjqnumber = car_jq_number.get(0).get("num");
|
||||
}else {
|
||||
carjqnumber = "0";
|
||||
}
|
||||
//获取客户为主承租未结清车辆总和
|
||||
String car_wjq_num = "select count(lec.ID) as num from customer_person cp left join lb_union_lessee lul on lul.CUSTOMER_ID = cp.CUSTOMERID left join lb_equipment_car lec on lec.CONTRACT_ID = lul.CONTRACT_ID left join lb_contract_info lci on lci.id = lul.CONTRACT_ID where cp.CERTID = '"+certid+"' and lul.IS_MAIN = 'Y' and lci.CONTRACT_STATUS >='31' and lci.CONTRACT_STATUS <= '100' and lec.car_attribute = 'head' group by cp.CERTID";
|
||||
List<Map<String, String>> car_wjq_number = conn.executeQuery(car_wjq_num);
|
||||
String carwjqnumber = "";
|
||||
if(car_wjq_number.size()>0){
|
||||
carwjqnumber = car_wjq_number.get(0).get("num");
|
||||
}else {
|
||||
carwjqnumber = "0";
|
||||
}
|
||||
//获取客户为主承租剩余租金,逾期租金
|
||||
String money_num = "select format(sum(nvl(rent_over,0)),2) as rent_over from customer_person cp left join lb_union_lessee lul on lul.CUSTOMER_ID = cp.CUSTOMERID left join vi_rent_plan_sum vrps on lul.contract_id = vrps.contract_id where cp.CERTID = '"+certid+"' and lul.IS_MAIN = 'Y' group by cp.CERTID";
|
||||
List<Map<String, String>> money_number = conn.executeQuery(money_num);
|
||||
String yqmoney_num = "select format(sum(nvl(rent_over, 0)), 2) as yqrent_over from customer_person cp left join lb_union_lessee lul on lul.CUSTOMER_ID = cp.CUSTOMERID left join vi_rent_plan vrp on lul.contract_id = vrp.contract_id where cp.CERTID = '"+certid+"' and lul.IS_MAIN = 'Y' and STR_TO_DATE(vrp.plan_date,'%Y/%m/%d') < now() group by cp.CERTID";
|
||||
List<Map<String, String>> yqmoney_number = conn.executeQuery(yqmoney_num);
|
||||
String czr_rent_over = "";
|
||||
String czr_yqrent_over = "";
|
||||
if(money_number.size()>0){
|
||||
czr_rent_over = money_number.get(0).get("rent_over");
|
||||
}else {
|
||||
czr_rent_over = "0";
|
||||
}
|
||||
if(yqmoney_number.size()>0){
|
||||
czr_yqrent_over = yqmoney_number.get(0).get("yqrent_over");
|
||||
}else {
|
||||
czr_yqrent_over = "0";
|
||||
}
|
||||
//获取客户为共同承租人订单总数
|
||||
String gt_gm_nu = "select count(cf.id) as num from customer_family cf where cf.Partner_ = 'Y' and cf.certid = '"+certid+"' group by certid";
|
||||
List<Map<String, String>> gt_gm_number = conn.executeQuery(gt_gm_nu);
|
||||
String gtgmnumber = "";
|
||||
if(gt_gm_number.size()>0){
|
||||
gtgmnumber = gt_gm_number.get(0).get("num");
|
||||
}else {
|
||||
gtgmnumber = "0";
|
||||
}
|
||||
//获取客户为共同承租人融资额和
|
||||
String gt_sum_rz = "select format(sum(nvl(CLEAN_LEASE_MONEY,0)),2) as CLEAN_LEASE_MONEY from customer_family cf left join lb_union_lessee lul on cf.PROJECT_ID = lul.PROJECT_ID left join lb_contract_info lci on lci.id = lul.CONTRACT_ID left join lc_calc_condition lcc on lcc.CONTRACT_ID = lul.CONTRACT_ID where cf.certid = '"+certid+"' and cf.Partner_ = 'Y' and lci.CONTRACT_STATUS >=31 and lci.CONTRACT_STATUS <> '104' group by cf.certid";
|
||||
List<Map<String, String>> gt_rz = conn.executeQuery(gt_sum_rz);
|
||||
String GT_CLEAN_LEASE_MONEY = "";
|
||||
if(gt_rz.size()>0){
|
||||
GT_CLEAN_LEASE_MONEY = gt_rz.get(0).get("clean_lease_money");
|
||||
}else {
|
||||
GT_CLEAN_LEASE_MONEY = "0";
|
||||
}
|
||||
//获取客户为共同承租人已结清单数
|
||||
String gt_jq_contract_num = "select count(lci.ID) as num from customer_family cf left join lb_union_lessee lul on lul.PROJECT_ID = cf.PROJECT_ID left join lb_contract_info lci on lci.id = lul.CONTRACT_ID where cf.certid = '"+certid+"' and cf.Partner_ = 'Y' and lci.CONTRACT_STATUS in ('100','105') group by cf.certid";
|
||||
List<Map<String, String>> gt_jq_num = conn.executeQuery(gt_jq_contract_num);
|
||||
String gt_jq_number = "";
|
||||
if(gt_jq_num.size()>0){
|
||||
gt_jq_number = gt_jq_num.get(0).get("num");
|
||||
}else {
|
||||
gt_jq_number = "0";
|
||||
}
|
||||
//获取客户为共同承租人未结清单数
|
||||
String gt_wjq_contract_num = "select count(lci.ID) as num from customer_family cf left join lb_union_lessee lul on lul.PROJECT_ID = cf.PROJECT_ID left join lb_contract_info lci on lci.id = lul.CONTRACT_ID where cf.certid = '"+certid+"' and cf.Partner_ = 'Y' and lci.CONTRACT_STATUS >=31 and lci.CONTRACT_STATUS <= 100 group by cf.certid";
|
||||
List<Map<String, String>> gt_wjq_num = conn.executeQuery(gt_wjq_contract_num);
|
||||
String gt_wjq_number = "";
|
||||
if(gt_wjq_num.size()>0){
|
||||
gt_wjq_number = gt_wjq_num.get(0).get("num");
|
||||
}else {
|
||||
gt_wjq_number = "0";
|
||||
}
|
||||
//获取客户为共同承租人车辆总和
|
||||
String gt_car_num = "select count(lec.ID) as num from customer_family cf left join lb_union_lessee lul on cf.PROJECT_ID = cf.PROJECT_ID left join lb_equipment_car lec on lec.CONTRACT_ID = lul.CONTRACT_ID where cf.certid = '"+certid+"' and cf.Partner_ = 'Y' and lec.car_attribute = 'head' group by cf.certid";
|
||||
List<Map<String, String>> gt_car_number = conn.executeQuery(gt_car_num);
|
||||
String gtcarnumber = "";
|
||||
if(gt_car_number.size()>0){
|
||||
gtcarnumber = gt_car_number.get(0).get("num");
|
||||
}else {
|
||||
gtcarnumber = "0";
|
||||
}
|
||||
//获取客户为共同承租人结清车辆总和
|
||||
String gt_car_jq_num = "select count(lec.ID) as num from customer_family cf left join lb_union_lessee lul on cf.PROJECT_ID = cf.PROJECT_ID left join lb_equipment_car lec on lec.CONTRACT_ID = lul.CONTRACT_ID left join lb_contract_info lci on lci.id = lul.CONTRACT_ID where cf.certid = '"+certid+"' and cf.Partner_ = 'Y' and lci.CONTRACT_STATUS in ('100','105') and lec.car_attribute = 'head' group by cf.certid";
|
||||
List<Map<String, String>> gt_car_jq_number = conn.executeQuery(gt_car_jq_num);
|
||||
String gtcarjqnumber = "";
|
||||
if(gt_car_jq_number.size()>0){
|
||||
gtcarjqnumber = gt_car_jq_number.get(0).get("num");
|
||||
}else {
|
||||
gtcarjqnumber = "0";
|
||||
}
|
||||
//获取客户为共同承租人未结清车辆总和
|
||||
String gt_car_wjq_num = "select count(lec.ID) as num from customer_family cf left join lb_union_lessee lul on cf.PROJECT_ID = cf.PROJECT_ID left join lb_equipment_car lec on lec.CONTRACT_ID = lul.CONTRACT_ID left join lb_contract_info lci on lci.id = lul.CONTRACT_ID where cf.certid = '"+certid+"' and cf.Partner_ = 'Y' and lci.CONTRACT_STATUS >='31' and lci.CONTRACT_STATUS <= '100' and lec.car_attribute = 'head' group by cf.certid";
|
||||
List<Map<String, String>> gt_car_wjq_number = conn.executeQuery(gt_car_wjq_num);
|
||||
String gtcarwjqnumber = "";
|
||||
if(gt_car_wjq_number.size()>0){
|
||||
gtcarwjqnumber = gt_car_wjq_number.get(0).get("num");
|
||||
}else {
|
||||
gtcarwjqnumber = "0";
|
||||
}
|
||||
//获取客户为共同承租人剩余租金,罚息
|
||||
String gt_money_num = "select format(sum(nvl(rent_over,0)),2) as rent_over from customer_family cf left join lb_union_lessee lul on cf.PROJECT_ID = cf.PROJECT_ID left join vi_rent_plan_sum vrps on lul.contract_id = vrps.contract_id where cf.certid = '"+certid+"' and cf.Partner_ = 'Y' group by cf.certid";
|
||||
List<Map<String, String>> gt_money_number = conn.executeQuery(gt_money_num);
|
||||
String gt_yqmoney_num = "select format(sum(nvl(rent_over, 0)), 2) as yqrent_over from customer_family cf left join lb_union_lessee lul on cf.PROJECT_ID = lul.PROJECT_ID left join vi_rent_plan vrp on lul.contract_id = vrp.contract_id where cf.certid = '"+certid+"' and cf.Partner_ = 'Y' and STR_TO_DATE(vrp.plan_date,'%Y/%m/%d') < now() group by cf.certid";
|
||||
List<Map<String, String>> gt_yqmoney_number = conn.executeQuery(gt_yqmoney_num);
|
||||
String gt_rent_over = "";
|
||||
String gt_yqrent_over = "";
|
||||
if(gt_money_number.size()>0){
|
||||
gt_rent_over = gt_money_number.get(0).get("rent_over");
|
||||
}else {
|
||||
gt_rent_over = "0";
|
||||
}
|
||||
if(gt_yqmoney_number.size()>0){
|
||||
gt_yqrent_over = gt_yqmoney_number.get(0).get("yqrent_over");
|
||||
}else {
|
||||
gt_yqrent_over = "0";
|
||||
}
|
||||
//获取客户为担保人订单总数
|
||||
String db_gm_nu = "select count(lgu.id) as num from lb_guarantee_unit lgu where lgu.certid = '"+certid+"' group by lgu.certid";
|
||||
List<Map<String, String>> db_gm_number = conn.executeQuery(db_gm_nu);
|
||||
String dbgmnumber = "";
|
||||
if(db_gm_number.size()>0){
|
||||
dbgmnumber = db_gm_number.get(0).get("num");
|
||||
}else {
|
||||
dbgmnumber = "0";
|
||||
}
|
||||
//获取客户为担保人融资额和
|
||||
String db_sum_rz = "select format(sum(nvl(CLEAN_LEASE_MONEY,0)),2) as CLEAN_LEASE_MONEY from lb_guarantee_unit lgu left join lb_contract_info lci on lci.id = lgu.CONTRACT_ID left join lc_calc_condition lcc on lcc.CONTRACT_ID = lgu.CONTRACT_ID where lgu.certid = '"+certid+"' and lci.CONTRACT_STATUS >=31 and lci.CONTRACT_STATUS <> '104' group by lgu.certid";
|
||||
List<Map<String, String>> db_rz = conn.executeQuery(db_sum_rz);
|
||||
String DB_CLEAN_LEASE_MONEY = "";
|
||||
if(db_rz.size()>0){
|
||||
DB_CLEAN_LEASE_MONEY = db_rz.get(0).get("clean_lease_money");
|
||||
}else {
|
||||
DB_CLEAN_LEASE_MONEY = "0";
|
||||
}
|
||||
//获取客户为担保人已结清单数
|
||||
String db_jq_contract_num = "select count(lci.ID) as num from lb_guarantee_unit lgu left join lb_contract_info lci on lci.id = lgu.CONTRACT_ID where lgu.certid = '"+certid+"' and lci.CONTRACT_STATUS in ('100','105') group by lgu.certid";
|
||||
List<Map<String, String>> db_jq_num = conn.executeQuery(db_jq_contract_num);
|
||||
String db_jq_number = "";
|
||||
if(db_jq_num.size()>0){
|
||||
db_jq_number = db_jq_num.get(0).get("num");
|
||||
}else {
|
||||
db_jq_number = "0";
|
||||
}
|
||||
//获取客户为担保人未结清单数
|
||||
String db_wjq_contract_num = "select count(lci.ID) as num from lb_guarantee_unit lgu left join lb_contract_info lci on lci.id = lgu.CONTRACT_ID where lgu.certid = '"+certid+"' and lci.CONTRACT_STATUS >=31 and lci.CONTRACT_STATUS <= 100 group by lgu.certid";
|
||||
List<Map<String, String>> db_wjq_num = conn.executeQuery(db_wjq_contract_num);
|
||||
String db_wjq_number = "";
|
||||
if(db_wjq_num.size()>0){
|
||||
db_wjq_number = db_wjq_num.get(0).get("num");
|
||||
}else {
|
||||
db_wjq_number = "0";
|
||||
}
|
||||
//获取客户为担保人车辆总和
|
||||
String db_car_num = "select count(lec.ID) as num from lb_guarantee_unit lgu left join lb_equipment_car lec on lec.CONTRACT_ID = lgu.CONTRACT_ID where lgu.certid = '"+certid+"' and lec.car_attribute = 'head' group by lgu.certid";
|
||||
List<Map<String, String>> db_car_number = conn.executeQuery(db_car_num);
|
||||
String dbcarnumber = "";
|
||||
if(db_car_number.size()>0){
|
||||
dbcarnumber = db_car_number.get(0).get("num");
|
||||
}else {
|
||||
dbcarnumber = "0";
|
||||
}
|
||||
//获取客户为担保人结清车辆总和
|
||||
String db_car_jq_num = "select count(lec.ID) as num from lb_guarantee_unit lgu left join lb_equipment_car lec on lec.CONTRACT_ID = lgu.CONTRACT_ID left join lb_contract_info lci on lci.id = lgu.CONTRACT_ID where lgu.certid = '"+certid+"' and lci.CONTRACT_STATUS in ('100','105') and lec.car_attribute = 'head' group by lgu.certid";
|
||||
List<Map<String, String>> db_car_jq_number = conn.executeQuery(db_car_jq_num);
|
||||
String dbcarjqnumber = "";
|
||||
if(db_car_jq_number.size()>0){
|
||||
dbcarjqnumber = db_car_jq_number.get(0).get("num");
|
||||
}else {
|
||||
dbcarjqnumber = "0";
|
||||
}
|
||||
//获取客户为担保人结清车辆总和
|
||||
String db_car_wjq_num = "select count(lec.ID) as num from lb_guarantee_unit lgu left join lb_equipment_car lec on lec.CONTRACT_ID = lgu.CONTRACT_ID left join lb_contract_info lci on lci.id = lgu.CONTRACT_ID where lgu.certid = '"+certid+"' and lci.CONTRACT_STATUS >='31' and lci.CONTRACT_STATUS <= '100' and lec.car_attribute = 'head' group by lgu.certid";
|
||||
List<Map<String, String>> db_car_wjq_number = conn.executeQuery(db_car_wjq_num);
|
||||
String dbcarwjqnumber = "";
|
||||
if(db_car_wjq_number.size()>0){
|
||||
dbcarwjqnumber = db_car_wjq_number.get(0).get("num");
|
||||
}else {
|
||||
dbcarwjqnumber = "0";
|
||||
}
|
||||
//获取客户为担保人剩余租金,罚息
|
||||
String db_money_num = "select format(sum(nvl(rent_over,0)),2) as rent_over,format(sum(nvl(penalty_over,0)),2) as penalty_over from lb_guarantee_unit lgu left join vi_rent_plan_sum vrps on lgu.contract_id = vrps.contract_id where lgu.certid = '"+certid+"' group by lgu.certid";
|
||||
List<Map<String, String>> db_money_number = conn.executeQuery(db_money_num);
|
||||
String db_yqmoney_num = "select format(sum(nvl(rent_over, 0)), 2) as yqrent_over from lb_guarantee_unit lgu left join vi_rent_plan vrp on lgu.contract_id = vrp.contract_id where lgu.certid = '220121197205076448' and STR_TO_DATE(vrp.plan_date,'%Y/%m/%d') < now() group by lgu.certid";
|
||||
List<Map<String, String>> db_yqmoney_number = conn.executeQuery(db_yqmoney_num);
|
||||
String db_rent_over = "";
|
||||
String db_yqrent_over = "";
|
||||
if(db_money_number.size()>0){
|
||||
db_rent_over = db_money_number.get(0).get("rent_over");
|
||||
}else {
|
||||
db_rent_over = "0";
|
||||
}
|
||||
if(db_yqmoney_number.size()>0){
|
||||
db_yqrent_over = db_yqmoney_number.get(0).get("yqrent_over");
|
||||
}else {
|
||||
db_yqrent_over = "0";
|
||||
}
|
||||
//客户敞口计算
|
||||
Transaction sqlca = Transaction.createTransaction(tx);
|
||||
BigDecimal exposureMoney = LBBusinessPrimary.obtainExposureMoney(sqlca,flowunid);
|
||||
//录入客户历史信息表
|
||||
String ssql = "insert into customer_history_info_temp(id,customerid,customername,certtype,certid,customertype,customer_num,flowunid,project_id,clientbuynumber,clientfinancingamount,clientclosedaccount,clientunsettled,clientvehiclepopulation,clientclosedvehicle,clientoutstandingvehicle,clientloanbalance,clientoverdueamount,jointlybuynumber,jointlyfinancingamount,jointlyclosedaccount,jointlyunsettled,jointlyveh,jointlyclosedvehicle,jointlyout,jointlyloanbalance,jointlyoverdueamount,guaranteebuynumber,guaranteefin,guaranteeclosedaccount,guaranteeunsettled,guaranteeveh,guaranteeclosedvehicle,guaranteeout,guaranteeloanbalance,guaranteeoverdueamount,exposure)"+
|
||||
"VALUES(replace(uuid(),'-',''),'"+customerinfo.get(i).get("customerid")+"','"+customerinfo.get(i).get("customername")+"','"+customerinfo.get(i).get("certtype")+"','"+customerinfo.get(i).get("certid")+"','"+customerinfo.get(i).get("customertype")+"','"+customerinfo.get(i).get("customer_num")+"','"+flowunid+"','"+customerinfo.get(i).get("project_id")+"','"+gmnum+"','"+CLEAN_LEASE_MONEY+"','"+jq_number+"','"+wjq_number+"','"+carnumber+"','"+carjqnumber+"','"+carwjqnumber+"','"+czr_rent_over+"','"+czr_yqrent_over+"',"+
|
||||
"'"+gtgmnumber+"','"+GT_CLEAN_LEASE_MONEY+"','"+gt_jq_number+"','"+gt_wjq_number+"','"+gtcarnumber+"','"+gtcarjqnumber+"','"+gtcarwjqnumber+"','"+gt_rent_over+"','"+gt_yqrent_over+"',"+
|
||||
"'"+dbgmnumber+"','"+DB_CLEAN_LEASE_MONEY+"','"+db_jq_number+"','"+db_wjq_number+"','"+dbcarnumber+"','"+dbcarjqnumber+"','"+dbcarwjqnumber+"','"+db_rent_over+"','"+db_yqrent_over+"','"+exposureMoney+"')";
|
||||
|
||||
SqlObject sqlObject = new SqlObject(ssql);
|
||||
sqlca.executeSQL(sqlObject);
|
||||
tx.commit();
|
||||
}
|
||||
}
|
||||
|
||||
}catch (Exception e){
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
76
src_jbo/jbo/com/tenwa/entity/comm/flow/COMMUNICATION.java
Normal file
76
src_jbo/jbo/com/tenwa/entity/comm/flow/COMMUNICATION.java
Normal file
@ -0,0 +1,76 @@
|
||||
package jbo.com.tenwa.entity.comm.flow;
|
||||
|
||||
import java.lang.String;
|
||||
|
||||
/**
|
||||
* 放款订单信息 - JBO命名常量类<br><br>
|
||||
* Note: This file is generated by ADE tools, <em>dont</em> modify it.<br>
|
||||
|
||||
*/
|
||||
public interface COMMUNICATION {
|
||||
|
||||
/**
|
||||
* 放款订单信息<br><br>
|
||||
* 代表本类映射的BizObjectClass
|
||||
*/
|
||||
public static final String CLASS_NAME = "jbo.com.tenwa.entity.comm.flow.COMMUNICATION";
|
||||
/**
|
||||
* ID STRING(32)<br>
|
||||
*/
|
||||
public static final String id = "id";
|
||||
/**
|
||||
* 流程节点ID STRING(32)<br>
|
||||
*/
|
||||
public static final String taskno = "taskno";
|
||||
/**
|
||||
* 流程编号 STRING(32)<br>
|
||||
*/
|
||||
public static final String flowunid = "flowunid";
|
||||
|
||||
/**
|
||||
* 流程节点 STRING(32)<br>
|
||||
*/
|
||||
public static final String phaseno = "phaseno";
|
||||
|
||||
/**
|
||||
* 录入人 STRING(200)<br>
|
||||
*/
|
||||
public static final String inputuser = "inputuser";
|
||||
|
||||
/**
|
||||
* 录入部门 STRING(200)<br>
|
||||
*/
|
||||
public static final String inputorg = "inputorg";
|
||||
|
||||
/**
|
||||
* 录入时间 STRING(10<br>
|
||||
*/
|
||||
public static final String inputtime = "inputtime";
|
||||
|
||||
/**
|
||||
* 修改人 STRING(32)<br>
|
||||
*/
|
||||
public static final String updateuser = "updateuser";
|
||||
|
||||
/**
|
||||
* 修改时间 STRING(32)<br>
|
||||
*/
|
||||
public static final String updatetime = "updatetime";
|
||||
|
||||
/**
|
||||
* 备注信息 STRING(1000)<br>
|
||||
*/
|
||||
public static final String remark = "remark";
|
||||
|
||||
/**
|
||||
* 录入人名称 STRING(1000)<br>
|
||||
*/
|
||||
public static final String username = "username";
|
||||
|
||||
/**
|
||||
* 录入部门名称 STRING(1000)<br>
|
||||
*/
|
||||
public static final String orgname = "orgname";
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,192 @@
|
||||
package jbo.com.tenwa.entity.comm.flow;
|
||||
|
||||
import java.lang.String;
|
||||
|
||||
/**
|
||||
* 客户历史信息 - JBO命名常量类<br><br>
|
||||
* Note: This file is generated by ADE tools, <em>dont</em> modify it.<br>
|
||||
|
||||
*/
|
||||
public interface CUSTOMER_HISTORY_INFO_TEMP {
|
||||
/**
|
||||
* 客户历史信息<br><br>
|
||||
* 代表本类映射的BizObjectClass
|
||||
*/
|
||||
public static final String CLASS_NAME = "jbo.com.tenwa.entity.comm.flow.CUSTOMER_HISTORY_INFO_TEMP";
|
||||
/**
|
||||
* ID STRING(32)<br>
|
||||
*/
|
||||
public static final String id = "id";
|
||||
/**
|
||||
* 客户编号 STRING(40)<br>
|
||||
*/
|
||||
public static final String customerid = "customerid";
|
||||
/**
|
||||
* 客户名称 STRING(200)<br>
|
||||
*/
|
||||
public static final String customername = "customername";
|
||||
/**
|
||||
* 证件类型 STRING(20)<br>
|
||||
*/
|
||||
public static final String certtype = "certtype";
|
||||
/**
|
||||
* 证件号 STRING(20)<br>
|
||||
*/
|
||||
public static final String certid = "certid";
|
||||
/**
|
||||
* 客户类别 STRING(20)<br>
|
||||
*/
|
||||
public static final String customertype = "customertype";
|
||||
/**
|
||||
* 流程编号 STRING(32)<br>
|
||||
*/
|
||||
public static final String flowunid = "flowunid";
|
||||
/**
|
||||
* 项目编号 STRING(32)<br>
|
||||
*/
|
||||
public static final String project_id = "project_id";
|
||||
/**
|
||||
* 客户购买次数 STRING(10)<br>
|
||||
*/
|
||||
public static final String clientbuynumber = "clientbuynumber";
|
||||
/**
|
||||
* 客户融资金额 STRING(32)<br>
|
||||
*/
|
||||
public static final String clientfinancingamount = "clientfinancingamount";
|
||||
/**
|
||||
* 客户已结清单数 STRING(10)<br>
|
||||
*/
|
||||
public static final String clientclosedaccount = "clientclosedaccount";
|
||||
/**
|
||||
* 客户未结清单数 STRING(10)<br>
|
||||
*/
|
||||
public static final String clientunsettled = "clientunsettled";
|
||||
/**
|
||||
* 客户车辆总数 STRING(10)<br>
|
||||
*/
|
||||
public static final String clientvehiclepopulation = "clientvehiclepopulation";
|
||||
/**
|
||||
* 客户结清车辆数 STRING(10)<br>
|
||||
*/
|
||||
public static final String clientclosedvehicle = "clientclosedvehicle";
|
||||
/**
|
||||
* 客户未结清车辆数 STRING(10)<br>
|
||||
*/
|
||||
public static final String clientoutstandingvehicle = "clientoutstandingvehicle";
|
||||
/**
|
||||
* 客户贷款余额 STRING(10)<br>
|
||||
*/
|
||||
public static final String clientloanbalance = "clientloanbalance";
|
||||
/**
|
||||
* 客户逾期金额 STRING(10)<br>
|
||||
*/
|
||||
public static final String clientoverdueamount = "clientoverdueamount";
|
||||
/**
|
||||
* 共同购买次数 STRING(10)<br>
|
||||
*/
|
||||
public static final String jointlybuynumber = "jointlybuynumber";
|
||||
/**
|
||||
* 共同融资金额 STRING(32)<br>
|
||||
*/
|
||||
public static final String jointlyfinancingamount = "jointlyfinancingamount";
|
||||
/**
|
||||
* 共同已结清单数 STRING(10)<br>
|
||||
*/
|
||||
public static final String jointlyclosedaccount = "jointlyclosedaccount";
|
||||
/**
|
||||
* 共同未结清单数 STRING(10)<br>
|
||||
*/
|
||||
public static final String jointlyunsettled = "jointlyunsettled";
|
||||
/**
|
||||
* 共同车辆总数 STRING(10)<br>
|
||||
*/
|
||||
public static final String jointlyveh = "jointlyveh";
|
||||
/**
|
||||
* 共同结清车辆数 STRING(10)<br>
|
||||
*/
|
||||
public static final String jointlyclosedvehicle = "jointlyclosedvehicle";
|
||||
/**
|
||||
* 共同未结清车辆数 STRING(10)<br>
|
||||
*/
|
||||
public static final String jointlyout = "jointlyout";
|
||||
/**
|
||||
* 共同贷款余额 STRING(10)<br>
|
||||
*/
|
||||
public static final String jointlyloanbalance = "jointlyloanbalance";
|
||||
/**
|
||||
* 共同逾期金额 STRING(10)<br>
|
||||
*/
|
||||
public static final String jointlyoverdueamount = "jointlyoverdueamount";
|
||||
/**
|
||||
* 担保单数 STRING(10)<br>
|
||||
*/
|
||||
public static final String guaranteebuynumber = "guaranteebuynumber";
|
||||
/**
|
||||
* 担保金额 STRING(32)<br>
|
||||
*/
|
||||
public static final String guaranteefin = "guaranteefin";
|
||||
/**
|
||||
* 担保已结清单数 STRING(10)<br>
|
||||
*/
|
||||
public static final String guaranteeclosedaccount = "guaranteeclosedaccount";
|
||||
/**
|
||||
* 担保未结清单数 STRING(10)<br>
|
||||
*/
|
||||
public static final String guaranteeunsettled = "guaranteeunsettled";
|
||||
/**
|
||||
* 担保车辆总数 STRING(10)<br>
|
||||
*/
|
||||
public static final String guaranteeveh = "guaranteeveh";
|
||||
/**
|
||||
* 担保结清车辆数 STRING(10)<br>
|
||||
*/
|
||||
public static final String guaranteeclosedvehicle = "guaranteeclosedvehicle";
|
||||
/**
|
||||
* 担保未结清车辆数 STRING(10)<br>
|
||||
*/
|
||||
public static final String guaranteeout = "guaranteeout";
|
||||
/**
|
||||
* 担保贷款余额 STRING(10)<br>
|
||||
*/
|
||||
public static final String guaranteeloanbalance = "guaranteeloanbalance";
|
||||
/**
|
||||
* 担保逾期金额 STRING(10)<br>
|
||||
*/
|
||||
public static final String guaranteeoverdueamount = "guaranteeoverdueamount";
|
||||
/**
|
||||
* 备注 STRING(250)<br>
|
||||
*/
|
||||
public static final String remark = "remark";
|
||||
/**
|
||||
* 客户编码 STRING(32)<br>
|
||||
*/
|
||||
public static final String customer_num = "customer_num";
|
||||
/**
|
||||
* 登记人 STRING(32)<br>
|
||||
*/
|
||||
public static final String inputuserid = "inputuserid";
|
||||
/**
|
||||
* 登记机构 STRING(32)<br>
|
||||
*/
|
||||
public static final String inputorgid = "inputorgid";
|
||||
/**
|
||||
* 登记时间 STRING(32)<br>
|
||||
*/
|
||||
public static final String inputtime = "inputtime";
|
||||
/**
|
||||
* 更新人 STRING(32)<br>
|
||||
*/
|
||||
public static final String updateuserid = "updateuserid";
|
||||
/**
|
||||
* 更新部门 STRING(32)<br>
|
||||
*/
|
||||
public static final String updateorgid = "updateorgid";
|
||||
/**
|
||||
* 更新时间 STRING(32)<br>
|
||||
*/
|
||||
public static final String updatetime = "updatetime";
|
||||
/**
|
||||
* 敞口 STRING(32)<br>
|
||||
*/
|
||||
public static final String exposure = "exposure";
|
||||
}
|
||||
@ -0,0 +1,85 @@
|
||||
package jbo.com.tenwa.entity.comm.flow;
|
||||
|
||||
import java.lang.String;
|
||||
|
||||
/**
|
||||
* 放款订单信息 - JBO命名常量类<br><br>
|
||||
* Note: This file is generated by ADE tools, <em>dont</em> modify it.<br>
|
||||
|
||||
*/
|
||||
public interface VI_CUSTOMERHISTORY {
|
||||
|
||||
/**
|
||||
* 放款订单信息<br><br>
|
||||
* 代表本类映射的BizObjectClass
|
||||
*/
|
||||
public static final String CLASS_NAME = "jbo.com.tenwa.entity.comm.flow.VI_CUSTOMERHISTORY";
|
||||
/**
|
||||
* 客户ID STRING(32)<br>
|
||||
*/
|
||||
public static final String CUSTOMER_ID = "CUSTOMER_ID";
|
||||
/**
|
||||
* 证件号 STRING(32)<br>
|
||||
*/
|
||||
public static final String CERTID = "CERTID";
|
||||
/**
|
||||
* 合同编号 STRING(32)<br>
|
||||
*/
|
||||
public static final String CONTRACT_NO = "CONTRACT_NO";
|
||||
|
||||
/**
|
||||
* 客户名称 STRING(32)<br>
|
||||
*/
|
||||
public static final String CUSTOMER_NAME = "CUSTOMER_NAME";
|
||||
|
||||
/**
|
||||
* 客户角色 STRING(200)<br>
|
||||
*/
|
||||
public static final String CHARACTERS = "CHARACTERS";
|
||||
|
||||
/**
|
||||
* 经销商名称 STRING(200)<br>
|
||||
*/
|
||||
public static final String DISTRIBUTOR_NAME = "DISTRIBUTOR_NAME";
|
||||
|
||||
/**
|
||||
* 车辆台数 STRING(10<br>
|
||||
*/
|
||||
public static final String CAR_NUM = "CAR_NUM";
|
||||
|
||||
/**
|
||||
* 首付款比例 STRING(32)<br>
|
||||
*/
|
||||
public static final String FIRST_PAYMENT_RATIO = "FIRST_PAYMENT_RATIO";
|
||||
|
||||
/**
|
||||
* 融资额 STRING(32)<br>
|
||||
*/
|
||||
public static final String CLEAN_LEASE_MONEY = "CLEAN_LEASE_MONEY";
|
||||
|
||||
/**
|
||||
* 合同期次 STRING(32)<br>
|
||||
*/
|
||||
public static final String LEASE_TERM = "LEASE_TERM";
|
||||
|
||||
/**
|
||||
* 合同状态名称 STRING(32)<br>
|
||||
*/
|
||||
public static final String STATUS_NAME = "STATUS_NAME";
|
||||
|
||||
/**
|
||||
* 合同状态 STRING(32)<br>
|
||||
*/
|
||||
public static final String CONTRACT_STATUS = "CONTRACT_STATUS";
|
||||
|
||||
/**
|
||||
* 项目ID STRING(32)<br>
|
||||
*/
|
||||
public static final String PROJECT_ID = "PROJECT_ID";
|
||||
|
||||
/**
|
||||
* 项目名称 STRING(200)<br>
|
||||
*/
|
||||
public static final String PROJ_NAME = "PROJ_NAME";
|
||||
|
||||
}
|
||||
@ -1,32 +1,36 @@
|
||||
package jbo.com.tenwa.entity.comm.own;
|
||||
|
||||
import java.lang.String;
|
||||
public interface LB_CONTACT_US {
|
||||
|
||||
/**
|
||||
* <br><br>
|
||||
* 代表本类映射的BizObjectClass
|
||||
*/
|
||||
public static final String CLASS_NAME = "jbo.com.tenwa.entity.comm.own.LB_CONTACT_US";
|
||||
/**
|
||||
* id STRING(32)<br>
|
||||
*/
|
||||
public static final String id = "id";
|
||||
/**
|
||||
* 公司名称 STRING(100)<br>
|
||||
*/
|
||||
public static final String name = "name";
|
||||
/**
|
||||
* 电子邮箱 STRING(20)<br>
|
||||
*/
|
||||
public static final String e_mail = "e_mail";
|
||||
/**
|
||||
* 客户电话 STRING(20)<br>
|
||||
*/
|
||||
public static final String tel = "tel";
|
||||
/**
|
||||
* 工作时间 STRING(20)<br>
|
||||
*/
|
||||
public static final String work_time = "work_time";
|
||||
/**
|
||||
* - JBO命名常量类<br><br>
|
||||
* Note: This file is generated by ADE tools, <em>dont</em> modify it.<br>
|
||||
|
||||
}
|
||||
*/
|
||||
public interface LB_CONTACT_US{
|
||||
/**
|
||||
* <br><br>
|
||||
* 代表本类映射的BizObjectClass
|
||||
*/
|
||||
public static final String CLASS_NAME = "jbo.com.tenwa.entity.comm.own.LB_CONTACT_US";
|
||||
/**
|
||||
* 主键 STRING(32)<br>
|
||||
*/
|
||||
public static final String ID = "ID";
|
||||
/**
|
||||
* 公司名称 STRING(500)<br>
|
||||
*/
|
||||
public static final String name = "name";
|
||||
/**
|
||||
* 公司邮箱 STRING(500)<br>
|
||||
*/
|
||||
public static final String e_mail = "e_mail";
|
||||
/**
|
||||
* 联系电话 STRING(500)<br>
|
||||
*/
|
||||
public static final String tel = "tel";
|
||||
/**
|
||||
* 工作时间 STRING(500)<br>
|
||||
*/
|
||||
public static final String work_time = "work_time";
|
||||
}
|
||||
@ -13,6 +13,13 @@ public interface LB_EQUIPMENT_CAR{
|
||||
* 代表本类映射的BizObjectClass
|
||||
*/
|
||||
public static final String CLASS_NAME = "jbo.com.tenwa.lease.comm.LB_EQUIPMENT_CAR";
|
||||
|
||||
/**
|
||||
*
|
||||
* 北财-车辆用途类型" STRING(32)<br>
|
||||
*/
|
||||
public static final String car_use_type = "car_use_type";
|
||||
|
||||
/**
|
||||
* 标识 STRING(32)<br>
|
||||
*/
|
||||
|
||||
@ -13,6 +13,13 @@ public interface LB_EQUIPMENT_CAR_TEMP{
|
||||
* 代表本类映射的BizObjectClass
|
||||
*/
|
||||
public static final String CLASS_NAME = "jbo.com.tenwa.lease.comm.LB_EQUIPMENT_CAR_TEMP";
|
||||
|
||||
/**
|
||||
*
|
||||
* 北财-车辆用途类型" STRING(32)<br>
|
||||
*/
|
||||
public static final String car_use_type = "car_use_type";
|
||||
|
||||
/**
|
||||
* 标识 STRING(32)<br>
|
||||
*/
|
||||
|
||||
@ -269,4 +269,8 @@ public interface LB_PROJECT_INFO{
|
||||
* 资方名称 STRING(10)<br>
|
||||
*/
|
||||
public static final String CORPUS_SOURCE = "CORPUS_SOURCE";
|
||||
/**
|
||||
* 拒单理由 STRING(10)<br>
|
||||
*/
|
||||
public static final String VETO = "VETO";
|
||||
}
|
||||
@ -269,4 +269,8 @@ public interface LB_PROJECT_INFO_TEMP{
|
||||
* 资方名称 STRING(10)<br>
|
||||
*/
|
||||
public static final String CORPUS_SOURCE = "CORPUS_SOURCE";
|
||||
/**
|
||||
* 拒单理由 STRING(10)<br>
|
||||
*/
|
||||
public static final String VETO = "VETO";
|
||||
}
|
||||
@ -51,7 +51,22 @@ public interface RC_SCORE_RESULT {
|
||||
* 评分结果 AA RR RD DD
|
||||
*/
|
||||
public static final String score_result_code = "score_result_code";
|
||||
/**
|
||||
* 反欺诈预警结果:H、S、C
|
||||
*/
|
||||
public static final String fraud_alert_value = "fraud_alert_value";
|
||||
|
||||
|
||||
/**
|
||||
* 反欺诈判定结果:F、K、S、空
|
||||
*/
|
||||
public static final String fraud_taken_value = "fraud_taken_value";
|
||||
|
||||
|
||||
/**
|
||||
* 评分结果 AA RR RD DD
|
||||
*/
|
||||
public static final String score_result_value = "score_result_value";
|
||||
/**
|
||||
* 评分结果报告页
|
||||
*/
|
||||
|
||||
@ -52,7 +52,9 @@ public class LBCgb0032LogDao {
|
||||
JBOTransaction jboTransaction = null;
|
||||
try {
|
||||
jboTransaction = JBOFactory.createJBOTransaction();
|
||||
return updateStatus(jboTransaction, id, statusEnum);
|
||||
int num = updateStatus(jboTransaction, id, statusEnum);
|
||||
jboTransaction.commit();
|
||||
return num;
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
if (jboTransaction != null) {
|
||||
@ -78,8 +80,10 @@ public class LBCgb0032LogDao {
|
||||
JBOTransaction jboTransaction = null;
|
||||
try {
|
||||
jboTransaction = JBOFactory.createJBOTransaction();
|
||||
return recordLog(jboTransaction, id, recordNum, tranCode,
|
||||
int num = recordLog(jboTransaction, id, recordNum, tranCode,
|
||||
tranSeq, statusEnum);
|
||||
jboTransaction.commit();
|
||||
return num;
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
if (jboTransaction != null) {
|
||||
|
||||
@ -30,11 +30,14 @@ package com.tenwa.cgbbank.dto;
|
||||
import com.amarsoft.are.jbo.BizObject;
|
||||
import com.amarsoft.are.jbo.BizObjectManager;
|
||||
import com.amarsoft.are.jbo.JBOException;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.tenwa.cgb.conf.CGBconfProperties;
|
||||
import com.tenwa.util.GlobalConst;
|
||||
import jbo.app.tenwa.calc.LC_EBANK;
|
||||
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @program: apzl_leasing
|
||||
@ -49,6 +52,7 @@ public class CGB0032ResBodyRecord {
|
||||
String dealMoney;
|
||||
String financingSymbol;
|
||||
String usableMoney;
|
||||
@JsonProperty("Abstract")
|
||||
String Abstract;
|
||||
String dealBranch;
|
||||
String upBill;
|
||||
@ -244,16 +248,18 @@ public class CGB0032ResBodyRecord {
|
||||
|
||||
|
||||
|
||||
public BizObject convertToEbank(BizObjectManager manager, String userId, String orgId) throws JBOException {
|
||||
public BizObject convertToEbank(BizObjectManager manager, String userId, String orgId) throws Exception {
|
||||
String nowDateTime = LocalDateTime.now().format(GlobalConst.dateTimeFormatter);
|
||||
|
||||
SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMdd");
|
||||
SimpleDateFormat sdf1 = new SimpleDateFormat("yyyy/MM/dd"); //日期格式
|
||||
String factDate = sdf1.format(sdf.parse(this.dealDate)); //将系统时间转换成上方指定类型
|
||||
BizObject bizObject = manager.newObject();
|
||||
bizObject.setAttributeValue(LC_EBANK.ID, "");
|
||||
// bizObject.setAttributeValue(LC_EBANK.EBANK_NUMBER, );
|
||||
bizObject.setAttributeValue(LC_EBANK.EBANK_SN, this.cbsTranSeq);
|
||||
bizObject.setAttributeValue(LC_EBANK.EBANK_SN, this.serialNo);
|
||||
bizObject.setAttributeValue(LC_EBANK.MONEY_TYPE, "currency_type1");
|
||||
bizObject.setAttributeValue(LC_EBANK.FACT_MONEY, this.dealMoney);
|
||||
bizObject.setAttributeValue(LC_EBANK.FACT_DATE, this.dealDate);
|
||||
bizObject.setAttributeValue(LC_EBANK.FACT_DATE, factDate);
|
||||
bizObject.setAttributeValue(LC_EBANK.NOWITH_MONEY, 0);
|
||||
bizObject.setAttributeValue(LC_EBANK.RATE, 0);
|
||||
bizObject.setAttributeValue(LC_EBANK.OWN_BANK, CGBconfProperties.OWNACCBANK);
|
||||
@ -263,18 +269,18 @@ public class CGB0032ResBodyRecord {
|
||||
bizObject.setAttributeValue(LC_EBANK.CLIENT_BANK, "ÒøÐÐ");
|
||||
bizObject.setAttributeValue(LC_EBANK.CLIENT_ACCOUNT, this.name);
|
||||
bizObject.setAttributeValue(LC_EBANK.CLIENT_ACC_NUMBER, this.oppoAccno);
|
||||
bizObject.setAttributeValue(LC_EBANK.HAD_MONEY, this.dealMoney);
|
||||
bizObject.setAttributeValue(LC_EBANK.HAD_MONEY,"0.00");
|
||||
bizObject.setAttributeValue(LC_EBANK.MAYOPE_MONEY, this.dealMoney);
|
||||
// bizObject.setAttributeValue(LC_EBANK.FUND_MONEY, );
|
||||
bizObject.setAttributeValue(LC_EBANK.INVALID, "N");
|
||||
bizObject.setAttributeValue(LC_EBANK.SUMMARY, this.summary);
|
||||
bizObject.setAttributeValue(LC_EBANK.SUMMARY, this.postScript);
|
||||
bizObject.setAttributeValue(LC_EBANK.INPUTUSERID, userId);
|
||||
bizObject.setAttributeValue(LC_EBANK.INPUTORGID, orgId);
|
||||
bizObject.setAttributeValue(LC_EBANK.INPUTTIME, nowDateTime);
|
||||
bizObject.setAttributeValue(LC_EBANK.UPDATEUSERID, userId);
|
||||
bizObject.setAttributeValue(LC_EBANK.UPDATEORGID, orgId);
|
||||
bizObject.setAttributeValue(LC_EBANK.UPDATETIME, nowDateTime);
|
||||
bizObject.setAttributeValue(LC_EBANK.DEBIT_MONEY, this.dealMoney);
|
||||
// bizObject.setAttributeValue(LC_EBANK.DEBIT_MONEY, this.dealMoney);
|
||||
bizObject.setAttributeValue(LC_EBANK.BUSINESS_TYPE, "Æû³µ");
|
||||
bizObject.setAttributeValue(LC_EBANK.CUSTOMER_TYPE, "Íⲿ¿ÍÉÌ");
|
||||
return bizObject;
|
||||
|
||||
@ -45,6 +45,12 @@ public class CGBMessageHead {
|
||||
* @description: 企业上送报文留空(填空格),银行默认返回000
|
||||
*/
|
||||
String retCode;
|
||||
|
||||
/**
|
||||
* ·µ»ØÏûÏ¢
|
||||
* @description:
|
||||
*/
|
||||
String retMsg;
|
||||
|
||||
/**
|
||||
* 操作员
|
||||
@ -106,8 +112,16 @@ public class CGBMessageHead {
|
||||
public void setRetCode(String retCode) {
|
||||
this.retCode = retCode;
|
||||
}
|
||||
|
||||
public String getRetMsg() {
|
||||
return retMsg;
|
||||
}
|
||||
|
||||
public String getEntUserId() {
|
||||
public void setRetMsg(String retMsg) {
|
||||
this.retMsg = retMsg;
|
||||
}
|
||||
|
||||
public String getEntUserId() {
|
||||
return entUserId;
|
||||
}
|
||||
|
||||
@ -122,4 +136,5 @@ public class CGBMessageHead {
|
||||
public void setPassword(String password) {
|
||||
this.password = password;
|
||||
}
|
||||
|
||||
}
|
||||
@ -7,6 +7,8 @@ import com.tenwa.cgbbank.dto.*;
|
||||
import com.tenwa.cgbbank.enums.CGB0032LogStatusEnum;
|
||||
import com.tenwa.cgbbank.helper.CGBBankInterfaceHelper;
|
||||
import com.tenwa.comm.util.jboutil.DataOperatorUtil;
|
||||
import com.tenwa.lease.app.ebank.EbankUse;
|
||||
|
||||
import jbo.loan.LB_CGB_0032_LOG;
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
@ -38,9 +40,9 @@ public class CGBBankService {
|
||||
private static LBCgb0032LogDao lbCgb0032LogDao = LBCgb0032LogDao.getInstance();
|
||||
|
||||
// 默认操作人ID
|
||||
private String defOperUserId = "admin";
|
||||
private String defOperUserId = "8009U00000063";
|
||||
// 默认操作人部门ID
|
||||
private String defOperOrgId = "8009001";
|
||||
private String defOperOrgId = "8009014";
|
||||
|
||||
private static final Integer QUERY_PAGE_SIZE = 20;
|
||||
|
||||
@ -57,6 +59,7 @@ public class CGBBankService {
|
||||
try {
|
||||
jboTransaction = JBOFactory.createJBOTransaction();
|
||||
lbCgb0032LogBizObj = init(jboTransaction, account, queryDate);
|
||||
jboTransaction.commit();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
if (jboTransaction != null) try {
|
||||
@ -68,6 +71,24 @@ public class CGBBankService {
|
||||
}
|
||||
|
||||
queryAndSaveTransactionDetailsToEbank(lbCgb0032LogBizObj);
|
||||
//执行完成后,调用生成凭证方法
|
||||
// com.tenwa.lease.app.ebank.EbankUse
|
||||
JBOTransaction jboTransactionV = null;
|
||||
try {
|
||||
jboTransactionV = JBOFactory.createJBOTransaction();
|
||||
EbankUse eu = new EbankUse();
|
||||
eu.createEbankVoucher2(jboTransactionV);
|
||||
jboTransactionV.commit();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
if (jboTransactionV != null) try {
|
||||
jboTransactionV.rollback();
|
||||
} catch (JBOException e1) {
|
||||
e1.printStackTrace();
|
||||
}
|
||||
throw new RuntimeException("生成凭证失败");
|
||||
}
|
||||
System.out.println("调用广发银行接口完成!!!");
|
||||
}
|
||||
|
||||
private BizObject init(JBOTransaction jboTransaction, String account, String queryDate) throws JBOException {
|
||||
@ -107,7 +128,8 @@ public class CGBBankService {
|
||||
try {
|
||||
cgb0032ResBodyCGBBEDC = cgbBankInterfaceHelper.queryTransactionDetails(reqBody);
|
||||
} catch (Exception e) {
|
||||
// 在请求银行接口出现异常后,保存请求错误信息到【广发银行网银流水每日日志】表
|
||||
e.printStackTrace();
|
||||
// 在请求银行接口出现异常后,保存请求错误信息到【广发银行网银流水每日日志】表
|
||||
lbCgb0032LogDao.recordLog(lbCgb0032LogId, recordNum, reqBody.getBeginRecTranCode(),
|
||||
reqBody.getBeginRecTranSeq(), CGB0032LogStatusEnum.S2);
|
||||
throw new RuntimeException("调用广发银行【交易明细查询-分页接口】失败!");
|
||||
@ -122,9 +144,12 @@ public class CGBBankService {
|
||||
BizObjectManager bizObjectManager = JBOFactory.getBizObjectManager("jbo.app.tenwa.calc.LC_EBANK", jboTransaction);
|
||||
// 转换成网银流水
|
||||
for (CGB0032ResBodyRecord record : records) {
|
||||
if (record.getFinancingSymbol().equals("+")) {
|
||||
BizObject lc = bizObjectManager.createQuery("ebank_sn=:ebankSn").setParameter("ebankSn", record.getSerialNo()).getSingleResult(false);
|
||||
if (lc == null && record.getLoanSign().equals("+") && !(record.getOppoAccno().indexOf("9915810001415816")>=0 || record.getOppoAccno().indexOf("9912900000582902")>=0 || record.getOppoAccno().indexOf("9912900000232905")>=0 )) {
|
||||
BizObject bizObject = record.convertToEbank(bizObjectManager, defOperUserId, defOperOrgId);
|
||||
bizObjectManager.saveObject(bizObject);
|
||||
bizObject.setAttributeValue("EBANK_NUMBER", bizObject.getAttribute("ID"));
|
||||
bizObjectManager.saveObject(bizObject);
|
||||
recordNum++;
|
||||
}
|
||||
}
|
||||
|
||||
@ -33,8 +33,8 @@ public class PbocXmlUtils {
|
||||
|
||||
//查询申请类型 01-人工申请(通过前置系统发起的申请)
|
||||
msgBody.put("appType", "01");
|
||||
msgBody.put("rptUser", CodeManager.getItemName("pboc_query_strategy", "finDept"));//报告使用人 登录征信查询前置系统的用户账号
|
||||
msgBody.put("rptUserdept", CodeManager.getItemName("pboc_query_strategy", "finDept"));//填写部门机构代码
|
||||
msgBody.put("rptUser", CodeManager.getItemName("pboc_query_strategy", "rptUser"));//报告使用人 登录征信查询前置系统的用户账号
|
||||
msgBody.put("rptUserdept", CodeManager.getItemName("pboc_query_strategy", "rptUserdept"));//填写部门机构代码
|
||||
|
||||
// msgBody.put("reqId", applyId);
|
||||
msgBody.put("custName", params.get("fullName"));
|
||||
|
||||
@ -81,9 +81,10 @@ public class AutoRefresh implements Job {
|
||||
caTj.queryBatchCollectStatus(tx);
|
||||
}
|
||||
tx.commit();
|
||||
QuartzUtil.insertLog(plan_date, "com.tenwa.lease.app.quartzmession.AutoRefresh", "success", "银联成功", curUserId);
|
||||
//通联卡扣回盘
|
||||
new AllinpayPaymentQueryRun().allinpayPaymentQuerySt();
|
||||
QuartzUtil.insertLog(plan_date, "com.tenwa.lease.app.quartzmession.AutoRefresh", "success", "成功", curUserId);
|
||||
QuartzUtil.insertLog(plan_date, "com.tenwa.lease.app.quartzmession.AutoRefresh", "success", "通联成功", curUserId);
|
||||
} catch (Exception e) {
|
||||
if (tx != null) tx.rollback();
|
||||
e.printStackTrace();
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
package com.tenwa.lease.flow.project.businessapply;
|
||||
|
||||
import com.amarsoft.awe.util.SqlObject;
|
||||
import com.amarsoft.awe.util.Transaction;
|
||||
import jbo.app.LB_EQUIPMENT_CAR;
|
||||
import jbo.com.tenwa.lease.comm.LB_EQUIPMENT_CAR_TEMP;
|
||||
import jbo.com.tenwa.lease.comm.LB_PROJECT_INFO_TEMP;
|
||||
@ -38,7 +40,17 @@ public class BusinessApproveManager {
|
||||
private String projectId;
|
||||
private String dataNum;//×âÁÞÎï¸´ÖÆµÄÊýÁ¿
|
||||
private String carId;
|
||||
|
||||
|
||||
private String veto;//¾Üµ¥ÀíÓÉ
|
||||
|
||||
public String getVeto() {
|
||||
return veto;
|
||||
}
|
||||
|
||||
public void setVeto(String veto) {
|
||||
this.veto = veto;
|
||||
}
|
||||
|
||||
public String getDistriOpinion1() {
|
||||
return DistriOpinion1;
|
||||
}
|
||||
@ -208,6 +220,17 @@ public class BusinessApproveManager {
|
||||
bomFT.createQuery("update O set relativeobjectno='"+serialNo+"' where serialno='"+serialNo+"'").executeUpdate();
|
||||
}
|
||||
bomFO.saveObject(bo);
|
||||
|
||||
Transaction sqlca = Transaction.createTransaction(tx);
|
||||
String ssql = "";
|
||||
if(veto!=null||"".equals(veto)){
|
||||
ssql= "update LB_PROJECT_INFO_TEMP set veto = '"+veto+"' where FLOWUNID = '"+flowunid+"'";
|
||||
}else {
|
||||
ssql= "update LB_PROJECT_INFO_TEMP set veto = '' where FLOWUNID = '"+flowunid+"'";
|
||||
}
|
||||
SqlObject sqlObject = new SqlObject(ssql);
|
||||
sqlca.executeSQL(sqlObject);
|
||||
|
||||
tx.commit();
|
||||
}catch(Exception e){
|
||||
e.printStackTrace();
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
package com.tenwa.lease.flow.project.businessapply;
|
||||
|
||||
import com.tenwa.reckon.util.Conn;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_COMPANY;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_COMPANY_TEMP;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_FAMILY;
|
||||
@ -17,6 +18,8 @@ import jbo.sys.CODE_LIBRARY;
|
||||
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import com.amarsoft.are.jbo.BizObject;
|
||||
import com.amarsoft.are.jbo.BizObjectManager;
|
||||
@ -148,7 +151,8 @@ public class CustomerInfoCheck {
|
||||
//BizObject mobileLU=JBOFactory.createBizObjectQuery(LB_GUARANTEE_UNIT.CLASS_NAME,"MOBILE=:mobile").setParameter("mobile", this.mobile).getSingleResult(false);
|
||||
//BizObject mobileLUT=JBOFactory.createBizObjectQuery(LB_GUARANTEE_UNIT_TEMP.CLASS_NAME,"FLOWUNID=:flowunid and MOBILE=:mobile").setParameter("flowunid", this.flowunid).setParameter("mobile", this.mobile).getSingleResult(false);
|
||||
//if(mobileP==null && mobilePT==null && mobileF==null && mobileFT==null && mobileLU==null && mobileLUT==null){
|
||||
if(mobilePT==null && mobileFT==null && emergencycontacttel==null && remark==null && mobileFTSpouse==null){
|
||||
if(mobilePT==null && mobileFT==null && emergencycontacttel==null && remark==null && mobileFTSpouse==null)
|
||||
{
|
||||
return "SUCCESS";
|
||||
}else{
|
||||
if("Lessee".equals(CustomerName)){
|
||||
@ -173,17 +177,19 @@ public class CustomerInfoCheck {
|
||||
if(!id.equals(certId)){
|
||||
return "手机号跟承租人手机号重复!";
|
||||
}
|
||||
}else if(emergencycontacttel!=null){
|
||||
}
|
||||
else if(emergencycontacttel!=null){
|
||||
String id = emergencycontacttel.getAttribute("ID").getString();
|
||||
if(!id.equals(certId)){
|
||||
return "手机号跟紧急联系人1手机号重复!";
|
||||
}
|
||||
}else if(remark!=null){
|
||||
}
|
||||
else if(remark!=null){
|
||||
String id = remark.getAttribute("ID").getString();
|
||||
if(!id.equals(certId)){
|
||||
return "手机号跟紧急联系人2手机号重复!";
|
||||
}
|
||||
}
|
||||
}
|
||||
/*if(mobileLUT!=null){
|
||||
String id = mobileLUT.getAttribute("ID").getString();
|
||||
if(!id.equals(certId)){
|
||||
@ -269,6 +275,33 @@ public class CustomerInfoCheck {
|
||||
}
|
||||
return CustomerId;
|
||||
}
|
||||
|
||||
|
||||
public String checkAndCertId(JBOTransaction tx)throws Exception{
|
||||
String CustomerId="";
|
||||
Transaction Sqlca=null;
|
||||
Conn conn = new Conn(tx);
|
||||
String typr = "";
|
||||
try {
|
||||
Sqlca=Transaction.createTransaction(tx);
|
||||
String sql = "select \n" +
|
||||
"case when 18 < t.age+0 and t.age+0 < 65 then 'true' else 'false' end as zt\n" +
|
||||
"from (\n" +
|
||||
"select\n" +
|
||||
"\t(substring(now(),1,4)-substring('"+certId+"',7,4))-(substring('"+certId+"',11,4)-date_format(now(),'%m%d')>0) as age\n" +
|
||||
"from\n" +
|
||||
"\tdual\n" +
|
||||
") t";
|
||||
List<Map<String, String>> age = conn.executeQuery(sql);
|
||||
typr = age.get(0).get("zt");
|
||||
} catch (JBOException e) {
|
||||
e.printStackTrace();
|
||||
return "ERROR";
|
||||
}
|
||||
return typr;
|
||||
}
|
||||
|
||||
|
||||
//检车身份证号是否重复
|
||||
public String checkCertidRepeat(JBOTransaction tx) throws Exception{
|
||||
BizObjectManager cptManage = JBOFactory.getBizObjectManager(CUSTOMER_PERSON_TEMP.CLASS_NAME, tx);
|
||||
|
||||
@ -0,0 +1,123 @@
|
||||
package com.tenwa.lease.flow.project.businessapply;
|
||||
|
||||
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.awe.util.ASResultSet;
|
||||
import com.amarsoft.awe.util.SqlObject;
|
||||
import com.amarsoft.awe.util.Transaction;
|
||||
import com.tenwa.flow.baseBussion.BaseBussiness;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_FAMILY_TEMP;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_INFO_TEMP;
|
||||
import jbo.com.tenwa.lease.comm.LB_GUARANTEE_UNIT_TEMP;
|
||||
import org.apache.commons.collections.CollectionUtils;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
public class LBBusinessPrimary extends BaseBussiness {
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
@Override
|
||||
public Object run(Transaction Sqlca) throws Exception {
|
||||
this.initBussinessParam(Sqlca);
|
||||
String flowUnid = this.getAttribute("ObjectNo").toString();
|
||||
String custType = this.getAttribute("CustomerType").toString();
|
||||
BigDecimal exposureMoney = obtainExposureMoney(Sqlca, flowUnid);
|
||||
BigDecimal compareMoney = BigDecimal.ZERO;
|
||||
String routeType = this.getAttribute("routeType").toString();
|
||||
if ("40".equals(routeType)) {//个人小于等于60万,法人小于等于100万
|
||||
compareMoney = "03".equals(custType) ? BigDecimal.valueOf(600000) : BigDecimal.valueOf(1000000);
|
||||
} else if ("50".equals(routeType)) {//个人小于等于100万,法人小于等于200万
|
||||
compareMoney = "03".equals(custType) ? BigDecimal.valueOf(1000000) : BigDecimal.valueOf(2000000);
|
||||
} else if ("60".equals(routeType)) {//个人小于等于200万,法人小于等于300万
|
||||
compareMoney = "03".equals(custType) ? BigDecimal.valueOf(2000000) : BigDecimal.valueOf(3000000);
|
||||
} else if ("70".equals(routeType)) {//个人小于等于300万,法人小于等于500万
|
||||
compareMoney = "03".equals(custType) ? BigDecimal.valueOf(3000000) : BigDecimal.valueOf(5000000);
|
||||
} else if ("80".equals(routeType)) {//个人大于300万,法人大于500万
|
||||
return "true";
|
||||
}
|
||||
if (exposureMoney.compareTo(compareMoney) > -1) {
|
||||
return "false";
|
||||
} else {
|
||||
return "true";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 条件判断金额获取逻辑
|
||||
* 主借人或者共借人或担保人出现在其他合同(全条线业务)中作为主借或者共借人或担保人(重复合同取一次计算)
|
||||
* 全部合同的(已放款的贷款余额 + 待放款的贷款金额 + 已核准未放款贷款金额 - 保证金金额) + 本单申请的(贷款金额 - 保证金金额)+ 当前在信审节点中[流程状态不属于(0010,1020,1000,8000)]申请的(贷款金额 - 保证金金额)
|
||||
*/
|
||||
public static BigDecimal obtainExposureMoney(Transaction Sqlca,String flowUnid) throws Exception{
|
||||
BizObjectManager citManage = JBOFactory.getBizObjectManager(CUSTOMER_INFO_TEMP.CLASS_NAME, Sqlca);
|
||||
BizObjectManager cftManage = JBOFactory.getBizObjectManager(CUSTOMER_FAMILY_TEMP.CLASS_NAME, Sqlca);
|
||||
BizObjectManager lgutManage = JBOFactory.getBizObjectManager(LB_GUARANTEE_UNIT_TEMP.CLASS_NAME, Sqlca);
|
||||
//证件号列表
|
||||
ArrayList<String> certIdList = new ArrayList<>();
|
||||
//承租人
|
||||
BizObject cit = citManage.createQuery(" flowunid=:flowunid ").setParameter("flowunid",flowUnid ).getSingleResult(false);
|
||||
if (StringUtils.isNotBlank(cit.getAttribute("certid").getString())) certIdList.add(cit.getAttribute("certid").getString());
|
||||
//配偶
|
||||
BizObject cft = cftManage.createQuery(" flowunid=:flowunid ").setParameter("flowunid",flowUnid ).getSingleResult(false);
|
||||
if (cft!=null && StringUtils.isNotBlank(cft.getAttribute("certid").getString())) certIdList.add(cft.getAttribute("certid").getString());
|
||||
//担保人
|
||||
List<BizObject> lugList = lgutManage.createQuery(" flowunid=:flowunid ").setParameter("flowunid",flowUnid ).getResultList(false);
|
||||
if (CollectionUtils.isNotEmpty(lugList)) {
|
||||
lugList.forEach(item -> {
|
||||
try {
|
||||
if (StringUtils.isNotBlank(item.getAttribute("certid").getString())) {
|
||||
certIdList.add(item.getAttribute("CERTID").getString());
|
||||
}
|
||||
} catch (JBOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
});
|
||||
}
|
||||
if (certIdList.size() == 0) throw new RuntimeException("信审初审-路由判断证件信息为空!");
|
||||
String certIdJoin = certIdList.stream().collect(Collectors.joining("','", "'", "'"));
|
||||
|
||||
//所有合同金额
|
||||
StringBuilder allContractSql = new StringBuilder("select ifnull(sum(bc_money),0) as bcMoney,group_concat(proj_id separator '\\',\\'') as proj_ids from (select lpi.id as proj_id,CLEAN_LEASE_MONEY-ifnull(CAUTION_MONEY,0) as bc_money");
|
||||
allContractSql.append(" from lb_project_info lpi")
|
||||
.append(" left join lc_proj_condition lpc on lpc.PROJECT_ID = lpi.id")
|
||||
.append(" left join lb_contract_info lci on lci.PROJECT_ID = lpi.id")
|
||||
.append(" left join lb_union_lessee lul on lul.PROJECT_ID = lpi.id")
|
||||
.append(" left join customer_info ci on ci.customerid = lul.CUSTOMER_ID")
|
||||
.append(" left join CUSTOMER_FAMILY cf on cf.PROJECT_ID = lpi.id and cf.Partner_ = 'Y'")
|
||||
.append(" left join LB_GUARANTEE_UNIT lgu on lgu.PROJECT_ID = lpi.ID")
|
||||
.append(" where lpi.PROJECT_STATUS = '13'")
|
||||
.append(" and (ci.certid in ("+certIdJoin+") or cf.certid in ("+certIdJoin+") or lgu.CERTID in ("+certIdJoin+"))")
|
||||
.append(" group by lpi.id) t");
|
||||
ASResultSet rsAll = Sqlca.getASResultSet(new SqlObject(allContractSql.toString()));
|
||||
BigDecimal allContractMoney = BigDecimal.ZERO;
|
||||
String projIds = null;
|
||||
if (rsAll.next()) {
|
||||
allContractMoney = rsAll.getBigDecimal("bcMoney");
|
||||
projIds = rsAll.getString("proj_ids");
|
||||
}
|
||||
//项目下实收金额
|
||||
BigDecimal incomeMoney = BigDecimal.ZERO;
|
||||
if (StringUtils.isNotBlank(projIds)) {
|
||||
String incomeMoneySql = "select ifnull(sum(corpus),0) as all_income from lc_rent_income where PROJECT_ID in ('" + projIds + "')";
|
||||
ASResultSet incomeMoneyRs = Sqlca.getASResultSet(new SqlObject(incomeMoneySql));
|
||||
if (incomeMoneyRs.next()) {
|
||||
incomeMoney = incomeMoneyRs.getBigDecimal("all_income");
|
||||
}
|
||||
}
|
||||
//流程中金额获取(当前流程)
|
||||
String InFlowSql = "select CLEAN_LEASE_MONEY-ifnull(CAUTION_MONEY,0) as inFlowMoney from lc_calc_condition_temp where FLOWUNID = '"+flowUnid+"'";
|
||||
ASResultSet rsIn = Sqlca.getASResultSet(new SqlObject(InFlowSql));
|
||||
BigDecimal inFlowMoney = BigDecimal.valueOf(0);
|
||||
if (rsIn.next()) {
|
||||
inFlowMoney = rsIn.getBigDecimal("inFlowMoney");
|
||||
}
|
||||
return allContractMoney.subtract(incomeMoney).add(inFlowMoney);
|
||||
}
|
||||
|
||||
}
|
||||
@ -26,9 +26,10 @@ public class CGBOnlineBankingTransactionRecordsPullJob implements Job {
|
||||
|
||||
@Override
|
||||
public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
|
||||
String yesterday = LocalDate.now().minusDays(1).format(GlobalConst.dateFormatterNone);
|
||||
String yesterday = LocalDate.now().format(GlobalConst.dateFormatterNone);
|
||||
try {
|
||||
cgbBankService.startProcess(CGBconfProperties.OWNACCNUMBER, yesterday);
|
||||
cgbBankService.startProcess(CGBconfProperties.OWNACCNUMBER, yesterday);
|
||||
|
||||
} catch (Throwable e) {
|
||||
log.error("定时任务拉取广发银行网银流水失败!拉取日期:" + yesterday + ",本方账号:" + CGBconfProperties.OWNACCNUMBER, e);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user