C段零售系统修改微信公众号
This commit is contained in:
parent
efaeb21f82
commit
2b9cf3b757
@ -1,48 +1,56 @@
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
|
||||
/*
|
||||
Author: undefined 2016-06-07
|
||||
Content:
|
||||
History Log:
|
||||
*/
|
||||
ASObjectModel doTemp = new ASObjectModel("BTBussinessMessageList");
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
|
||||
dwTemp.Style="1"; //--设置为Grid风格--
|
||||
dwTemp.ReadOnly = "1"; //只读模式
|
||||
dwTemp.setPageSize(20);
|
||||
dwTemp.genHTMLObjectWindow(CurUser.getUserID());
|
||||
|
||||
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格
|
||||
String sButtons[][] = {
|
||||
{"true","","Button","消息详情","消息详情","viewAndEdit()","","","","btn_icon_detail",""},
|
||||
{"true","","Button","已处理","已处理","hasProcess()","","","","btn_icon_detail",""},
|
||||
{"true","","Button","已知","已知","hasKnow()","","","","btn_icon_detail",""}
|
||||
};
|
||||
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
|
||||
<%@include file="/Tenwa/Core/BussinessMessage/MessageInfo/BaseMessageFunciton.jspf"%>
|
||||
<script type="text/javascript">
|
||||
function loadParam(){
|
||||
var param={};
|
||||
param["Id"]= getItemValue(0,getRow(),"ID");
|
||||
param["CatalogName"]=getItemValue(0,getRow(),"message_catalogname");
|
||||
param["Cparam"]= getItemValue(0,getRow(),"cparam");
|
||||
return param;
|
||||
}
|
||||
function viewAndEdit(){
|
||||
var sUrl = "/Tenwa/Core/BussinessMessage/MessageInfo/BaseMessageInfo.jsp";
|
||||
var ID = getItemValue(0,getRow(),"ID");
|
||||
if(typeof(ID) == "undefined" || ID.length == 0 )
|
||||
{
|
||||
alert("请选择一条信息!");
|
||||
return ;
|
||||
}
|
||||
var sParams = "CurUserID=<%=CurUser.getUserID()%>";
|
||||
sParams+=",messageId="+ID;
|
||||
var sReturnInfo = RunJavaMethodTrans("com.tenwa.comm.message.controller.BussinessMessageController","setMessageRead",sParams);
|
||||
var configPage= getItemValue(0,getRow(),"message_page");
|
||||
var cparam=getItemValue(0,getRow(),"cparam");
|
||||
var objectinfo={"title":"业务消息【"+ getItemValue(0,getRow(),"message_title")+"】"};
|
||||
AsControl.OpenTab(sUrl,cparam,objectinfo);
|
||||
}
|
||||
</script>
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%><%
|
||||
/*
|
||||
Author: undefined 2016-06-07
|
||||
Content:
|
||||
History Log:
|
||||
*/
|
||||
ASObjectModel doTemp = new ASObjectModel("BTBussinessMessageList");
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
|
||||
dwTemp.Style="1"; //--设置为Grid风格--
|
||||
dwTemp.ReadOnly = "1"; //只读模式
|
||||
dwTemp.setPageSize(20);
|
||||
dwTemp.genHTMLObjectWindow(CurUser.getUserID());
|
||||
|
||||
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格
|
||||
String sButtons[][] = {
|
||||
{"true","","Button","消息详情","消息详情","viewAndEdit()","","","","btn_icon_detail",""},
|
||||
//{"true","","Button","已处理","已处理","hasProcess()","","","","btn_icon_detail",""},
|
||||
{"true","","Button","已知","已知","hasKnow()","","","","btn_icon_detail",""}
|
||||
};
|
||||
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
|
||||
<%@include file="/Tenwa/Core/BussinessMessage/MessageInfo/BaseMessageFunciton.jspf"%>
|
||||
<script type="text/javascript">
|
||||
function loadParam(){
|
||||
var param={};
|
||||
param["Id"]= getItemValue(0,getRow(),"ID");
|
||||
param["CatalogName"]=getItemValue(0,getRow(),"message_catalogname");
|
||||
param["Cparam"]= getItemValue(0,getRow(),"cparam");
|
||||
return param;
|
||||
}
|
||||
function viewAndEdit(){
|
||||
var sUrl = "/Tenwa/Core/BussinessMessage/MessageInfo/BaseMessageInfo.jsp";
|
||||
var config = getItemValue(0,getRow(),"config_id");
|
||||
if( "230f12df57324ad7b4f959b9ef52596a" == config){
|
||||
sUrl = "/Tenwa/wechat/WechatBasicChange.jsp";
|
||||
}else if ("7457fee6a7654054b0a214bf05d8c68e" == config){
|
||||
sUrl = "/Tenwa/wechat/WechatAdvanceSettleInfo.jsp";
|
||||
}else if ("b407c6f005f54319b8f3b3396efae620" == config){
|
||||
sUrl = "/Tenwa/wechat/WechatBanknumberChangeInfo.jsp";
|
||||
}
|
||||
var ID = getItemValue(0,getRow(),"ID");
|
||||
if(typeof(ID) == "undefined" || ID.length == 0 )
|
||||
{
|
||||
alert("请选择一条信息!");
|
||||
return ;
|
||||
}
|
||||
var sParams = "CurUserID=<%=CurUser.getUserID()%>";
|
||||
sParams+=",messageId="+ID;
|
||||
var sReturnInfo = RunJavaMethodTrans("com.tenwa.comm.message.controller.BussinessMessageController","setMessageRead",sParams);
|
||||
var configPage= getItemValue(0,getRow(),"message_page");
|
||||
var cparam=getItemValue(0,getRow(),"cparam");
|
||||
var objectinfo={"title":"业务消息【"+ getItemValue(0,getRow(),"message_title")+"】"};
|
||||
AsControl.OpenTab(sUrl,cparam,objectinfo);
|
||||
}
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
@ -0,0 +1,139 @@
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@page import="jbo.app.tenwa.doc.LB_DOC_CONTRACT_LIST"%>
|
||||
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%>
|
||||
<script type="text/javascript" src="<%=sWebRootPath%>/Frame/page/js/bankBin.js"></script><%
|
||||
/*
|
||||
Author: undefined 2017-07-10
|
||||
Content: 示例详情页面
|
||||
History Log:
|
||||
*/
|
||||
String projectId = CurPage.getParameter("ProjectId");
|
||||
String RightType=CurPage.getParameter("RightType");
|
||||
String ishistory=CurPage.getParameter("IsHistory");
|
||||
String ApplyType=CurPage.getParameter("ApplyType");
|
||||
String CustomerType=CurPage.getParameter("CustomerType");
|
||||
String customerId = CurPage.getParameter("customerId");
|
||||
String FlowUnid=CurPage.getParameter("FlowUnid");
|
||||
String contractId = CurPage.getParameter("ContractId");
|
||||
|
||||
String sTempletNo = "DebitCardInfoMcontract";//--模板号--
|
||||
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
||||
doTemp.setHtmlEvent("acc_number", "onchange", "getNameOfBank");
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
|
||||
dwTemp.Style = "2";//freeform
|
||||
|
||||
if((null!=RightType&&RightType.equals("ReadOnly"))||(null!=ishistory&&ishistory.equals("true"))){
|
||||
dwTemp.ReadOnly = "-2";//只读模式
|
||||
RightType="ReadOnly";
|
||||
isShowButton=false;
|
||||
}else{
|
||||
isShowButton=true;
|
||||
}
|
||||
dwTemp.genHTMLObjectWindow(projectId);
|
||||
|
||||
String sButtons[][] = {
|
||||
{"true","","Button","保存","保存所有修改","save()","","","",""}
|
||||
} ;
|
||||
|
||||
sButtonPosition = "north";
|
||||
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||||
<script type="text/javascript">
|
||||
//根据选择的用户名选择对应的证件号
|
||||
function autoSetCustId(){
|
||||
var param1 = "";
|
||||
var param2 = "";
|
||||
if('AccountChangeApply'=='<%=ApplyType%>'){
|
||||
param1 = "selectAccountForChange";
|
||||
param2 = "ProjectId,<%=projectId%>,customerType,<%=CustomerType%>,ProjectId,<%=projectId%>,CustomerId,<%=customerId%>";
|
||||
}else{
|
||||
param1 = "selectAccountByCusts";
|
||||
param2 = "flowunid,<%=FlowUnid%>";
|
||||
}
|
||||
param2=param2+",customerType,"+"<%=CustomerType%>";
|
||||
AsDialog.OpenSelector(param1,param2,"dialogWidth=" + parseInt(window.screen.width * 0.4) + "px dialogHeight=" + parseInt(window.screen.height * 0.6) + "px",function(sReturn){
|
||||
if(!sReturn||sReturn=="_CANCEL_"){
|
||||
alert(getHtmlMessage('1'));//请选择一条信息!
|
||||
return;
|
||||
}
|
||||
sReturn = sReturn.split("@");
|
||||
setItemValue(0,0,'CERTID',sReturn[0]);
|
||||
setItemValue(0,0,'ACCOUNT',sReturn[1]);
|
||||
setItemValue(0,0,'CUSTTYPE',sReturn[2]);
|
||||
setItemValue(0,0,'MOBILE',sReturn[3]);
|
||||
},"选择扣款卡名称");
|
||||
}
|
||||
|
||||
|
||||
function checkTel(){//校验预留手机号格式
|
||||
var mobile = getItemValue(0,getRow(0),"MOBILE");
|
||||
if(mobile==""){
|
||||
//setErrorTips("mobile","手机号不能为空!");
|
||||
// alert("预留手机号不能为空!");
|
||||
return true;
|
||||
}
|
||||
var phone = /^[1][2,3,4,5,6,7,8,9][0-9]{9}$/;
|
||||
if(phone.test(mobile)){
|
||||
setErrorTips("MOBILE","");
|
||||
return true;
|
||||
}else{
|
||||
setErrorTips("MOBILE","手机号格式不正确!");
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function save(){
|
||||
//校验是否已经生成直接扣款委托书
|
||||
var fileMeassge = RunJavaMethodTrans("com.tenwa.comm.customerfilterlist.DebitCardAction", "isEntrustFile", "FlowUnid="+"<%=FlowUnid%>"+",contractid="+"<%=contractId%>");
|
||||
if("success" != fileMeassge){
|
||||
alert(fileMeassge);
|
||||
return ;
|
||||
}
|
||||
var TelRes=checkTel();
|
||||
if(TelRes==false){
|
||||
return;
|
||||
}
|
||||
var number=getItemValue(0, getRow(0), "acc_number");
|
||||
var reg = /^(\d{14}|\d{16}|\d{19})$/;
|
||||
if(!reg.test(number)){
|
||||
setErrorTips("acc_number","银行账号格式错误!");
|
||||
return ;
|
||||
}
|
||||
setErrorTips("acc_number","");
|
||||
setItemValue(0,0,"acc_type","Debit");
|
||||
var sparams = "account="+getItemValue(0,getRow(),"ACCOUNT")+",acc_number="+getItemValue(0,getRow(),"ACC_NUMBER")+",bank_name="+getItemValue(0,getRow(),"BANK_NAME")+",mobile="+getItemValue(0,getRow(),"MOBILE")+",projectid=<%=projectId%>,FlowUnid=<%=FlowUnid%>,contractid=<%=contractId%>";
|
||||
var meassge = RunJavaMethodTrans("com.tenwa.comm.customerfilterlist.DebitCardAction", "IsSignStatus", sparams);
|
||||
if("Y"==meassge){
|
||||
setItemValue(0,0,"sign_status","Y");
|
||||
}else if("N"==meassge){
|
||||
setItemValue(0,0,"sign_status","");
|
||||
}
|
||||
setItemValue(0,0,"ACC_NUMBER",allTrim(getItemValue(0,0,"ACC_NUMBER")));
|
||||
|
||||
as_save("0","re");
|
||||
|
||||
}
|
||||
function re(){
|
||||
var param="CompClientID=<%=sCompClientID%>&FlowUnid=<%=FlowUnid%>&RightType=<%=RightType%>&ishistory=<%=ishistory%>";
|
||||
AsControl.OpenView("/Tenwa/Lease/Flow/Comm/LBDebitCard/PaymentCardInfo.jsp",param,"frame_list");
|
||||
}
|
||||
|
||||
function getNameOfBank(){
|
||||
var sflag=-1;
|
||||
var number = getItemValue(0, getRow(0), "acc_number");
|
||||
var cardbin = number.substring(0, 6);
|
||||
for (var i=0;i<bankBin.length;i++) {
|
||||
if(cardbin==bankBin[i]){
|
||||
sflag = i;
|
||||
}
|
||||
}
|
||||
if (sflag != -1) {
|
||||
var name=bankName[sflag].substring(0,bankName[sflag].indexOf("·"));
|
||||
setItemValue(0,getRow(),"bank_name",name);
|
||||
|
||||
}
|
||||
setErrorTips("acc_number","");
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
@ -1,15 +1,15 @@
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/IncludeBegin.jsp"%><%
|
||||
/*
|
||||
Author: undefined 2018-07-30
|
||||
Content:
|
||||
History Log:
|
||||
*/
|
||||
%><%@include file="/Resources/CodeParts/Frame02.jsp"%>
|
||||
<script type="text/javascript">
|
||||
AsControl.OpenView("/Tenwa/Lease/Flow/Comm/LBDebitCard/DebitCardInfoForm.jsp","","rightup","");
|
||||
AsControl.OpenView("/Tenwa/Lease/Flow/Comm/LBDebitCard/DebitCardInfo.jsp","","rightdown","");
|
||||
setTitle("±ä¸üǰ",true);
|
||||
setTitle("±ä¸üºó",false);
|
||||
</script>
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/IncludeBegin.jsp"%><%
|
||||
/*
|
||||
Author: undefined 2018-07-30
|
||||
Content:
|
||||
History Log:
|
||||
*/
|
||||
%><%@include file="/Resources/CodeParts/Frame02.jsp"%>
|
||||
<script type="text/javascript">
|
||||
AsControl.OpenView("/Tenwa/Lease/Flow/Comm/LBDebitCard/DebitCardInfoForm.jsp","","rightup","");
|
||||
AsControl.OpenView("Tenwa/Lease/Flow/Comm/LBDebitCard/AccountChangeFlowDebitCardInfo.jsp","","rightdown","");
|
||||
setTitle("±ä¸üǰ",true);
|
||||
setTitle("±ä¸üºó",false);
|
||||
</script>
|
||||
<%@ include file="/IncludeEnd.jsp"%>
|
||||
@ -1,38 +1,38 @@
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
|
||||
/*
|
||||
Author: undefined 2018-07-30
|
||||
Content: 示例详情页面
|
||||
History Log:
|
||||
*/
|
||||
String ishistory = CurPage.getParameter("IsHistory");
|
||||
String ContractId = CurPage.getParameter("ContractId");
|
||||
String sPrevUrl = CurPage.getParameter("PrevUrl");
|
||||
String flowName = CurPage.getParameter("FlowName");
|
||||
String flowUnid = CurPage.getParameter("FlowUnid");
|
||||
if(sPrevUrl == null) sPrevUrl = "";
|
||||
|
||||
String sTempletNo = "DebitCardInfoForm";//--模板号--
|
||||
if("扣款信息变更审核".equals(flowName)&& null!=ishistory&&ishistory.equals("true")){
|
||||
sTempletNo = "DebitCardInfoFormHis";
|
||||
ContractId = flowUnid;
|
||||
}
|
||||
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
||||
// doTemp.setColTips("", "测试");
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
|
||||
dwTemp.Style = "2";//freeform
|
||||
dwTemp.ReadOnly = "-2";//只读模式
|
||||
dwTemp.genHTMLObjectWindow(ContractId);
|
||||
|
||||
String sButtons[][] = {
|
||||
// {"true","All","Button","保存","保存所有修改","as_save(0)","","","",""},
|
||||
{String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","返回","返回列表","returnList()","","","",""}
|
||||
};
|
||||
sButtonPosition = "south";
|
||||
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||||
<script type="text/javascript">
|
||||
function returnList(){
|
||||
AsControl.OpenView("<%=sPrevUrl%>", "","_self","");
|
||||
}
|
||||
</script>
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
|
||||
/*
|
||||
Author: undefined 2018-07-30
|
||||
Content: 示例详情页面
|
||||
History Log:
|
||||
*/
|
||||
String ishistory = CurPage.getParameter("IsHistory");
|
||||
String ContractId = CurPage.getParameter("ContractId");
|
||||
String sPrevUrl = CurPage.getParameter("PrevUrl");
|
||||
String flowName = CurPage.getParameter("FlowName");
|
||||
String flowUnid = CurPage.getParameter("FlowUnid");
|
||||
if(sPrevUrl == null) sPrevUrl = "";
|
||||
|
||||
String sTempletNo = "DebitCardInfoForm";//--模板号--
|
||||
if("扣款信息变更审核".equals(flowName)){
|
||||
sTempletNo = "DebitCardInfoFormHis";
|
||||
ContractId = flowUnid;
|
||||
}
|
||||
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
||||
// doTemp.setColTips("", "测试");
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
|
||||
dwTemp.Style = "2";//freeform
|
||||
dwTemp.ReadOnly = "-2";//只读模式
|
||||
dwTemp.genHTMLObjectWindow(ContractId);
|
||||
|
||||
String sButtons[][] = {
|
||||
// {"true","All","Button","保存","保存所有修改","as_save(0)","","","",""},
|
||||
{String.valueOf(!com.amarsoft.are.lang.StringX.isSpace(sPrevUrl)),"All","Button","返回","返回列表","returnList()","","","",""}
|
||||
};
|
||||
sButtonPosition = "south";
|
||||
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||||
<script type="text/javascript">
|
||||
function returnList(){
|
||||
AsControl.OpenView("<%=sPrevUrl%>", "","_self","");
|
||||
}
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
84
WebContent/Tenwa/wechat/WechatAdvanceSettleInfo.jsp
Normal file
84
WebContent/Tenwa/wechat/WechatAdvanceSettleInfo.jsp
Normal file
@ -0,0 +1,84 @@
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
|
||||
/*
|
||||
Author: undefined 2019-11-04
|
||||
Content: 示例详情页面
|
||||
History Log:
|
||||
*/
|
||||
String sTempletNo = "WechatAdvanceSettle";//--模板号--
|
||||
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
|
||||
dwTemp.Style = "2";//freeform
|
||||
//dwTemp.ReadOnly = "-2";//只读模式
|
||||
dwTemp.genHTMLObjectWindow(CurPage.getParameter("AdvanceSettleId"));
|
||||
|
||||
String sButtons[][] = {
|
||||
{"true","All","Button","保存","保存所有修改","as_save(0)","","","",""},
|
||||
{"true","","Button","通过","通过","saveRecord()","","","","btn_icon_submit"},
|
||||
{"true","All","Button","否决","否决","returnList()","","","","btn_icon_close"},
|
||||
|
||||
};
|
||||
sButtonPosition = "north";
|
||||
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||||
<script type="text/javascript">
|
||||
function returnList(){
|
||||
var id = getItemValue(0,getRow(),"ID");
|
||||
var sReturnInfo = RunJavaMethodTrans("com.tenwa.app.wechat.WechatCustomerInfoChange","isSubmit","id="+id+",type=advance");
|
||||
if("success" != sReturnInfo ){
|
||||
alert(sReturnInfo);
|
||||
return ;
|
||||
}
|
||||
var opinions = getItemValue(0,getRow(),"opinions");
|
||||
if(opinions.length<=0){
|
||||
alert("请先填写申请意见!!!");
|
||||
return;
|
||||
};
|
||||
var isopinions = RunJavaMethodTrans("com.tenwa.app.wechat.WechatCustomerInfoChange","isopinions","id="+id+",type=advance");
|
||||
if("success"!=isopinions){
|
||||
alert(isopinions);
|
||||
return;
|
||||
};
|
||||
if(confirm('确实要否决吗?')){
|
||||
var vetoSubmitMessage = RunJavaMethodTrans("com.tenwa.app.wechat.WechatCustomerInfoChange","vetoSubmit","id="+id+",type=advance");
|
||||
if("success" != vetoSubmitMessage ){
|
||||
alert(vetoSubmitMessage);
|
||||
return ;
|
||||
}
|
||||
alert("已否决!");
|
||||
$(parent.document).find("div.tab_close")[0].click();
|
||||
}
|
||||
}
|
||||
|
||||
function saveRecord(){
|
||||
var id = getItemValue(0,getRow(),"ID");
|
||||
var opinions = getItemValue(0,getRow(),"opinions");
|
||||
if(opinions.length<=0){
|
||||
alert("请先填写申请意见!!!");
|
||||
return;
|
||||
};
|
||||
var isopinions = RunJavaMethodTrans("com.tenwa.app.wechat.WechatCustomerInfoChange","isopinions","id="+id+",type=advance");
|
||||
if("success"!=isopinions){
|
||||
alert(isopinions);
|
||||
return;
|
||||
};
|
||||
|
||||
//校验数据是否已处理
|
||||
var isprocessed = RunJavaMethodTrans("com.tenwa.app.wechat.WechatCustomerInfoChange","isSettle","id="+id);
|
||||
if("success"!=isprocessed){
|
||||
alert(isprocessed);
|
||||
return;
|
||||
}
|
||||
if(confirm('您确认同意吗?')){
|
||||
var sReturnInfo = RunJavaMethodTrans("com.tenwa.app.wechat.WechatCustomerInfoChange","SettleSubmit","id="+id);
|
||||
if("success"==sReturnInfo){
|
||||
alert("处理成功!");
|
||||
$(parent.document).find("div.tab_close")[0].click();
|
||||
return;
|
||||
}
|
||||
alert("变更失败,请联系管理员!");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
168
WebContent/Tenwa/wechat/WechatBankNumberDocList.jsp
Normal file
168
WebContent/Tenwa/wechat/WechatBankNumberDocList.jsp
Normal file
@ -0,0 +1,168 @@
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/Frame/resources/include/include_begin_simplelist.jspf"%>
|
||||
<%@ page import="com.tenwa.doc.action.DocListInitAction" %>
|
||||
<%@ page import="com.amarsoft.app.lc.workflow.action.GetFlowAction" %>
|
||||
<%
|
||||
/*
|
||||
带出业务申请时附件的专用页面
|
||||
Author: undefined 2016-09-01
|
||||
Content:
|
||||
History Log:
|
||||
*/
|
||||
|
||||
String bankInfoId = CurPage.getParameter("bankinfoid");
|
||||
String RightType ="";
|
||||
String sObjectType = "";
|
||||
String username = "";
|
||||
String sTempletNo="WechatBankNumberDocList";
|
||||
if(sTempletNo==null){
|
||||
sTempletNo="FlowPayDocList";
|
||||
}
|
||||
|
||||
String compClientID = request.getParameter("bankInfoId");
|
||||
|
||||
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
||||
//doTemp.appendJboWhere(" and rela.proj_id='"+ProjectId+"' and rela.objecttype='BusinessApplyFlow'");
|
||||
|
||||
doTemp.setLockCount(2);
|
||||
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
|
||||
dwTemp.Style="1"; //--设置为Grid风格--
|
||||
dwTemp.ReadOnly = "0";
|
||||
dwTemp.setPageSize(50);
|
||||
dwTemp.genHTMLObjectWindow(bankInfoId);
|
||||
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格
|
||||
String sButtons[][] =null;
|
||||
|
||||
sButtons=new String[][]{
|
||||
{"false","","Button","保存","保存所有修改","saveRecord()","","","",""},
|
||||
};
|
||||
|
||||
%>
|
||||
<script type="text/javascript">
|
||||
var rowSpan="One_Classify";
|
||||
</script>
|
||||
<%@include file="/Frame/resources/include/ui/include_list.jspf"%>
|
||||
<script type="text/javascript">
|
||||
|
||||
window.onload=function(){
|
||||
/* var RowCount = getRowCount(0);
|
||||
for(var i=0;i<RowCount;i++){
|
||||
if($("#INPUT_myiframe0_Doc_Nature_"+i+"_2").text()=="必备"){
|
||||
$("#INPUT_myiframe0_Doc_Nature_"+i+"_2").attr("style","color:red");
|
||||
}
|
||||
} */
|
||||
|
||||
heping();
|
||||
$("#DWTD").width( document.body.offsetWidth - 10);
|
||||
$("#DWTD").width( document.body.offsetHeight - 20);
|
||||
document.getElementById('DWTD').innerHTML = '<div style="width:'+(document.body.offsetWidth - 10)+'px;height:'+(document.body.offsetHeight - 40)+'px;overflow: scroll;">'+document.getElementById('DWTD').innerHTML+'</div>';
|
||||
}
|
||||
function heping(){
|
||||
$("#TR_Right_myiframe0_0").attr("class","color_zebra1");
|
||||
huanhang("Doc_Name");
|
||||
}
|
||||
|
||||
function huanhang(col){
|
||||
var tab=document.getElementById("myiframe0");
|
||||
var a= getColIndex(0,col);
|
||||
for(var i=0;i<tab.rows.length-1;i++){
|
||||
$("#INPUT_myiframe0_"+col+"_"+i+"_"+a).parent().attr("style","white-space: pre-wrap;");
|
||||
}
|
||||
}
|
||||
|
||||
function selectFile(){
|
||||
objectinfo={};
|
||||
objectinfo.title="附件一览"
|
||||
AsControl.OpenTab("/Tenwa/Comm/Document/LBDocumentList.jsp","ObjectNo=20170427000001",objectinfo);
|
||||
}
|
||||
function saveRecord(){
|
||||
as_save("myiframe0","heping()");
|
||||
location.reload();
|
||||
}
|
||||
//在加载完表格后调用
|
||||
function afterSearch(){
|
||||
var sRightType="<%=RightType%>";
|
||||
var sObjectType="<%=sObjectType%>";//该流程类型
|
||||
var isReview="<%=CurPage.getParameter("isReview")%>";
|
||||
var username="<%=username%>";
|
||||
for(var i=0;i<getRowCount(0);i++){
|
||||
if(getObj(0,i,"operation")!=null&&getObj(0,i,"operation")!="null"){
|
||||
getObj(0,i,"operation").innerHTML='<a class="box" onclick="upload(\''+getItemValue(0,i,"id")+'\')" style={color:#000;text-decoration:underline;}><font color="blue">上传</font></a>';
|
||||
}
|
||||
var filelist=getObj(0,i,"filelist").innerHTML;
|
||||
var obj=eval('('+filelist+')');
|
||||
var html="";
|
||||
for(var file in obj){
|
||||
html+='<a onclick=downloadFile(\''+obj[file]['id']+'\')><font color="blue">'+obj[file]['filename']+'</font></a>';
|
||||
html+='【上传时间:'+obj[file]['inputtime']+'】';
|
||||
//html+='【上传人:'+obj[file]['inputuser']+'】';
|
||||
if(obj[file]['image']=="true"){
|
||||
html+='<a class="btn_icon btn_icon_search" onclick="showImage(\''+obj[file]['id']+'\',\''+obj[file]['filename']+'\');"> </a>';
|
||||
}
|
||||
html+='</br>';
|
||||
}
|
||||
getObj(0,i,"filelist").innerHTML=html;
|
||||
getObj(0,i,"filelist").style["white-space"]="pre-wrap";
|
||||
if($("#INPUT_myiframe0_Doc_Nature_"+i+"_2").text()=="必备"){
|
||||
$("#INPUT_myiframe0_Doc_Nature_"+i+"_2").attr("style","color:red");
|
||||
}
|
||||
};
|
||||
}
|
||||
function showPDF(id,name){
|
||||
var sUrl="/Tenwa/Comm/DocList/showPDF.jsp";
|
||||
var param="attrid="+id;
|
||||
AsControl.OpenPage(sUrl,param,"","");
|
||||
}
|
||||
function showWord(id,name){
|
||||
var sUrl="/Tenwa/Comm/DocList/showWord.jsp";
|
||||
var param="attrid="+id;
|
||||
AsControl.OpenPage(sUrl,param,"","");
|
||||
}
|
||||
function showImage(id,name){
|
||||
var sUrl="/Tenwa/Comm/DocList/showImage.jsp";
|
||||
var param="attrid="+id;
|
||||
AsDialog.PopView(sUrl,param,"dialogWidth=480px;dialogHeight=400px;",function(message){
|
||||
|
||||
},name);
|
||||
}
|
||||
function editOffice(id,filename){
|
||||
var filetype=filename.substr(filename.indexOf(".")+1);
|
||||
var status=2;
|
||||
AsDialog.PopView("/Tenwa/Core/OfficeTemplate/OnlineOperation/online/editOfficeOnLine.jsp","filetype="+filetype+"&status="+status+"&id="+id+"&CompClientID=<%=compClientID%>","dialogWidth=1024px;dialogHeight=1000px;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"){
|
||||
alert("提交成功!");
|
||||
reloadSelf();
|
||||
}else{
|
||||
alert("提交失败!");
|
||||
}
|
||||
},"编辑文档");
|
||||
}
|
||||
|
||||
function upload(id){
|
||||
//saveRecord();
|
||||
|
||||
var param="Library_id="+id;
|
||||
var sUrl="/Tenwa/Comm/DocList/DocListInfo.jsp";
|
||||
AsDialog.PopView(sUrl,param,"dialogWidth=480px;dialogHeight=400px;resizable=no;scrollbars=no;status:yes;maximize:no;help:no;",function(message){
|
||||
var str=RunJavaMethodTrans("com.tenwa.doc.action.DocListAction","updateBussinessCheck","library_id="+id+",BussinessCheck=DocCheck_0");
|
||||
// reloadSelf();
|
||||
location.reload();
|
||||
heping();
|
||||
},"上传附件");
|
||||
}
|
||||
function downloadFile(id){
|
||||
if(!frames["downloadTemplate"]) $("<iframe name='downloadTemplate' style='display:none;'></iframe>").appendTo("body");
|
||||
window.open(sWebRootPath+"/servlet/view/docDownloadServlet?CompClientID=<%=sCompClientID%>&sqlString=save@"+id, "downloadTemplate");
|
||||
}
|
||||
function deleteFile(id){
|
||||
var sParams="attId="+id+",BussinessCheck=DocCheck_2";
|
||||
var sReturnInfo = RunJavaMethodTrans("com.tenwa.doc.action.DocListAction","deleteAttr",sParams);
|
||||
reloadSelf();
|
||||
heping();
|
||||
}
|
||||
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
53
WebContent/Tenwa/wechat/WechatBanknumberChangeInfo.jsp
Normal file
53
WebContent/Tenwa/wechat/WechatBanknumberChangeInfo.jsp
Normal file
@ -0,0 +1,53 @@
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
|
||||
/*
|
||||
Author: undefined 2019-11-02
|
||||
Content: 示例详情页面
|
||||
History Log:
|
||||
*/
|
||||
String bankInfoId = CurPage.getParameter("bankinfoid");
|
||||
String compClientID = request.getParameter("CompClientID");
|
||||
String sTempletNo = "WechatBanknumberChange";//--模板号--
|
||||
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
|
||||
dwTemp.Style = "2";//freeform
|
||||
dwTemp.genHTMLObjectWindow(bankInfoId);
|
||||
System.out.println(sWebRootPath);
|
||||
dwTemp.replaceColumn("docFile", "<iframe type='iframe' id='frame_list' name=\"frame_list\" width=\"100%\" height=\"500px\" frameborder=\"0\" src=\""+sWebRootPath+"/Tenwa/wechat/WechatBankNumberDocList.jsp?CompClientID="+compClientID+"&bankinfoid="+bankInfoId+"\"></iframe>", CurPage.getObjectWindowOutput());
|
||||
|
||||
String sButtons[][] = {
|
||||
{"true","All","Button","保存","保存所有修改","as_save(0)","","","",""},
|
||||
{"true","All","Button","否决","否决","returnList()","","","","btn_icon_close"},
|
||||
};
|
||||
sButtonPosition = "north";
|
||||
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||||
<script type="text/javascript">
|
||||
function returnList(){
|
||||
var id = getItemValue(0,getRow(),"ID");
|
||||
var sReturnInfo = RunJavaMethodTrans("com.tenwa.app.wechat.WechatCustomerInfoChange","isSubmit","id="+id+",type=bank");
|
||||
if("success" != sReturnInfo ){
|
||||
alert(sReturnInfo);
|
||||
return ;
|
||||
};
|
||||
var opinions = getItemValue(0,getRow(),"opinions");
|
||||
if(opinions.length<=0){
|
||||
alert("请先填写申请意见!!!");
|
||||
return;
|
||||
};
|
||||
var isopinions = RunJavaMethodTrans("com.tenwa.app.wechat.WechatCustomerInfoChange","isopinions","id="+id+",type=bank");
|
||||
if("success"!=isopinions){
|
||||
alert(isopinions);
|
||||
return;
|
||||
};
|
||||
if(confirm('确实要否决吗?')){
|
||||
var vetoSubmitMessage = RunJavaMethodTrans("com.tenwa.app.wechat.WechatCustomerInfoChange","vetoSubmit","id="+id+",type=bank");
|
||||
if("success" != vetoSubmitMessage ){
|
||||
alert(vetoSubmitMessage);
|
||||
return ;
|
||||
};
|
||||
alert("已否决!");
|
||||
$(parent.document).find("div.tab_close")[0].click();
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
72
WebContent/Tenwa/wechat/WechatBasicChange.jsp
Normal file
72
WebContent/Tenwa/wechat/WechatBasicChange.jsp
Normal file
@ -0,0 +1,72 @@
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/Frame/resources/include/include_begin_info.jspf"%><%
|
||||
/*
|
||||
Author: undefined 2019-11-01
|
||||
Content: 示例详情页面
|
||||
History Log:
|
||||
*/
|
||||
String sPrevUrl = CurPage.getParameter("PrevUrl");
|
||||
if(sPrevUrl == null) sPrevUrl = "";
|
||||
|
||||
String sTempletNo = "WechatBasicChange";//--模板号--
|
||||
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
|
||||
dwTemp.Style = "2";//freeform
|
||||
dwTemp.genHTMLObjectWindow(CurPage.getParameter("changeId"));
|
||||
|
||||
String sButtons[][] = {
|
||||
{"true","","Button","保存","审批意见","saveRecord('save')","","","","btn_icon_save"},
|
||||
{"true","","Button","通过","通过","saveRecord('via')","","","","btn_icon_submit"},
|
||||
{"true","","Button","否决","否决","saveRecord('refuse')","","","","btn_icon_close"}
|
||||
};
|
||||
sButtonPosition = "north";
|
||||
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||||
<script type="text/javascript">
|
||||
function saveRecord(parameter){
|
||||
var id = getItemValue(0,getRow(),"ID");
|
||||
var isprocessed = RunJavaMethodTrans("com.tenwa.app.wechat.WechatCustomerInfoChange","isProcessed","basicChangeId="+id);
|
||||
if("success"!=isprocessed){
|
||||
alert(isprocessed);
|
||||
return;
|
||||
}
|
||||
if("save"==parameter){
|
||||
var opinions = allTrim(getItemValue(0,getRow(),"opinions"));
|
||||
setItemValue(0,0,"opinions",opinions);
|
||||
as_save(0);
|
||||
}else if("via"==parameter){
|
||||
var customerId = getItemValue(0,getRow(),"CUSTOMER_ID");
|
||||
if(confirm('确实要变更吗?')){
|
||||
var sReturnInfo = RunJavaMethodTrans("com.tenwa.app.wechat.WechatCustomerInfoChange","saveChange","basicChangeId="+id+",customerId="+customerId);
|
||||
if("true"==sReturnInfo){
|
||||
alert("变更成功!");
|
||||
$(parent.document).find("div.tab_close")[0].click();
|
||||
return;
|
||||
}
|
||||
alert("变更失败,请联系管理员!");
|
||||
}
|
||||
|
||||
}else if ("refuse"==parameter){
|
||||
var opinions = getItemValue(0,getRow(),"opinions");
|
||||
if(opinions.length<=0){
|
||||
alert("请先填写申请意见!!!");
|
||||
return;
|
||||
}
|
||||
var isopinions = RunJavaMethodTrans("com.tenwa.app.wechat.WechatCustomerInfoChange","isopinions","id="+id+",type=basic");
|
||||
if("success"!=isopinions){
|
||||
alert(isopinions);
|
||||
return;
|
||||
}
|
||||
if(confirm('确实要否決吗?')){
|
||||
var sReturnInfo = RunJavaMethodTrans("com.tenwa.app.wechat.WechatCustomerInfoChange","refuseChange","basicChangeId="+id);
|
||||
if("true"==sReturnInfo){
|
||||
alert("已否决!");
|
||||
$(parent.document).find("div.tab_close")[0].click();
|
||||
return;
|
||||
}
|
||||
alert("否决失败,请联系管理员!");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
@ -4804,6 +4804,108 @@
|
||||
</managerProperties>
|
||||
</manager>
|
||||
</class>
|
||||
<class name="WECHAT_BASIC_CHANGE" label="微信提交客户基本信息变更表" keyAttributes="ID">
|
||||
<attributes>
|
||||
<attribute name="ID" label="标识" type="STRING" length="32"/>
|
||||
<attribute name="openid" label="微信标识" type="STRING" length="32"/>
|
||||
<attribute name="CUSTOMER_ID" label="承租人编号" type="STRING" length="32"/>
|
||||
<attribute name="name" label="姓名" type="STRING" length="32"/>
|
||||
<attribute name="certid" label="证件号" type="STRING" length="32"/>
|
||||
<attribute name="btel" label="修改前手机号" type="STRING" length="20"/>
|
||||
<attribute name="bWORKADD" label="修改前工作单位地址" type="STRING" length="200"/>
|
||||
<attribute name="bworkname" label="修改前工作名称" type="STRING" length="200"/>
|
||||
<attribute name="bFULLADDRESS" label="修改前居住地址" type="STRING" length="200"/>
|
||||
<attribute name="atel" label="修改后手机号" type="STRING" length="20"/>
|
||||
<attribute name="aWORKADD" label="修改后工作单位地址" type="STRING" length="200"/>
|
||||
<attribute name="aworkname" label="修改后工作名称" type="STRING" length="200"/>
|
||||
<attribute name="aFULLADDRESS" label="修改后居住地址" type="STRING" length="200"/>
|
||||
<attribute name="applytype" label="申请类型" type="STRING" length="15"/>
|
||||
<attribute name="opinions" label="审批意见" type="STRING" length="500"/>
|
||||
<attribute name="status" label="审批状态" type="STRING" length="10"/>
|
||||
<attribute name="opinionsuserid" label="审批人" type="STRING" length="32"/>
|
||||
<attribute name="messgeId" label="业务提醒id" 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"/>
|
||||
</attributes>
|
||||
<manager>
|
||||
<managerProperties>
|
||||
<property name="table" value="wechat_basic_change" />
|
||||
<property name="createKey" value="true" />
|
||||
</managerProperties>
|
||||
</manager>
|
||||
</class>
|
||||
|
||||
<class name="WECHAT_BANKNUMBER_CHANGE" label="微信提交扣款卡变更表" keyAttributes="ID">
|
||||
<attributes>
|
||||
<attribute name="ID" label="标识" type="STRING" length="32"/>
|
||||
<attribute name="openid" label="微信标识" type="STRING" length="32"/>
|
||||
<attribute name="contract_no" label="合同编号" type="STRING" length="32"/>
|
||||
<attribute name="name" label="客户姓名" type="STRING" length="32"/>
|
||||
<attribute name="tel" label="客户电话" type="STRING" length="32"/>
|
||||
<attribute name="contract_id" label="合同ID" type="STRING" length="32"/>
|
||||
<attribute name="bbankaccount" label="修改前客户名称" type="STRING" length="50"/>
|
||||
<attribute name="bbanknumber" label="修改前银行账号" type="STRING" length="20"/>
|
||||
<attribute name="bbankname" label="修改前银行名称" type="STRING" length="100"/>
|
||||
<attribute name="bbanktel" label="修改前预留手机号" type="STRING" length="20"/>
|
||||
<attribute name="abankaccount" label="修改后客户名称" type="STRING" length="50"/>
|
||||
<attribute name="abanknumber" label="修改后银行账号" type="STRING" length="40"/>
|
||||
<attribute name="abankname" label="修改后银行名称" type="STRING" length="100"/>
|
||||
<attribute name="abanktel" label="修改后预留手机号" type="STRING" length="20"/>
|
||||
<attribute name="applytype" label="申请类型" type="STRING" length="15"/>
|
||||
<attribute name="opinions" label="审批意见" type="STRING" length="500"/>
|
||||
<attribute name="STATUS" label="审批状态" type="STRING" length="10"/>
|
||||
<attribute name="opinionsuserid" label="审批人" type="STRING" length="32"/>
|
||||
<attribute name="messgeId" label="业务提醒id" type="STRING" length="32"/>
|
||||
<attribute name="flowStatus" label="合同状态" type="STRING" length="10"/>
|
||||
<attribute name="flowUnid" label="流程id" 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"/>
|
||||
</attributes>
|
||||
<manager>
|
||||
<managerProperties>
|
||||
<property name="table" value="wechat_banknumber_change" />
|
||||
<property name="createKey" value="true" />
|
||||
</managerProperties>
|
||||
</manager>
|
||||
</class>
|
||||
<class name="WECHAT_ADVANCE_SETTLE" label="微信提交提前结清表" keyAttributes="ID">
|
||||
<attributes>
|
||||
<attribute name="ID" label="标识" type="STRING" length="32"/>
|
||||
<attribute name="openid" label="微信标识" type="STRING" length="32"/>
|
||||
<attribute name="contract_no" label="合同编号" type="STRING" length="32"/>
|
||||
<attribute name="NAME" label="客户姓名" type="STRING" length="32"/>
|
||||
<attribute name="tel" label="客户电话" type="STRING" length="32"/>
|
||||
<attribute name="advanceDate" label="约定终止日" type="STRING" length="32"/>
|
||||
<attribute name="applytype" label="申请类型" type="STRING" length="15"/>
|
||||
<attribute name="opinions" label="审批意见" type="STRING" length="500"/>
|
||||
<attribute name="STATUS" label="审批状态" type="STRING" length="10"/>
|
||||
<attribute name="opinionsuserid" label="审批人" type="STRING" length="32"/>
|
||||
<attribute name="messgeId" label="业务提醒id" type="STRING" length="32"/>
|
||||
<attribute name="flowStatus" label="合同状态" type="STRING" length="10"/>
|
||||
<attribute name="flowUnid" label="流程id" 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"/>
|
||||
</attributes>
|
||||
<manager>
|
||||
<managerProperties>
|
||||
<property name="table" value="wechat_advance_settle" />
|
||||
<property name="createKey" value="true" />
|
||||
</managerProperties>
|
||||
</manager>
|
||||
</class>
|
||||
|
||||
</package>
|
||||
<package name="jbo.guaranty">
|
||||
<class name="GUARANTY_CONTRACT" label="担保合同信息" keyAttributes="SERIALNO">
|
||||
|
||||
46
calc/com/tenwa/flow/ChangeWechatSubmitFlow.java
Normal file
46
calc/com/tenwa/flow/ChangeWechatSubmitFlow.java
Normal file
@ -0,0 +1,46 @@
|
||||
package com.tenwa.flow;
|
||||
|
||||
import jbo.app.WECHAT_ADVANCE_SETTLE;
|
||||
import jbo.app.WECHAT_BANKNUMBER_CHANGE;
|
||||
import jbo.com.tenwa.lease.comm.LB_CONTRACT_INFO;
|
||||
|
||||
import com.amarsoft.are.jbo.BizObject;
|
||||
import com.amarsoft.are.jbo.BizObjectManager;
|
||||
import com.amarsoft.are.jbo.JBOFactory;
|
||||
import com.amarsoft.awe.util.Transaction;
|
||||
import com.tenwa.flow.baseBussion.BaseBussiness;
|
||||
|
||||
/*
|
||||
* 修改微信公众号提交修改信息状态
|
||||
*/
|
||||
public class ChangeWechatSubmitFlow extends BaseBussiness{
|
||||
|
||||
@Override
|
||||
public Object run(Transaction Sqlca) throws Exception {
|
||||
this.initBussinessParam(Sqlca);
|
||||
String flowunid = this.getAttribute("ObjectNo").toString();
|
||||
String flowName = this.getAttribute("FlowName").toString();
|
||||
String ContractId = this.getAttribute("ContractId").toString();
|
||||
BizObjectManager lciMange = JBOFactory.getBizObjectManager(LB_CONTRACT_INFO.CLASS_NAME,Sqlca);
|
||||
BizObject lci = lciMange.createQuery("id=:id").setParameter("id", ContractId).getSingleResult(false);
|
||||
String contractNo = lci.getAttribute("contract_no").toString();
|
||||
if("扣款信息变更审核".equals(flowName)){
|
||||
BizObjectManager wbcMange = JBOFactory.getBizObjectManager(WECHAT_BANKNUMBER_CHANGE.CLASS_NAME,Sqlca);
|
||||
BizObject wbc = wbcMange.createQuery("contract_no=:contractNo and STATUS='处理中' " ).setParameter("contractNo", contractNo).getSingleResult(true);
|
||||
if(wbc != null){
|
||||
wbc.setAttributeValue("flowUnid", flowunid);
|
||||
wbc.setAttributeValue("flowStatus", "已提交");
|
||||
wbcMange.saveObject(wbc);
|
||||
}
|
||||
}else if ("提前结清".equals(flowName)){
|
||||
BizObjectManager wasMange = JBOFactory.getBizObjectManager(WECHAT_ADVANCE_SETTLE.CLASS_NAME,Sqlca);
|
||||
BizObject wbc = wasMange.createQuery("contract_no=:contractNo and (STATUS='处理中' or STATUS='已受理' ) " ).setParameter("contractNo", contractNo).getSingleResult(true);
|
||||
if(wbc != null){
|
||||
wbc.setAttributeValue("flowUnid", flowunid);
|
||||
wbc.setAttributeValue("flowStatus", "已提交");
|
||||
wasMange.saveObject(wbc);
|
||||
}
|
||||
}
|
||||
return "true";
|
||||
}
|
||||
}
|
||||
85
calc/com/tenwa/flow/ChangeWechatSubmitStatus.java
Normal file
85
calc/com/tenwa/flow/ChangeWechatSubmitStatus.java
Normal file
@ -0,0 +1,85 @@
|
||||
package com.tenwa.flow;
|
||||
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
|
||||
import jbo.app.WECHAT_ADVANCE_SETTLE;
|
||||
import jbo.app.WECHAT_BANKNUMBER_CHANGE;
|
||||
import jbo.com.tenwa.entity.comm.message.BT_BUSSINESS_MESSAGE;
|
||||
import jbo.com.tenwa.lease.comm.LB_CONTRACT_INFO;
|
||||
import jbo.sys.FLOW_OPINION;
|
||||
import jbo.sys.FLOW_TASK;
|
||||
|
||||
import com.amarsoft.are.jbo.BizObject;
|
||||
import com.amarsoft.are.jbo.BizObjectManager;
|
||||
import com.amarsoft.are.jbo.JBOFactory;
|
||||
import com.amarsoft.awe.util.Transaction;
|
||||
import com.tenwa.flow.baseBussion.BaseBussiness;
|
||||
|
||||
/*
|
||||
* 修改微信公众号提交修改信息状态
|
||||
*/
|
||||
public class ChangeWechatSubmitStatus extends BaseBussiness{
|
||||
|
||||
@Override
|
||||
public Object run(Transaction Sqlca) throws Exception {
|
||||
this.initBussinessParam(Sqlca);
|
||||
String flowunid = this.getAttribute("ObjectNo").toString();
|
||||
String flowName = this.getAttribute("FlowName").toString();
|
||||
BizObjectManager ftManage = JBOFactory.getBizObjectManager(FLOW_TASK.CLASS_NAME,Sqlca);
|
||||
BizObjectManager foManager = JBOFactory.getBizObjectManager(FLOW_OPINION.CLASS_NAME,Sqlca);
|
||||
BizObjectManager bumManager = JBOFactory.getBizObjectManager(BT_BUSSINESS_MESSAGE.CLASS_NAME,Sqlca);
|
||||
|
||||
Date date1 = new Date() ; //获取系统时间
|
||||
SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss"); //日期格式
|
||||
String date = sdf.format(date1); //将系统时间转换成上方指定类型
|
||||
if("扣款信息变更审核".equals(flowName)){
|
||||
BizObject ft = ftManage.createQuery(" objectno=:flowunid and phaseno='0010' ").setParameter("flowunid", flowunid).getSingleResult(false);
|
||||
BizObject fo = foManager.createQuery(" SerialNo=:SerialNo ").setParameter("SerialNo", ft == null ? "" : ft.getAttribute("SerialNo").toString()).getSingleResult(false);
|
||||
BizObjectManager wbcMange = JBOFactory.getBizObjectManager(WECHAT_BANKNUMBER_CHANGE.CLASS_NAME,Sqlca);
|
||||
BizObject wbc = wbcMange.createQuery("flowUnid=:flowUnid " ).setParameter("flowUnid", flowunid).getSingleResult(true);
|
||||
if(wbc != null){
|
||||
wbc.setAttributeValue("STATUS", "通过");
|
||||
wbc.setAttributeValue("flowStatus", "通过");
|
||||
wbc.setAttributeValue("UPDATETIME", date);
|
||||
|
||||
wbc.setAttributeValue("opinions", fo == null ? "" : fo.getAttribute("phaseopinion"));
|
||||
wbcMange.saveObject(wbc);
|
||||
BizObject bum = bumManager.createQuery(" id=:id").setParameter("id", wbc.getAttribute("messgeId").toString()).getSingleResult(true);
|
||||
if(bum != null ){
|
||||
bum.setAttributeValue("message_status", "has_process");
|
||||
bum.setAttributeValue("is_read", "has_read");
|
||||
bum.setAttributeValue("finish_time", date);
|
||||
bum.setAttributeValue("read_time", date);
|
||||
bumManager.saveObject(bum);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}else if ("提前结清".equals(flowName)){
|
||||
BizObject ft = ftManage.createQuery(" objectno=:flowunid and phaseno='0030' ").setParameter("flowunid", flowunid).getSingleResult(false);
|
||||
BizObject fo = foManager.createQuery(" SerialNo=:SerialNo ").setParameter("SerialNo", ft == null ? "" : ft.getAttribute("SerialNo").toString()).getSingleResult(false);
|
||||
|
||||
BizObjectManager wasMange = JBOFactory.getBizObjectManager(WECHAT_ADVANCE_SETTLE.CLASS_NAME,Sqlca);
|
||||
BizObject was = wasMange.createQuery(" flowUnid=:flowUnid " ).setParameter("flowUnid", flowunid).getSingleResult(true);
|
||||
if(was != null){
|
||||
was.setAttributeValue("STATUS", "通过");
|
||||
was.setAttributeValue("flowStatus", "通过");
|
||||
was.setAttributeValue("opinions", fo == null ? "" : fo.getAttribute("phaseopinion"));
|
||||
was.setAttributeValue("UPDATETIME", date);
|
||||
|
||||
wasMange.saveObject(was);
|
||||
BizObject bum = bumManager.createQuery(" id=:id").setParameter("id", was.getAttribute("messgeId").toString()).getSingleResult(true);
|
||||
if(bum != null ){
|
||||
bum.setAttributeValue("message_status", "has_process");
|
||||
bum.setAttributeValue("is_read", "has_read");
|
||||
bum.setAttributeValue("finish_time", date);
|
||||
bum.setAttributeValue("read_time", date);
|
||||
bumManager.saveObject(bum);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
return "true";
|
||||
}
|
||||
}
|
||||
96
calc/com/tenwa/flow/ChangeWechatSubmitStatusVeto.java
Normal file
96
calc/com/tenwa/flow/ChangeWechatSubmitStatusVeto.java
Normal file
@ -0,0 +1,96 @@
|
||||
package com.tenwa.flow;
|
||||
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import jbo.app.WECHAT_ADVANCE_SETTLE;
|
||||
import jbo.app.WECHAT_BANKNUMBER_CHANGE;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_ACCOUNT;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_ACCOUNT_HIS;
|
||||
import jbo.com.tenwa.entity.comm.message.BT_BUSSINESS_MESSAGE;
|
||||
import jbo.com.tenwa.lease.comm.LB_CONTRACT_INFO;
|
||||
import jbo.com.tenwa.lease.comm.LB_UNION_LESSEE;
|
||||
import jbo.com.tenwa.lease.comm.LB_UNION_LESSEE_TEMP;
|
||||
import jbo.sys.FLOW_OPINION;
|
||||
import jbo.sys.FLOW_TASK;
|
||||
|
||||
import com.amarsoft.are.jbo.BizObject;
|
||||
import com.amarsoft.are.jbo.BizObjectManager;
|
||||
import com.amarsoft.are.jbo.JBOFactory;
|
||||
import com.amarsoft.awe.util.Transaction;
|
||||
import com.tenwa.comm.util.jboutil.DataOperatorUtil;
|
||||
import com.tenwa.flow.baseBussion.BaseBussiness;
|
||||
|
||||
/*
|
||||
* 修改微信公众号提交修改信息状态
|
||||
*/
|
||||
public class ChangeWechatSubmitStatusVeto extends BaseBussiness{
|
||||
|
||||
@Override
|
||||
public Object run(Transaction Sqlca) throws Exception {
|
||||
this.initBussinessParam(Sqlca);
|
||||
String flowunid = this.getAttribute("ObjectNo").toString();
|
||||
String flowName = this.getAttribute("FlowName").toString();
|
||||
String ProjectId = this.getAttribute("ProjectId").toString();
|
||||
BizObjectManager ftManage = JBOFactory.getBizObjectManager(FLOW_TASK.CLASS_NAME,Sqlca);
|
||||
BizObjectManager foManager = JBOFactory.getBizObjectManager(FLOW_OPINION.CLASS_NAME,Sqlca);
|
||||
BizObjectManager bumManager = JBOFactory.getBizObjectManager(BT_BUSSINESS_MESSAGE.CLASS_NAME,Sqlca);
|
||||
|
||||
Date date1 = new Date() ; //获取系统时间
|
||||
SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss"); //日期格式
|
||||
String date = sdf.format(date1); //将系统时间转换成上方指定类型
|
||||
|
||||
if("扣款信息变更审核".equals(flowName)){
|
||||
BizObject ft = ftManage.createQuery(" objectno=:flowunid and phaseno='0010' ").setParameter("flowunid", flowunid).getSingleResult(false);
|
||||
BizObject fo = foManager.createQuery(" SerialNo=:SerialNo ").setParameter("SerialNo", ft == null ? "" : ft.getAttribute("SerialNo").toString()).getSingleResult(false);
|
||||
BizObjectManager wbcMange = JBOFactory.getBizObjectManager(WECHAT_BANKNUMBER_CHANGE.CLASS_NAME,Sqlca);
|
||||
BizObject wbc = wbcMange.createQuery("flowUnid=:flowUnid " ).setParameter("flowUnid", flowunid).getSingleResult(true);
|
||||
if(wbc != null){
|
||||
wbc.setAttributeValue("STATUS", "否决");
|
||||
wbc.setAttributeValue("flowStatus", "否决");
|
||||
wbc.setAttributeValue("opinions", fo == null ? "" : fo.getAttribute("phaseopinion"));
|
||||
wbc.setAttributeValue("UPDATETIME", date);
|
||||
wbcMange.saveObject(wbc);
|
||||
BizObject bum = bumManager.createQuery(" id=:id").setParameter("id", wbc.getAttribute("messgeId").toString()).getSingleResult(true);
|
||||
if(bum != null ){
|
||||
bum.setAttributeValue("message_status", "has_process");
|
||||
bum.setAttributeValue("is_read", "has_read");
|
||||
bum.setAttributeValue("finish_time", date);
|
||||
bum.setAttributeValue("read_time", date);
|
||||
bumManager.saveObject(bum);
|
||||
}
|
||||
}
|
||||
|
||||
Map<String,String>fromCondtion=new HashMap<String, String>();
|
||||
fromCondtion.put("flowunid", flowunid);
|
||||
Map<String,String> otherProperty = new HashMap<String, String>();
|
||||
otherProperty.put("Project_Id", ProjectId);
|
||||
DataOperatorUtil.copySingleJBO(CUSTOMER_ACCOUNT_HIS.CLASS_NAME, fromCondtion, CUSTOMER_ACCOUNT.CLASS_NAME, otherProperty, null, Sqlca);
|
||||
}else if ("提前结清".equals(flowName)){
|
||||
BizObject ft = ftManage.createQuery(" objectno=:flowunid and phaseno='0030' ").setParameter("flowunid", flowunid).getSingleResult(false);
|
||||
BizObject fo = foManager.createQuery(" SerialNo=:SerialNo ").setParameter("SerialNo", ft == null ? "" : ft.getAttribute("SerialNo").toString()).getSingleResult(false);
|
||||
|
||||
|
||||
BizObjectManager wasMange = JBOFactory.getBizObjectManager(WECHAT_ADVANCE_SETTLE.CLASS_NAME,Sqlca);
|
||||
BizObject was = wasMange.createQuery(" flowUnid=:flowUnid " ).setParameter("flowUnid", flowunid).getSingleResult(true);
|
||||
if(was != null){
|
||||
was.setAttributeValue("STATUS", "否决");
|
||||
was.setAttributeValue("flowStatus", "否决");
|
||||
was.setAttributeValue("opinions", fo == null ? "" : fo.getAttribute("phaseopinion"));
|
||||
was.setAttributeValue("UPDATETIME", date);
|
||||
wasMange.saveObject(was);
|
||||
BizObject bum = bumManager.createQuery(" id=:id").setParameter("id", was.getAttribute("messgeId").toString()).getSingleResult(true);
|
||||
if(bum != null ){
|
||||
bum.setAttributeValue("message_status", "has_process");
|
||||
bum.setAttributeValue("is_read", "has_read");
|
||||
bum.setAttributeValue("finish_time", date);
|
||||
bum.setAttributeValue("read_time", date);
|
||||
bumManager.saveObject(bum);
|
||||
}
|
||||
}
|
||||
}
|
||||
return "true";
|
||||
}
|
||||
}
|
||||
312
src/com/tenwa/app/wechat/WechatCustomerInfoChange.java
Normal file
312
src/com/tenwa/app/wechat/WechatCustomerInfoChange.java
Normal file
@ -0,0 +1,312 @@
|
||||
package com.tenwa.app.wechat;
|
||||
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
|
||||
import jbo.app.WECHAT_ADVANCE_SETTLE;
|
||||
import jbo.app.WECHAT_BANKNUMBER_CHANGE;
|
||||
import jbo.app.WECHAT_BASIC_CHANGE;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_ADDRESS;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_PERSON;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_PERSON_TEMP;
|
||||
import jbo.com.tenwa.entity.comm.message.BT_BUSSINESS_MESSAGE;
|
||||
|
||||
import com.amarsoft.are.jbo.BizObject;
|
||||
import com.amarsoft.are.jbo.BizObjectManager;
|
||||
import com.amarsoft.are.jbo.JBOException;
|
||||
import com.amarsoft.are.jbo.JBOFactory;
|
||||
import com.amarsoft.are.jbo.JBOTransaction;
|
||||
|
||||
public class WechatCustomerInfoChange {
|
||||
private String basicChangeId;
|
||||
private String customerId;
|
||||
private String id;
|
||||
private String type;
|
||||
|
||||
|
||||
public String getBasicChangeId() {
|
||||
return basicChangeId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setBasicChangeId(String basicChangeId) {
|
||||
this.basicChangeId = basicChangeId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public String getCustomerId() {
|
||||
return customerId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setCustomerId(String customerId) {
|
||||
this.customerId = customerId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public String saveChange(JBOTransaction tx) {
|
||||
try {
|
||||
String date = this.getNewData("yyyy/MM/dd HH:mm:ss");
|
||||
BizObjectManager wbcMange = JBOFactory.getBizObjectManager(WECHAT_BASIC_CHANGE.CLASS_NAME, tx);
|
||||
BizObject wbc = wbcMange.createQuery(" id=:id ").setParameter("id", basicChangeId).getSingleResult(true);
|
||||
wbc.setAttributeValue("status", "通过");
|
||||
wbc.setAttributeValue("UPDATETIME", date);
|
||||
|
||||
wbcMange.saveObject(wbc);
|
||||
|
||||
BizObjectManager cpMange = JBOFactory.getBizObjectManager(CUSTOMER_PERSON.CLASS_NAME, tx);
|
||||
BizObjectManager caMange = JBOFactory.getBizObjectManager(CUSTOMER_ADDRESS.CLASS_NAME, tx);
|
||||
BizObject cp = cpMange.createQuery("customerid=:customerid ").setParameter("customerid", customerId).getSingleResult(true);
|
||||
BizObject ca = caMange.createQuery("customerid=:customerid ").setParameter("customerid", customerId).getSingleResult(true);
|
||||
cp.setAttributeValue("mobile", wbc.getAttribute("atel").toString());
|
||||
cp.setAttributeValue("WORKADD", wbc.getAttribute("aWORKADD").toString());
|
||||
cp.setAttributeValue("WORKCORP", wbc.getAttribute("aworkname").toString());
|
||||
cpMange.saveObject(cp);
|
||||
ca.setAttributeValue("FULLADDRESS", wbc.getAttribute("aFULLADDRESS").toString());
|
||||
caMange.saveObject(ca);
|
||||
|
||||
BizObjectManager bbmMange = JBOFactory.getBizObjectManager(BT_BUSSINESS_MESSAGE.CLASS_NAME, tx);
|
||||
BizObject bbm = bbmMange.createQuery(" id=:id ").setParameter("id", wbc.getAttribute("MESSGEID").toString()).getSingleResult(true);
|
||||
bbm.setAttributeValue("message_status", "has_process");
|
||||
bbm.setAttributeValue("is_read", "has_read");
|
||||
bbm.setAttributeValue("finish_time", date);
|
||||
bbm.setAttributeValue("read_time", date);
|
||||
bbmMange.saveObject(bbm);
|
||||
|
||||
return "true";
|
||||
} catch (JBOException e) {
|
||||
e.printStackTrace();
|
||||
return "false";
|
||||
}
|
||||
}
|
||||
|
||||
public String refuseChange(JBOTransaction tx) {
|
||||
try {
|
||||
String date = this.getNewData("yyyy/MM/dd HH:mm:ss");
|
||||
BizObjectManager wbcMange = JBOFactory.getBizObjectManager(WECHAT_BASIC_CHANGE.CLASS_NAME, tx);
|
||||
BizObject wbc = wbcMange.createQuery(" id=:id ").setParameter("id", basicChangeId).getSingleResult(true);
|
||||
wbc.setAttributeValue("status", "否决");
|
||||
wbc.setAttributeValue("UPDATETIME", date);
|
||||
wbcMange.saveObject(wbc);
|
||||
BizObjectManager bbmMange = JBOFactory.getBizObjectManager(BT_BUSSINESS_MESSAGE.CLASS_NAME, tx);
|
||||
BizObject bbm = bbmMange.createQuery(" id=:id ").setParameter("id", wbc.getAttribute("MESSGEID").toString()).getSingleResult(true);
|
||||
bbm.setAttributeValue("message_status", "has_process");
|
||||
bbm.setAttributeValue("is_read", "has_read");
|
||||
bbm.setAttributeValue("finish_time", date);
|
||||
bbm.setAttributeValue("read_time", date);
|
||||
|
||||
bbmMange.saveObject(bbm);
|
||||
|
||||
return "true";
|
||||
} catch (JBOException e) {
|
||||
e.printStackTrace();
|
||||
return "false";
|
||||
}
|
||||
}
|
||||
|
||||
//校验是否已经提交流程
|
||||
public String isSubmit(JBOTransaction tx){
|
||||
try {
|
||||
if("bank".equals(type)){
|
||||
BizObjectManager wbcMange = JBOFactory.getBizObjectManager(WECHAT_BANKNUMBER_CHANGE.CLASS_NAME, tx);
|
||||
BizObject wbc = wbcMange.createQuery(" id=:id and status='处理中' and (flowStatus <> '已提交' or flowStatus is null) ").setParameter("id", id).getSingleResult(false);
|
||||
if(wbc == null ){
|
||||
return "该申请在流程中或者已申请不能进行否决!";
|
||||
}else {
|
||||
return "success";
|
||||
}
|
||||
}else if("advance".equals(type)){
|
||||
BizObjectManager wasMange = JBOFactory.getBizObjectManager(WECHAT_ADVANCE_SETTLE.CLASS_NAME, tx);
|
||||
BizObject was = wasMange.createQuery(" id=:id and status='处理中' and (flowStatus <> '已提交' or flowStatus is null) ").setParameter("id", id).getSingleResult(false);
|
||||
if(was == null ){
|
||||
return "该申请在流程中或者已申请不能进行否决!";
|
||||
}else {
|
||||
return "success";
|
||||
}
|
||||
}
|
||||
return "未查询到对应的类型,请联系管理员!";
|
||||
} catch (JBOException e) {
|
||||
e.printStackTrace();
|
||||
return "系统异常!";
|
||||
}
|
||||
}
|
||||
|
||||
//微信提交不需要走流程直接否决
|
||||
public String vetoSubmit(JBOTransaction tx){
|
||||
try {
|
||||
String date = this.getNewData("yyyy/MM/dd HH:mm:ss");
|
||||
BizObjectManager bbmMange = JBOFactory.getBizObjectManager(BT_BUSSINESS_MESSAGE.CLASS_NAME, tx);
|
||||
if("bank".equals(type)){
|
||||
BizObjectManager wbcMange = JBOFactory.getBizObjectManager(WECHAT_BANKNUMBER_CHANGE.CLASS_NAME, tx);
|
||||
BizObject wbc = wbcMange.createQuery(" id=:id and status='处理中' and (flowStatus <> '已提交' or flowStatus is null) ").setParameter("id", id).getSingleResult(true);
|
||||
if(wbc == null ){
|
||||
return "该申请在流程中或者已申请不能进行否决!";
|
||||
}else {
|
||||
wbc.setAttributeValue("status", "否决");
|
||||
wbc.setAttributeValue("UPDATETIME", date);
|
||||
wbcMange.saveObject(wbc);
|
||||
BizObject bbm = bbmMange.createQuery(" id=:id ").setParameter("id", wbc.getAttribute("messgeId").toString()).getSingleResult(true);
|
||||
if(bbm != null){
|
||||
bbm.setAttributeValue("message_status", "has_process");
|
||||
bbm.setAttributeValue("is_read", "has_read");
|
||||
bbm.setAttributeValue("finish_time", date);
|
||||
bbm.setAttributeValue("read_time", date);
|
||||
bbmMange.saveObject(bbm);
|
||||
}
|
||||
return "success";
|
||||
}
|
||||
}else if("advance".equals(type)){
|
||||
BizObjectManager wasMange = JBOFactory.getBizObjectManager(WECHAT_ADVANCE_SETTLE.CLASS_NAME, tx);
|
||||
BizObject was = wasMange.createQuery(" id=:id and status='处理中' and (flowStatus <> '已提交' or flowStatus is null) ").setParameter("id", id).getSingleResult(true);
|
||||
if(was == null ){
|
||||
return "该申请在流程中或者已申请不能进行否决!";
|
||||
}else {
|
||||
was.setAttributeValue("status", "否决");
|
||||
was.setAttributeValue("UPDATETIME", date);
|
||||
wasMange.saveObject(was);
|
||||
BizObject bbm = bbmMange.createQuery(" id=:id ").setParameter("id", was.getAttribute("messgeId").toString()).getSingleResult(true);
|
||||
if(bbm != null){
|
||||
bbm.setAttributeValue("message_status", "has_process");
|
||||
bbm.setAttributeValue("is_read", "has_read");
|
||||
bbm.setAttributeValue("finish_time", date);
|
||||
bbm.setAttributeValue("read_time", date);
|
||||
bbmMange.saveObject(bbm);
|
||||
}
|
||||
return "success";
|
||||
}
|
||||
}
|
||||
return "未查询到对应的类型,请联系管理员!";
|
||||
} catch (JBOException e) {
|
||||
e.printStackTrace();
|
||||
return "系统异常!";
|
||||
}
|
||||
}
|
||||
|
||||
//校验数据是否已处理
|
||||
public String isProcessed(JBOTransaction tx){
|
||||
try {
|
||||
BizObjectManager wbcMange = JBOFactory.getBizObjectManager(WECHAT_BASIC_CHANGE.CLASS_NAME, tx);
|
||||
BizObject wbc = wbcMange.createQuery(" id=:id and status='处理中' ").setParameter("id", basicChangeId).getSingleResult(false);
|
||||
if(wbc == null ){
|
||||
return "该数据已处理,无法操作!";
|
||||
}else {
|
||||
return "success";
|
||||
}
|
||||
|
||||
} catch (JBOException e) {
|
||||
e.printStackTrace();
|
||||
return "系统异常!";
|
||||
}
|
||||
}
|
||||
|
||||
//校验数据是否已处理
|
||||
public String isSettle(JBOTransaction tx){
|
||||
try {
|
||||
BizObjectManager wasMange = JBOFactory.getBizObjectManager(WECHAT_ADVANCE_SETTLE.CLASS_NAME, tx);
|
||||
BizObject was = wasMange.createQuery(" id=:id and status='处理中' ").setParameter("id", id).getSingleResult(false);
|
||||
if(was == null ){
|
||||
return "该数据已处理,无法操作!";
|
||||
}else {
|
||||
return "success";
|
||||
}
|
||||
|
||||
} catch (JBOException e) {
|
||||
e.printStackTrace();
|
||||
return "系统异常!";
|
||||
}
|
||||
}
|
||||
|
||||
//校验数据是否已处理
|
||||
public String isopinions(JBOTransaction tx){
|
||||
try {
|
||||
String opinions = null;
|
||||
BizObjectManager wbcMange = null;
|
||||
if("basic".equals(type)){
|
||||
wbcMange = JBOFactory.getBizObjectManager(WECHAT_BASIC_CHANGE.CLASS_NAME, tx);
|
||||
}else if("bank".equals(type)){
|
||||
wbcMange = JBOFactory.getBizObjectManager(WECHAT_BANKNUMBER_CHANGE.CLASS_NAME, tx);
|
||||
}else if ("advance".equals(type)){
|
||||
wbcMange = JBOFactory.getBizObjectManager(WECHAT_ADVANCE_SETTLE.CLASS_NAME, tx);
|
||||
}else{
|
||||
return "未查询到指定类型,请联系管理员!";
|
||||
}
|
||||
|
||||
BizObject wbc = wbcMange.createQuery(" id=:id ").setParameter("id", id).getSingleResult(false);
|
||||
opinions = wbc.getAttribute("opinions").toString();
|
||||
if(opinions != null && opinions.length()>0){
|
||||
return "success";
|
||||
}else {
|
||||
return "请先保存审批意见!";
|
||||
}
|
||||
|
||||
} catch (JBOException e) {
|
||||
e.printStackTrace();
|
||||
return "系统异常!";
|
||||
}
|
||||
}
|
||||
//获取指定个格式的当前系统时间
|
||||
public String getNewData(String datetype){
|
||||
Date date1 = new Date() ; //获取系统时间
|
||||
SimpleDateFormat sdf = new SimpleDateFormat(datetype); //日期格式
|
||||
String date = sdf.format(date1); //将系统时间转换成上方指定类型
|
||||
return date;
|
||||
}
|
||||
|
||||
//微信提交不需要走流程直接否决
|
||||
public String SettleSubmit(JBOTransaction tx){
|
||||
try {
|
||||
String date = this.getNewData("yyyy/MM/dd HH:mm:ss");
|
||||
BizObjectManager bbmMange = JBOFactory.getBizObjectManager(BT_BUSSINESS_MESSAGE.CLASS_NAME, tx);
|
||||
|
||||
BizObjectManager wasMange = JBOFactory.getBizObjectManager(WECHAT_ADVANCE_SETTLE.CLASS_NAME, tx);
|
||||
BizObject was = wasMange.createQuery(" id=:id and status='处理中' ").setParameter("id", id).getSingleResult(true);
|
||||
if(was == null ){
|
||||
return "未查询到数据!";
|
||||
}else {
|
||||
was.setAttributeValue("status", "已受理");
|
||||
was.setAttributeValue("UPDATETIME", date);
|
||||
wasMange.saveObject(was);
|
||||
BizObject bbm = bbmMange.createQuery(" id=:id ").setParameter("id", was.getAttribute("messgeId").toString()).getSingleResult(true);
|
||||
if(bbm != null){
|
||||
bbm.setAttributeValue("message_status", "has_process");
|
||||
bbm.setAttributeValue("is_read", "has_read");
|
||||
bbm.setAttributeValue("finish_time", date);
|
||||
bbm.setAttributeValue("read_time", date);
|
||||
bbmMange.saveObject(bbm);
|
||||
}
|
||||
return "success";
|
||||
}
|
||||
} catch (JBOException e) {
|
||||
e.printStackTrace();
|
||||
return "系统异常!";
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -17,6 +17,9 @@ import com.amarsoft.awe.Configure;
|
||||
import com.tenwa.sdk.VO.SDKCheckCallBackVO;
|
||||
import com.tenwa.sdk.VO.SDKCheckCallDetail;
|
||||
import com.tenwa.sdk.VO.SDKCheckCallInfoVO;
|
||||
import com.tenwa.sdk.VO.SDKCheckPayDateBackVO;
|
||||
import com.tenwa.sdk.VO.SDKCheckPayDateDetail;
|
||||
import com.tenwa.sdk.VO.SDKCheckPayDateInfoVO;
|
||||
import com.tenwa.sdk.VO.SDKPayCallBackVO;
|
||||
import com.tenwa.sdk.VO.SDKPayCallDetail;
|
||||
import com.tenwa.sdk.VO.SDKPayCallInfoVO;
|
||||
@ -334,6 +337,183 @@ public class HttpRequest {
|
||||
return vo;
|
||||
}
|
||||
|
||||
public SDKCheckPayDateBackVO sendPayDateRequest(String data) {
|
||||
SDKCheckPayDateBackVO callBack = new SDKCheckPayDateBackVO();
|
||||
SDKCheckPayDateInfoVO info = new SDKCheckPayDateInfoVO();
|
||||
String result = "";
|
||||
try {
|
||||
URL url = new URL(this.ipAddr);
|
||||
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
|
||||
connection.setConnectTimeout(this.timeout);
|
||||
connection.setReadTimeout(this.timeout);
|
||||
connection.setDoOutput(true);
|
||||
connection.setDoInput(true);
|
||||
connection.setUseCaches(false);
|
||||
connection.setInstanceFollowRedirects(true);
|
||||
connection.setRequestMethod("POST");
|
||||
connection.setRequestProperty("Accept", "application/xml");
|
||||
connection.setRequestProperty("Content-Type", "application/xml");
|
||||
connection.connect();
|
||||
OutputStreamWriter out = new OutputStreamWriter(connection.getOutputStream(), "GBK");
|
||||
out.append(data);
|
||||
out.flush();
|
||||
out.close();
|
||||
|
||||
int code = connection.getResponseCode();
|
||||
InputStream is = null;
|
||||
if (code == 200) {
|
||||
is = connection.getInputStream();
|
||||
} else {
|
||||
is = connection.getErrorStream();
|
||||
}
|
||||
|
||||
int length = (int) connection.getContentLength();
|
||||
if (length != -1) {
|
||||
byte[] datas = new byte[length];
|
||||
byte[] temp = new byte[512];
|
||||
int readLen = 0;
|
||||
int destPos = 0;
|
||||
while ((readLen = is.read(temp)) > 0) {
|
||||
System.arraycopy(temp, 0, datas, destPos, readLen);
|
||||
destPos += readLen;
|
||||
}
|
||||
result = new String(datas, "GBK");
|
||||
}
|
||||
is.close();
|
||||
System.out.println("----");
|
||||
System.out.println(result);
|
||||
System.out.println("----");
|
||||
} catch (MalformedURLException e) {
|
||||
info.setSTATUS(-1);
|
||||
info.setERRMSG("URL协议、格式或者路径错误");
|
||||
} catch (UnsupportedEncodingException e) {
|
||||
info.setSTATUS(-1);
|
||||
info.setERRMSG("字符编码有问题");
|
||||
} catch (ProtocolException e) {
|
||||
info.setSTATUS(-1);
|
||||
info.setERRMSG("协议异常");
|
||||
} catch (IOException e) {
|
||||
info.setSTATUS(-1);
|
||||
info.setERRMSG("响应超时");
|
||||
}
|
||||
|
||||
if (info.getSTATUS() != -1) {
|
||||
info.setSTATUS(1);
|
||||
info.setXML(result);
|
||||
}
|
||||
callBack.setInfo(info);
|
||||
return toCheckPayDate(callBack);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@SuppressWarnings({ "rawtypes", "unchecked" })
|
||||
private SDKCheckPayDateBackVO toCheckPayDate(SDKCheckPayDateBackVO vo) {
|
||||
if (vo.getInfo().getSTATUS() != -1) {
|
||||
SDKCheckPayDateInfoVO info = vo.getInfo();
|
||||
String result = vo.getInfo().getXML();
|
||||
if (result != null && result.length() > 0) {
|
||||
XmlPacket pktRsp = XmlPacket.valueOf(result);
|
||||
if (pktRsp != null) {
|
||||
String sRetCod = pktRsp.getRETCOD();
|
||||
String sFunnam = pktRsp.getFUNNAM();
|
||||
String sDattpy = pktRsp.getDATTYP();
|
||||
String sErrmsg = pktRsp.getERRMSG();
|
||||
|
||||
info.setRETCOD(sRetCod);
|
||||
info.setFUNNAM(sFunnam);
|
||||
info.setDATTYP(sDattpy);
|
||||
Vector<Map> vec = null ;
|
||||
if (sRetCod.equals("0")) {
|
||||
vec = pktRsp.getProperty("NTQTSINFZ");
|
||||
if(vec!=null && vec.size()>0) {
|
||||
List<SDKCheckPayDateDetail> details = new ArrayList<SDKCheckPayDateDetail>();
|
||||
|
||||
for (Map propPayResult : vec) {
|
||||
SDKCheckPayDateDetail detail_one = new SDKCheckPayDateDetail();
|
||||
String ETYDAT = (String) propPayResult.get("ETYDAT");
|
||||
String ETYTIM = (String) propPayResult.get("ETYTIM");
|
||||
String VLTDAT = (String) propPayResult.get("VLTDAT");
|
||||
String TRSCOD = (String) propPayResult.get("TRSCOD");
|
||||
String NARYUR = (String) propPayResult.get("NARYUR");
|
||||
String TRSAMTD = (String) propPayResult.get("TRSAMTD");
|
||||
String TRSAMTC = (String) propPayResult.get("TRSAMTC");
|
||||
String AMTCDR = (String) propPayResult.get("AMTCDR");
|
||||
String TRSBLV = (String) propPayResult.get("TRSBLV");
|
||||
String REFNBR = (String) propPayResult.get("REFNBR");
|
||||
String REQNBR = (String) propPayResult.get("REQNBR");
|
||||
String BUSNAM = (String) propPayResult.get("BUSNAM");
|
||||
String NUSAGE = (String) propPayResult.get("NUSAGE");
|
||||
String YURREF = (String) propPayResult.get("YURREF");
|
||||
String BUSNAR = (String) propPayResult.get("BUSNAR");
|
||||
String OTRNAR = (String) propPayResult.get("OTRNAR");
|
||||
String C_RPYBBK = (String) propPayResult.get("C_RPYBBK");
|
||||
String RPYNAM = (String) propPayResult.get("RPYNAM");
|
||||
String RPYACC = (String) propPayResult.get("RPYACC");
|
||||
String RPYBBN = (String) propPayResult.get("RPYBBN");
|
||||
String RPYBNK = (String) propPayResult.get("RPYBNK");
|
||||
String RPYADR = (String) propPayResult.get("RPYADR");
|
||||
String C_GSBBBK = (String) propPayResult.get("C_GSBBBK");
|
||||
String GSBACC = (String) propPayResult.get("GSBACC");
|
||||
String GSBNAM = (String) propPayResult.get("GSBNAM");
|
||||
String INFFLG = (String) propPayResult.get("INFFLG");
|
||||
String ATHFLG = (String) propPayResult.get("ATHFLG");
|
||||
String CHKNBR = (String) propPayResult.get("CHKNBR");
|
||||
String RSVFLG = (String) propPayResult.get("RSVFLG");
|
||||
String NAREXT = (String) propPayResult.get("NAREXT");
|
||||
String TRSANL = (String) propPayResult.get("TRSANL");
|
||||
String REFSUB = (String) propPayResult.get("REFSUB");
|
||||
String FRMCOD = (String) propPayResult.get("FRMCOD");
|
||||
|
||||
detail_one.setETYDAT(ETYDAT);
|
||||
detail_one.setETYTIM(ETYTIM);
|
||||
detail_one.setVLTDAT(VLTDAT);
|
||||
detail_one.setTRSCOD(TRSCOD);
|
||||
detail_one.setNARYUR(NARYUR);
|
||||
detail_one.setTRSAMTD(TRSAMTD);
|
||||
detail_one.setTRSAMTC(TRSAMTC);
|
||||
detail_one.setAMTCDR(AMTCDR);
|
||||
detail_one.setTRSBLV(TRSBLV);
|
||||
detail_one.setREFNBR(REFNBR);
|
||||
detail_one.setREQNBR(REQNBR);
|
||||
detail_one.setBUSNAM(BUSNAM);
|
||||
detail_one.setNUSAGE(NUSAGE);
|
||||
detail_one.setYURREF(YURREF);
|
||||
detail_one.setBUSNAR(BUSNAR);
|
||||
detail_one.setOTRNAR(OTRNAR);
|
||||
detail_one.setC_RPYBBK(C_RPYBBK);
|
||||
detail_one.setRPYNAM(RPYNAM);
|
||||
detail_one.setRPYACC(RPYACC);
|
||||
detail_one.setRPYBBN(RPYBBN);
|
||||
detail_one.setRPYBNK(RPYBNK);
|
||||
detail_one.setRPYADR(RPYADR);
|
||||
detail_one.setGSBACC(GSBACC);
|
||||
detail_one.setGSBNAM(GSBNAM);
|
||||
detail_one.setINFFLG(INFFLG);
|
||||
detail_one.setATHFLG(ATHFLG);
|
||||
detail_one.setCHKNBR(CHKNBR);
|
||||
detail_one.setNAREXT(NAREXT);
|
||||
detail_one.setTRSANL(TRSANL);
|
||||
detail_one.setREFSUB(REFSUB);
|
||||
detail_one.setFRMCOD(FRMCOD);
|
||||
|
||||
details.add(detail_one);
|
||||
}
|
||||
vo.setDetails(details);
|
||||
}
|
||||
} else if (sRetCod.equals("-9")) {
|
||||
info.setERRMSG("支付未知异常,请查询支付结果确认支付状态,错误信息:" + sErrmsg);
|
||||
} else {
|
||||
info.setERRMSG("支付失败:" + sErrmsg);
|
||||
}
|
||||
} else {
|
||||
info.setERRMSG("响应报文解析失败");
|
||||
}
|
||||
}
|
||||
vo.setInfo(info);
|
||||
}
|
||||
return vo;
|
||||
}
|
||||
|
||||
}
|
||||
193
src_sql/tft_20191228.sql
Normal file
193
src_sql/tft_20191228.sql
Normal file
@ -0,0 +1,193 @@
|
||||
-- 创建微信变更表
|
||||
CREATE TABLE wechat_basic_change (
|
||||
ID VARCHAR(32) NOT NULL COMMENT '标识',
|
||||
openid VARCHAR(32) DEFAULT NULL COMMENT '微信标识',
|
||||
CUSTOMER_ID VARCHAR(32) DEFAULT NULL COMMENT '承租人编号',
|
||||
NAME VARCHAR(32) DEFAULT NULL COMMENT '姓名',
|
||||
certid VARCHAR(32) DEFAULT NULL COMMENT '证件号',
|
||||
btel VARCHAR(20) DEFAULT NULL COMMENT '修改前手机号',
|
||||
bWORKADD VARCHAR(200) DEFAULT NULL COMMENT '修改前工作单位地址',
|
||||
bworkname VARCHAR(200) DEFAULT NULL COMMENT '修改前工作名称',
|
||||
bFULLADDRESS VARCHAR(200) DEFAULT NULL COMMENT '修改前居住地址',
|
||||
atel VARCHAR(20) DEFAULT NULL COMMENT '修改后手机号',
|
||||
aWORKADD VARCHAR(200) DEFAULT NULL COMMENT '修改后工作单位地址',
|
||||
aworkname VARCHAR(200) DEFAULT NULL COMMENT '修改后工作名称',
|
||||
aFULLADDRESS VARCHAR(200) DEFAULT NULL COMMENT '修改后居住地址',
|
||||
applytype VARCHAR(15) DEFAULT NULL COMMENT '申请类型',
|
||||
opinions VARCHAR(500) DEFAULT NULL COMMENT '审批意见',
|
||||
STATUS VARCHAR(10) DEFAULT NULL COMMENT '审批状态',
|
||||
opinionsuserid VARCHAR(32) DEFAULT NULL COMMENT '审批人',
|
||||
messgeId VARCHAR(32) DEFAULT NULL COMMENT '业务提醒id',
|
||||
INPUTUSERID VARCHAR(32) DEFAULT NULL COMMENT '登记人',
|
||||
INPUTORGID VARCHAR(32) DEFAULT NULL COMMENT '登记部门',
|
||||
INPUTTIME VARCHAR(32) DEFAULT NULL COMMENT '登记时间',
|
||||
UPDATEUSERID VARCHAR(32) DEFAULT NULL COMMENT '更新人',
|
||||
UPDATEORGID VARCHAR(32) DEFAULT NULL COMMENT '更新部门',
|
||||
UPDATETIME VARCHAR(32) DEFAULT NULL COMMENT '更新时间',
|
||||
PRIMARY KEY (ID)
|
||||
) ENGINE=INNODB DEFAULT CHARSET=gbk COMMENT='微信个人基本信息修改表';
|
||||
|
||||
CREATE TABLE wechat_banknumber_change (
|
||||
ID VARCHAR(32) NOT NULL COMMENT '标识',
|
||||
openid VARCHAR(32) DEFAULT NULL COMMENT '微信标识',
|
||||
contract_no VARCHAR(32) DEFAULT NULL COMMENT '合同编号',
|
||||
NAME VARCHAR(32) DEFAULT NULL COMMENT '客户姓名',
|
||||
tel VARCHAR(32) DEFAULT NULL COMMENT '客户电话',
|
||||
contract_id VARCHAR(32) DEFAULT NULL COMMENT '合同ID',
|
||||
bbankaccount VARCHAR(50) DEFAULT NULL COMMENT '修改前客户名称',
|
||||
bbanknumber VARCHAR(20) DEFAULT NULL COMMENT '修改前银行账号',
|
||||
bbankname VARCHAR(100) DEFAULT NULL COMMENT '修改前银行名称',
|
||||
bbanktel VARCHAR(20) DEFAULT NULL COMMENT '修改前预留手机号',
|
||||
abankaccount VARCHAR(50) DEFAULT NULL COMMENT '修改后客户名称',
|
||||
abanknumber VARCHAR(40) DEFAULT NULL COMMENT '修改后银行账号',
|
||||
abankname VARCHAR(100) DEFAULT NULL COMMENT '修改后银行名称',
|
||||
abanktel VARCHAR(20) DEFAULT NULL COMMENT '修改后预留手机号',
|
||||
applytype VARCHAR(15) DEFAULT NULL COMMENT '申请类型',
|
||||
opinions VARCHAR(500) DEFAULT NULL COMMENT '审批意见',
|
||||
STATUS VARCHAR(10) DEFAULT NULL COMMENT '审批状态',
|
||||
opinionsuserid VARCHAR(32) DEFAULT NULL COMMENT '审批人',
|
||||
messgeId VARCHAR(32) DEFAULT NULL COMMENT '业务提醒id',
|
||||
flowStatus VARCHAR(10) DEFAULT NULL COMMENT '合同状态',
|
||||
flowUnid VARCHAR(32) DEFAULT NULL COMMENT '流程id',
|
||||
INPUTUSERID VARCHAR(32) DEFAULT NULL COMMENT '登记人',
|
||||
INPUTORGID VARCHAR(32) DEFAULT NULL COMMENT '登记部门',
|
||||
INPUTTIME VARCHAR(32) DEFAULT NULL COMMENT '登记时间',
|
||||
UPDATEUSERID VARCHAR(32) DEFAULT NULL COMMENT '更新人',
|
||||
UPDATEORGID VARCHAR(32) DEFAULT NULL COMMENT '更新部门',
|
||||
UPDATETIME VARCHAR(32) DEFAULT NULL COMMENT '更新时间',
|
||||
PRIMARY KEY (ID)
|
||||
) ENGINE=INNODB DEFAULT CHARSET=gbk COMMENT='微信银行卡信息修改表';
|
||||
|
||||
CREATE TABLE wechat_Advance_Settle (
|
||||
ID VARCHAR(32) NOT NULL COMMENT '标识',
|
||||
openid VARCHAR(32) DEFAULT NULL COMMENT '微信标识',
|
||||
contract_no VARCHAR(32) DEFAULT NULL COMMENT '合同编号',
|
||||
NAME VARCHAR(32) DEFAULT NULL COMMENT '客户姓名',
|
||||
tel VARCHAR(32) DEFAULT NULL COMMENT '客户电话',
|
||||
advanceDate VARCHAR(32) DEFAULT NULL COMMENT '约定终止日',
|
||||
applytype VARCHAR(15) DEFAULT NULL COMMENT '申请类型',
|
||||
opinions VARCHAR(500) DEFAULT NULL COMMENT '审批意见',
|
||||
STATUS VARCHAR(10) DEFAULT NULL COMMENT '审批状态',
|
||||
opinionsuserid VARCHAR(32) DEFAULT NULL COMMENT '审批人',
|
||||
messgeId VARCHAR(32) DEFAULT NULL COMMENT '业务提醒id',
|
||||
flowStatus VARCHAR(10) DEFAULT NULL COMMENT '合同状态',
|
||||
flowUnid VARCHAR(32) DEFAULT NULL COMMENT '流程id',
|
||||
INPUTUSERID VARCHAR(32) DEFAULT NULL COMMENT '登记人',
|
||||
INPUTORGID VARCHAR(32) DEFAULT NULL COMMENT '登记部门',
|
||||
INPUTTIME VARCHAR(32) DEFAULT NULL COMMENT '登记时间',
|
||||
UPDATEUSERID VARCHAR(32) DEFAULT NULL COMMENT '更新人',
|
||||
UPDATEORGID VARCHAR(32) DEFAULT NULL COMMENT '更新部门',
|
||||
UPDATETIME VARCHAR(32) DEFAULT NULL COMMENT '更新时间',
|
||||
PRIMARY KEY (ID)
|
||||
) ENGINE=INNODB DEFAULT CHARSET=gbk COMMENT='微信提前结清记录表';
|
||||
|
||||
|
||||
-- 微信提交结清申请页面模板
|
||||
Insert Into AWE_DO_CATALOG (dono,doname,dodescribe,dotype,doclass,isinuse,colcount,modeid,jboclass,jbofrom,jbowhere,jbogroup,jboorder,businessprocess,exportflag,inputuser,inputtime,updateuser,updatetime,remark,isvalidate,parent) Values ('WechatAdvanceSettle','微信提前结清申请表',null,'30270',null,'1','2','default','jbo.app.WECHAT_ADVANCE_SETTLE','O','ID=:ID ','','','','','SYS_Designer','2019/11/04 13:44:57','SYS_Designer','2019/11/04 15:01:03','','1','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatAdvanceSettle','1000','1000','1','O','ID','ID','String','','标识','','1','Text','1','1','','','','32','0','0','0','1','1',1,'0','','','SYS_DESIGNER','2019/11/04 13:44:57','SYS_Designer','2019/11/04 15:01:03','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatAdvanceSettle','1010','1010','1','O','openid','openid','String','','微信标识','','1','Text','1','1','','','','32','0','0','0','1','1',1,'0','','','SYS_DESIGNER','2019/11/04 13:44:57','SYS_Designer','2019/11/04 15:01:03','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatAdvanceSettle','1020','1020','1','O','NAME','NAME','String','','客户姓名','','1','Text','1','1','','','','32','1','1','0','1','1',1,'0','','','SYS_DESIGNER','2019/11/04 13:44:57','SYS_Designer','2019/11/04 15:01:16','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatAdvanceSettle','1030','1030','1','O','contract_no','contract_no','String','','合同编号','','1','Text','1','1','','','','32','1','1','0','1','1',1,'0','','','SYS_DESIGNER','2019/11/04 13:44:57','SYS_Designer','2019/11/04 15:01:16','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatAdvanceSettle','1040','1040','1','O','tel','tel','String','','客户电话','','1','Text','1','1','','','','32','1','1','0','1','1',1,'0','','','SYS_DESIGNER','2019/11/04 13:44:57','SYS_Designer','2019/11/04 15:01:16','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatAdvanceSettle','1050','1050','1','O','advanceDate','advanceDate','String','','约定终止日','','1','Date','3','2','','','','32','1','1','0','1','1',1,'0','','','SYS_DESIGNER','2019/11/04 13:44:57','SYS_Designer','2019/11/04 15:01:16','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatAdvanceSettle','1100','1100','1','O','messgeId','messgeId','String','','业务提醒id','','1','Text','1','1','','','','32','0','0','0','1','1',1,'0','','','SYS_DESIGNER','2019/11/04 13:44:57','SYS_Designer','2019/11/04 15:01:03','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatAdvanceSettle','1150','1150','1','O','opinions','opinions','String','','审批意见','','1','Textarea','1','1','','','style={width:900px}','500','1','0','0','1','0',2,'','','','SYS_Designer','2019/11/04 14:44:48','SYS_Designer','2019/11/04 15:03:20','0','','1','','','','');
|
||||
|
||||
-- 微信提交银行卡页面模板
|
||||
Insert Into AWE_DO_CATALOG (dono,doname,dodescribe,dotype,doclass,isinuse,colcount,modeid,jboclass,jbofrom,jbowhere,jbogroup,jboorder,businessprocess,exportflag,inputuser,inputtime,updateuser,updatetime,remark,isvalidate,parent) Values ('WechatBanknumberChange','微信银行卡信息变更',null,'30270',null,'1','2','default','jbo.app.WECHAT_BANKNUMBER_CHANGE','O','ID=:ID ','','','','','SYS_Designer','2019/11/02 16:54:47','SYS_Designer','2019/11/02 16:54:47',null,'1','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBanknumberChange','1000','1000','1','O','ID','ID','String','','标识','','1','Text','1','1','','','','32','0','0','0','1','1',1,'0','','','SYS_DESIGNER','2019/11/02 16:54:47','SYS_Designer','2019/11/02 16:58:22','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBanknumberChange','1010','1010','1','O','openid','openid','String','','微信标识','','1','Text','1','1','','','','32','0','0','0','1','1',1,'0','','','SYS_DESIGNER','2019/11/02 16:54:47','SYS_Designer','2019/11/02 16:55:52','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBanknumberChange','1020','1020','1','O','name','name','String','','客户姓名','','1','Text','1','1','','','','32','1','1','0','1','1',1,'0','0010','','SYS_DESIGNER','2019/11/02 16:54:47','SYS_Designer','2019/11/02 17:02:55','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBanknumberChange','1030','1030','1','O','contract_no','contract_no','String','','合同编号','','1','Text','1','1','','','','32','1','1','0','1','1',1,'0','0010','','SYS_DESIGNER','2019/11/02 16:54:47','SYS_Designer','2019/11/02 17:03:04','0','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBanknumberChange','1040','1040','1','O','tel','tel','String','','客户电话','','1','Text','1','1','','','','32','0','0','0','1','1',1,'0','','','SYS_DESIGNER','2019/11/02 16:54:47','SYS_Designer','2019/11/02 17:02:02','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBanknumberChange','1050','1050','1','O','contract_id','contract_id','String','','合同ID','','1','Text','1','1','','','','32','0','0','0','1','1',1,'0','','','SYS_DESIGNER','2019/11/02 16:54:47','SYS_Designer','2019/11/02 16:55:52','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBanknumberChange','1060','1060','1','O','bbankaccount','bbankaccount','String','','客户名称','','1','Text','1','1','','','','50','1','1','0','1','1',1,'0','0020','','SYS_DESIGNER','2019/11/02 16:54:47','SYS_Designer','2019/11/02 17:02:02','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBanknumberChange','1070','1070','1','O','bbanknumber','bbanknumber','String','','银行账号','','1','Text','1','1','','','','20','1','1','0','1','1',1,'0','0020','','SYS_DESIGNER','2019/11/02 16:54:47','SYS_Designer','2019/11/02 17:02:02','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBanknumberChange','1080','1080','1','O','bbankname','bbankname','String','','银行名称','','1','Text','1','1','','','','100','1','1','0','1','1',1,'0','0020','','SYS_DESIGNER','2019/11/02 16:54:47','SYS_Designer','2019/11/02 17:02:02','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBanknumberChange','1090','1090','1','O','bbanktel','bbanktel','String','','预留手机号','','1','Text','1','1','','','','20','1','1','0','1','1',1,'0','0020','','SYS_DESIGNER','2019/11/02 16:54:47','SYS_Designer','2019/11/02 17:02:02','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBanknumberChange','1100','1100','1','O','abankaccount','abankaccount','String','','客户名称','','1','Text','1','1','','','','50','1','1','0','1','1',1,'0','0030','','SYS_DESIGNER','2019/11/02 16:54:47','SYS_Designer','2019/11/02 17:02:02','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBanknumberChange','1110','1110','1','O','abanknumber','abanknumber','String','','银行账号','','1','Text','1','1','','','','20','1','1','0','1','1',1,'0','0030','','SYS_DESIGNER','2019/11/02 16:54:47','SYS_Designer','2019/11/02 17:02:02','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBanknumberChange','1120','1120','1','O','abankname','abankname','String','','银行名称','','1','Text','1','1','','','','100','1','1','0','1','1',1,'0','0030','','SYS_DESIGNER','2019/11/02 16:54:47','SYS_Designer','2019/11/02 17:02:02','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBanknumberChange','1130','1130','1','O','abanktel','abanktel','String','','预留手机号','','1','Text','1','1','','','','20','1','1','0','1','1',1,'0','0030','','SYS_DESIGNER','2019/11/02 16:54:47','SYS_Designer','2019/11/02 17:02:02','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBanknumberChange','1170','1170','1','O','opinionsuserid','opinionsuserid','String','','审批人','','1','Text','1','1','','','','3','0','0','0','1','1',1,'0','','','SYS_DESIGNER','2019/11/02 16:54:47','SYS_Designer','2019/11/02 16:55:52','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBanknumberChange','1210','1210','1','O','opinions','opinions','String','','审批意见','','1','Textarea','1','1','','','style={width:900px}','500','1','0','0','1','0',2,'','0040','','SYS_Designer','2019/11/05 16:48:06','SYS_Designer','2019/11/05 16:50:29','0','','1','','','','');
|
||||
Insert Into AWE_DO_Group (dono,dockid,dockname,inputuser,inputtime,updateuser,updatetime,inputorg,sortno,grouphead,groupfoot,groupbody,colcount,styleid,isexpand,groupbody1,groupbody2) Values ('WechatBanknumberChange','0010','合同信息','SYS_Designer','2019/11/02 16:56:37','SYS_Designer','2019/11/05 16:48:32','','0010','','','',2,'','','','');
|
||||
Insert Into AWE_DO_Group (dono,dockid,dockname,inputuser,inputtime,updateuser,updatetime,inputorg,sortno,grouphead,groupfoot,groupbody,colcount,styleid,isexpand,groupbody1,groupbody2) Values ('WechatBanknumberChange','0020','修改前的值','SYS_Designer','2019/11/02 16:56:37','SYS_Designer','2019/11/05 16:48:32','','0020','','','',2,'','','','');
|
||||
Insert Into AWE_DO_Group (dono,dockid,dockname,inputuser,inputtime,updateuser,updatetime,inputorg,sortno,grouphead,groupfoot,groupbody,colcount,styleid,isexpand,groupbody1,groupbody2) Values ('WechatBanknumberChange','0030','修改后的值','SYS_Designer','2019/11/02 16:56:37','SYS_Designer','2019/11/05 16:48:32','','0030','','','',2,'','','','');
|
||||
Insert Into AWE_DO_Group (dono,dockid,dockname,inputuser,inputtime,updateuser,updatetime,inputorg,sortno,grouphead,groupfoot,groupbody,colcount,styleid,isexpand,groupbody1,groupbody2) Values ('WechatBanknumberChange','0040','审批意见','SYS_Designer','2019/11/05 16:48:32','SYS_Designer','2019/11/05 16:48:32','','0040','','','',2,'','','','');
|
||||
|
||||
-- 微信提交基本信息页面模板
|
||||
Insert Into AWE_DO_CATALOG (dono,doname,dodescribe,dotype,doclass,isinuse,colcount,modeid,jboclass,jbofrom,jbowhere,jbogroup,jboorder,businessprocess,exportflag,inputuser,inputtime,updateuser,updatetime,remark,isvalidate,parent) Values ('WechatBasicChange','微信提交客户基本信息变更表',null,'30270',null,'1','2','default','jbo.app.WECHAT_BASIC_CHANGE','O','ID=:ID ','','','','','SYS_Designer','2019/11/01 16:25:42','SYS_Designer','2019/11/01 16:56:11','','1','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBasicChange','1000','1000','1','O','ID','ID','String','','标识','','1','Text','1','1','','','','32','0','0','0','1','1',1,'0','','','SYS_DESIGNER','2019/11/01 16:25:42','SYS_Designer','2019/11/01 16:56:11','0','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBasicChange','1010','1010','1','O','openid','openid','String','','微信标识','','1','Text','1','1','','','','32','0','0','0','1','1',1,'0','','','SYS_DESIGNER','2019/11/01 16:25:42','SYS_Designer','2019/11/01 16:56:11','0','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBasicChange','1020','1020','1','O','CUSTOMER_ID','CUSTOMER_ID','String','','承租人编号','','1','Text','1','1','','','','32','0','0','0','1','1',1,'0','','','SYS_DESIGNER','2019/11/01 16:25:42','SYS_Designer','2019/11/01 16:56:11','0','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBasicChange','1030','1030','1','O','name','name','String','','姓名','','1','Text','1','1','','','','32','1','1','0','1','1',0,'0','0010','','SYS_DESIGNER','2019/11/01 16:25:42','SYS_Designer','2019/11/01 17:01:54','0','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBasicChange','1040','1040','1','O','certid','certid','String','','证件号','','1','Text','1','1','','','','32','1','1','0','1','1',0,'0','0010','','SYS_DESIGNER','2019/11/01 16:25:42','SYS_Designer','2019/11/01 17:02:31','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBasicChange','1050','1050','1','O','btel','btel','String','','手机号','','1','Text','1','1','','','','20','1','1','0','1','1',0,'0','0020','','SYS_DESIGNER','2019/11/01 16:25:42','SYS_Designer','2019/11/01 17:02:31','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBasicChange','1060','1060','1','O','bWORKADD','bWORKADD','String','','工作单位地址','','1','Text','1','1','','','style={width:500px}','200','1','1','0','1','1',0,'0','0020','','SYS_DESIGNER','2019/11/01 16:25:42','SYS_Designer','2019/11/01 20:12:32','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBasicChange','1070','1070','1','O','bworkname','bworkname','String','','工作名称','','1','Text','1','1','','','style={width:400px}','200','1','1','0','1','1',0,'0','0020','','SYS_DESIGNER','2019/11/01 16:25:42','SYS_Designer','2019/11/01 20:12:32','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBasicChange','1080','1080','1','O','bFULLADDRESS','bFULLADDRESS','String','','居住地址','','1','Text','1','1','','','style={width:500px}','200','1','1','0','1','1',0,'0','0020','','SYS_DESIGNER','2019/11/01 16:25:42','SYS_Designer','2019/11/01 20:12:32','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBasicChange','1090','1090','1','O','atel','atel','String','','手机号','','1','Text','1','1','','','','20','1','1','0','1','1',0,'0','0030','','SYS_DESIGNER','2019/11/01 16:25:42','SYS_Designer','2019/11/01 17:02:31','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBasicChange','1100','1100','1','O','aWORKADD','aWORKADD','String','','工作单位地址','','1','Text','1','1','','','style={width:500px}','200','1','1','0','1','1',0,'0','0030','','SYS_DESIGNER','2019/11/01 16:25:42','SYS_Designer','2019/11/01 20:12:32','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBasicChange','1110','1110','1','O','aworkname','aworkname','String','','工作名称','','1','Text','1','1','','','style={width:400px}','200','1','1','0','1','1',0,'0','0030','','SYS_DESIGNER','2019/11/01 16:25:42','SYS_Designer','2019/11/01 20:12:32','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBasicChange','1120','1120','1','O','aFULLADDRESS','aFULLADDRESS','String','','居住地址','','1','Text','1','1','','','style={width:500px}','200','1','1','0','1','1',0,'0','0030','','SYS_DESIGNER','2019/11/01 16:25:42','SYS_Designer','2019/11/01 20:12:32','','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBasicChange','1140','1140','1','O','opinions','opinions','String','','审批意见','','1','Textarea','1','1','','','style={width:900px}','500','1','0','0','1','1',2,'0','0040','','SYS_DESIGNER','2019/11/01 16:25:42','SYS_Designer','2019/11/01 20:12:50','0','','1','','','','');
|
||||
Insert Into AWE_DO_Group (dono,dockid,dockname,inputuser,inputtime,updateuser,updatetime,inputorg,sortno,grouphead,groupfoot,groupbody,colcount,styleid,isexpand,groupbody1,groupbody2) Values ('WechatBasicChange','0010','客户信息','SYS_Designer','2019/11/01 16:31:44','SYS_Designer','2019/11/01 17:13:23','','0010','','','',2,'','','','');
|
||||
Insert Into AWE_DO_Group (dono,dockid,dockname,inputuser,inputtime,updateuser,updatetime,inputorg,sortno,grouphead,groupfoot,groupbody,colcount,styleid,isexpand,groupbody1,groupbody2) Values ('WechatBasicChange','0020','修改前的值','SYS_Designer','2019/11/01 16:32:45','SYS_Designer','2019/11/01 17:13:23','','0020','','','',2,'','','','');
|
||||
Insert Into AWE_DO_Group (dono,dockid,dockname,inputuser,inputtime,updateuser,updatetime,inputorg,sortno,grouphead,groupfoot,groupbody,colcount,styleid,isexpand,groupbody1,groupbody2) Values ('WechatBasicChange','0030','修改后的值','SYS_Designer','2019/11/01 16:32:45','SYS_Designer','2019/11/01 17:13:23','','0030','','','',2,'','','','');
|
||||
Insert Into AWE_DO_Group (dono,dockid,dockname,inputuser,inputtime,updateuser,updatetime,inputorg,sortno,grouphead,groupfoot,groupbody,colcount,styleid,isexpand,groupbody1,groupbody2) Values ('WechatBasicChange','0040','审批意见','SYS_Designer','2019/11/01 16:36:18','SYS_Designer','2019/11/01 17:13:23','','0040','','','',1,'','','','');
|
||||
|
||||
-- 添加方法
|
||||
insert into `class_method` (`classname`, `methodname`, `methodtype`, `methoddescribe`, `returntype`, `methodargs`, `methodcode`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`) values('审批流程','扣款卡信息流程发起后取消','Bizlet','扣款卡信息流程发起后取消','String','String ObjectNo','com.tenwa.lease.flow.project.commbusiness.LBCustomerAccountHisToFormal','','','','','','');
|
||||
insert into `class_method` (`classname`, `methodname`, `methodtype`, `methoddescribe`, `returntype`, `methodargs`, `methodcode`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`) values('审批流程','微信提交信息变更发起流程否决','Bizlet','微信提交信息变更发起流程否决','String','String ObjectNo','com.tenwa.flow.ChangeWechatSubmitStatusVeto','','','','','','');
|
||||
insert into `class_method` (`classname`, `methodname`, `methodtype`, `methoddescribe`, `returntype`, `methodargs`, `methodcode`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`) values('审批流程','微信提交信息变更发起流程通过','Bizlet','微信提交信息变更发起流程通过','String','String ObjectNo','com.tenwa.flow.ChangeWechatSubmitStatus','','','','','','');
|
||||
insert into `class_method` (`classname`, `methodname`, `methodtype`, `methoddescribe`, `returntype`, `methodargs`, `methodcode`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`) values('审批流程','微信提交信息变更发起流程修改状态','Bizlet','微信提交信息变更发起流程修改状态','String','String ObjectNo','com.tenwa.flow.ChangeWechatSubmitFlow','','','','','','');
|
||||
|
||||
-- 扣款卡变更流程中添加方法
|
||||
delete from FLOW_MODEL where flowno='AccountChangeFlow';
|
||||
insert into `FLOW_MODEL` (`flowno`, `phaseno`, `phasetype`, `phasename`, `phasedescribe`, `phaseattribute`, `prescript`, `initscript`, `choicedescribe`, `choicescript`, `actiondescribe`, `actionscript`, `postscript`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `attribute9`, `attribute10`, `aaenabled`, `aapointinitscript`, `aapointcomp`, `aapointcompurl`, `standardtime1`, `standardtime2`, `costlob`, `strips`, `checklist`, `decisionscript`, `riskscanrule`, `buttonset2`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `distributerule`, `id`, `type`, `name`, `xcoordinate`, `ycoordinate`, `width`, `height`, `version`, `swimlane`, `nodetype`, `flowphasecontext`, `OPINIONSREQUIRED`, `isreadonly`, `flowpageconfig`, `flowprocessclass`, `flowpagecheck`, `backstepnexttype`, `backsteps`, `backscript`, `deletescript`, `phasescript`, `loadproductcheck`, `nextsteps`, `flowtiptype`, `remindnoticttype`, `flowoverdate`, `overnoticetype`, `overnoticeUser`) values('AccountChangeFlow','0010','1010','资管业务',NULL,NULL,'!基础操作.扣款卡信息正式到变更(#ObjectNo)+!基础操作.合同基本信息从正式到临时(#ObjectNo)+!审批流程.微信提交信息变更发起流程修改状态(#ObjectNo)','{#UserID}',NULL,'selectroute',NULL,NULL,'#PhaseOpinion1','closePage,doSubmit,signOpinion',NULL,'all_except','ProjectApproval',NULL,NULL,'01',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0','0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'234','128','105','50','1',NULL,'TASK',NULL,'Y','N','AccountChangeFlow0010','if(\"03\".equals(fixedParam.get(\"CustomerType\"))){\r\nTreeView.deleteNode(\"扣款法人信息变更\");\r\nTreeView.deleteNode(\"法人收付款信息\");\r\nTreeView.updateNodeName(\"扣款自然人信息变更\",\"扣款信息变更\");\r\n}else{\r\nTreeView.deleteNode(\"收付款信息\");\r\nTreeView.deleteNode(\"扣款自然人信息变更\");\r\nTreeView.updateNodeName(\"扣款法人信息变更\",\"扣款信息变更\");\r\n}\r\nTreeView.updateNodeSetReadOnly(\"扣款信息变更\",\"\");','TreeView.deleteCheckItemByCode(\"0004\")',NULL,NULL,NULL,'!审批流程.扣款卡信息流程发起后取消(#ObjectNo)',NULL,'N','[{stepno:\"结束(1000)\",stepcondition:\"提交给结束\"},{stepno:\"否决(8000)\",stepcondition:\"提交给否决\"}]',NULL,NULL,NULL,NULL,NULL);
|
||||
insert into `FLOW_MODEL` (`flowno`, `phaseno`, `phasetype`, `phasename`, `phasedescribe`, `phaseattribute`, `prescript`, `initscript`, `choicedescribe`, `choicescript`, `actiondescribe`, `actionscript`, `postscript`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `attribute9`, `attribute10`, `aaenabled`, `aapointinitscript`, `aapointcomp`, `aapointcompurl`, `standardtime1`, `standardtime2`, `costlob`, `strips`, `checklist`, `decisionscript`, `riskscanrule`, `buttonset2`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `distributerule`, `id`, `type`, `name`, `xcoordinate`, `ycoordinate`, `width`, `height`, `version`, `swimlane`, `nodetype`, `flowphasecontext`, `OPINIONSREQUIRED`, `isreadonly`, `flowpageconfig`, `flowprocessclass`, `flowpagecheck`, `backstepnexttype`, `backsteps`, `backscript`, `deletescript`, `phasescript`, `loadproductcheck`, `nextsteps`, `flowtiptype`, `remindnoticttype`, `flowoverdate`, `overnoticetype`, `overnoticeUser`) values('AccountChangeFlow','1000','1040','结束',NULL,NULL,'!基础操作.扣款卡信息变更到正式(#ObjectNo)+!基础操作.新增业务消息提醒(#ObjectNo)+!审批流程.微信提交信息变更发起流程通过(#ObjectNo)','{\"system\"}',NULL,'commroute',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'01',NULL,NULL,'[{usertype:\"指定角色\",userinfo:\"800R00000016,业务二部运营专员初审\"}]',NULL,NULL,NULL,NULL,'0','0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'189','287','50','50','1',NULL,'END',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
|
||||
insert into `FLOW_MODEL` (`flowno`, `phaseno`, `phasetype`, `phasename`, `phasedescribe`, `phaseattribute`, `prescript`, `initscript`, `choicedescribe`, `choicescript`, `actiondescribe`, `actionscript`, `postscript`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `attribute9`, `attribute10`, `aaenabled`, `aapointinitscript`, `aapointcomp`, `aapointcompurl`, `standardtime1`, `standardtime2`, `costlob`, `strips`, `checklist`, `decisionscript`, `riskscanrule`, `buttonset2`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `distributerule`, `id`, `type`, `name`, `xcoordinate`, `ycoordinate`, `width`, `height`, `version`, `swimlane`, `nodetype`, `flowphasecontext`, `OPINIONSREQUIRED`, `isreadonly`, `flowpageconfig`, `flowprocessclass`, `flowpagecheck`, `backstepnexttype`, `backsteps`, `backscript`, `deletescript`, `phasescript`, `loadproductcheck`, `nextsteps`, `flowtiptype`, `remindnoticttype`, `flowoverdate`, `overnoticetype`, `overnoticeUser`) values('AccountChangeFlow','8000','1050','否决',NULL,NULL,'!审批流程.微信提交信息变更发起流程否决(#ObjectNo)','{\"system\"}',NULL,'commroute',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'01',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0','0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'313','289','50','50','1',NULL,'END',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
|
||||
|
||||
-- 提前结清
|
||||
delete from FLOW_MODEL where FlowNo='ContractTerminateFlow' AND phaseno IN ('0010','1000','8000');
|
||||
insert into `FLOW_MODEL` (`flowno`, `phaseno`, `phasetype`, `phasename`, `phasedescribe`, `phaseattribute`, `prescript`, `initscript`, `choicedescribe`, `choicescript`, `actiondescribe`, `actionscript`, `postscript`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `attribute9`, `attribute10`, `aaenabled`, `aapointinitscript`, `aapointcomp`, `aapointcompurl`, `standardtime1`, `standardtime2`, `costlob`, `strips`, `checklist`, `decisionscript`, `riskscanrule`, `buttonset2`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `distributerule`, `id`, `type`, `name`, `xcoordinate`, `ycoordinate`, `width`, `height`, `version`, `swimlane`, `nodetype`, `flowphasecontext`, `OPINIONSREQUIRED`, `isreadonly`, `flowpageconfig`, `flowprocessclass`, `flowpagecheck`, `backstepnexttype`, `backsteps`, `backscript`, `deletescript`, `phasescript`, `loadproductcheck`, `nextsteps`, `flowtiptype`, `remindnoticttype`, `flowoverdate`, `overnoticetype`, `overnoticeUser`) values('ContractTerminateFlow','0010','1010','资管业务岗',NULL,NULL,'!基础操作.合同基本信息从正式到临时(#ObjectNo)+!基础操作.租赁物表从正式到临时(#ObjectNo)+!基础操作.商务条件起租到临时表(#ObjectNo)+!基础操作.租金计划表从正式到历史(#ObjectNo)+!审批流程.微信提交信息变更发起流程修改状态(#ObjectNo)','{#UserID}',NULL,'commroute',NULL,'[{usertype:\"指定角色\",userinfo:\"800R00000019,资管业务员\"}]','#PhaseOpinion1','closePage,doSubmit,signOpinion',NULL,'all_except','ContractTerminate',NULL,NULL,'01',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0','0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'483','134','100','50','1',NULL,'TASK',NULL,'N','Y',NULL,'TreeView.addFirstNodeByCode(\"11340\");\r\nTreeView.addFirstNodeByCode(\"11080\");\r\nTreeView.addLastNodeByCode(\"11320\");\r\nTreeView.addLastNodeByCode(\"11330\");\r\nTreeView.updateNodeSetReadOnly(\"变更信息\",null);\r\nTreeView.updateNodeSetReadOnly(\"提前终止变更\",null);\r\nTreeView.updateNodeSetReadOnly(\"一般租赁物\",null);\r\nTreeView.updateNodeSetReadOnly(\"汽车\",null);\r\nTreeView.addLastNodeByCode(\"11350\");\r\nTreeView.updateNodeName(\"变更说明\",\"提前结清说明\");\r\nTreeView.addBeforeNodeByCode(\"提前终止变更\", \"11390\");\r\nTreeView.addBeforeNodeByCode(\"提前网银核销\", \"11610\");',NULL,'backnextstep',NULL,NULL,'TreeView.addDeleteCallBackSql(\"jbo.com.tenwa.lease.comm.LC_OCCUPY_RENT_LIST\",\"delete from o where o.flowunid=:FlowUnid\");\r\nTreeView.addDeleteCallBackSql(\"jbo.app.tenwa.calc.LC_EBANK_PROCESS\",\"delete from O where flowunid=:FlowUnid\");+!审批流程.扣款卡信息流程发起后取消(#ObjectNo)',NULL,'N','资管负责人(0020)',NULL,NULL,NULL,NULL,NULL);
|
||||
insert into `FLOW_MODEL` (`flowno`, `phaseno`, `phasetype`, `phasename`, `phasedescribe`, `phaseattribute`, `prescript`, `initscript`, `choicedescribe`, `choicescript`, `actiondescribe`, `actionscript`, `postscript`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `attribute9`, `attribute10`, `aaenabled`, `aapointinitscript`, `aapointcomp`, `aapointcompurl`, `standardtime1`, `standardtime2`, `costlob`, `strips`, `checklist`, `decisionscript`, `riskscanrule`, `buttonset2`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `distributerule`, `id`, `type`, `name`, `xcoordinate`, `ycoordinate`, `width`, `height`, `version`, `swimlane`, `nodetype`, `flowphasecontext`, `OPINIONSREQUIRED`, `isreadonly`, `flowpageconfig`, `flowprocessclass`, `flowpagecheck`, `backstepnexttype`, `backsteps`, `backscript`, `deletescript`, `phasescript`, `loadproductcheck`, `nextsteps`, `flowtiptype`, `remindnoticttype`, `flowoverdate`, `overnoticetype`, `overnoticeUser`) values('ContractTerminateFlow','1000','1040','结束',NULL,NULL,'!基础操作.变更信息表从临时到正式(#ObjectNo)+!基础操作.提前结清租金存储过程(#ObjectNo)+!基础操作.商务条件临时表到起租层(#ObjectNo)+!基础操作.租金变更信息临时表到正式表(#ObjectNo)+!基础操作.调息删除互斥(#ObjectNo)+!审批流程.凭证输出--提前结清(#ObjectNo)+!通用流程操作.保存项目进度状态(#ObjectNo,52)+!基础操作.流程结束后删除对应租金计划的占用(#ObjectNo)+!基础操作.提前结清网银信息临时表到正式表(#ObjectNo)+!基础操作.更新合同状态(#ObjectNo,100)+!审批流程.微信提交信息变更发起流程通过(#ObjectNo)','{\"system\"}',NULL,'commroute',NULL,NULL,NULL,'closePage',NULL,'all_except','ContractApproval',NULL,NULL,'01',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0','0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'437','528','50','50','1',NULL,'END',NULL,'N','Y',NULL,'TreeView.addFirstNodeByCode(\"11340\");\r\nTreeView.addFirstNodeByCode(\"11080\");\r\nTreeView.addLastNodeByCode(\"11320\");\r\nTreeView.addLastNodeByCode(\"11330\");\r\nTreeView.addLastNodeByCode(\"11350\");',NULL,NULL,NULL,NULL,NULL,NULL,'N',NULL,NULL,NULL,NULL,NULL,NULL);
|
||||
insert into `FLOW_MODEL` (`flowno`, `phaseno`, `phasetype`, `phasename`, `phasedescribe`, `phaseattribute`, `prescript`, `initscript`, `choicedescribe`, `choicescript`, `actiondescribe`, `actionscript`, `postscript`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `attribute9`, `attribute10`, `aaenabled`, `aapointinitscript`, `aapointcomp`, `aapointcompurl`, `standardtime1`, `standardtime2`, `costlob`, `strips`, `checklist`, `decisionscript`, `riskscanrule`, `buttonset2`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `distributerule`, `id`, `type`, `name`, `xcoordinate`, `ycoordinate`, `width`, `height`, `version`, `swimlane`, `nodetype`, `flowphasecontext`, `OPINIONSREQUIRED`, `isreadonly`, `flowpageconfig`, `flowprocessclass`, `flowpagecheck`, `backstepnexttype`, `backsteps`, `backscript`, `deletescript`, `phasescript`, `loadproductcheck`, `nextsteps`, `flowtiptype`, `remindnoticttype`, `flowoverdate`, `overnoticetype`, `overnoticeUser`) values('ContractTerminateFlow','8000','1050','否决',NULL,NULL,'!审批流程.微信提交信息变更发起流程否决(#ObjectNo)','{\"system\"}',NULL,'commroute',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'01',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0','0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'581','523','50','50','1',NULL,'END',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
|
||||
|
||||
-- 添加消息提醒数据字典
|
||||
Insert Into Code_Library (codeno,itemno,itemname,bankno,sortno,isinuse,itemdescribe,itemattribute,relativecode,attribute1,attribute2,attribute3,attribute4,attribute5,attribute6,attribute7,attribute8,inputuser,inputorg,inputtime,updateuser,updatetime,remark,helptext) Values ('message_catalog','Advance_Settle_Apply','微信提交提前结清申请',null,'0130','1',null,null,null,null,null,null,null,null,null,null,null,'SYS_Designer',null,'2019/11/04 11:19:11','SYS_Designer','2019/11/04 11:20:11',null,null);
|
||||
|
||||
Insert Into Code_Library (codeno,itemno,itemname,bankno,sortno,isinuse,itemdescribe,itemattribute,relativecode,attribute1,attribute2,attribute3,attribute4,attribute5,attribute6,attribute7,attribute8,inputuser,inputorg,inputtime,updateuser,updatetime,remark,helptext) Values ('message_catalog','bank_info_change','微信提交扣款卡信息变更',null,'0120','1',null,null,null,null,null,null,null,null,null,null,null,'SYS_Designer',null,'2019/10/30 19:50:11','SYS_Designer','2019/10/30 19:52:11',null,null);
|
||||
Insert Into Code_Library (codeno,itemno,itemname,bankno,sortno,isinuse,itemdescribe,itemattribute,relativecode,attribute1,attribute2,attribute3,attribute4,attribute5,attribute6,attribute7,attribute8,inputuser,inputorg,inputtime,updateuser,updatetime,remark,helptext) Values ('message_catalog','basic_info_change','微信提交基本信息变更',null,'0110','1',null,null,null,null,null,null,null,null,null,null,null,'SYS_Designer',null,'2019/10/30 19:41:11','SYS_Designer','2019/10/30 19:42:11',null,null);
|
||||
|
||||
-- 添加消息提醒配置
|
||||
insert into `BT_BUSSINESS_MESSAGE_CONFIG` (`id`, `message_no`, `message_catalog`, `message_title`, `send_person`, `message_class`, `message_page`, `message_time`, `message_status`, `INPUTUSERID`, `INPUTTIME`, `INPUTORGID`, `UPDATEUSERID`, `UPDATEORGID`, `UPDATETIME`, `cparam`, `memo`, `is_valid`, `defaultStart`) values('230f12df57324ad7b4f959b9ef52596a','0120','basic_info_change','微信提交基本信息变更','[{usertype:\"指定人员\",userinfo:\"administrator,超级管理员\"}]','kong','/Tenwa/wechat/WechatBasicChange.jsp','','PAUSED','','','','','','','','','valid','Y');
|
||||
insert into `BT_BUSSINESS_MESSAGE_CONFIG` (`id`, `message_no`, `message_catalog`, `message_title`, `send_person`, `message_class`, `message_page`, `message_time`, `message_status`, `INPUTUSERID`, `INPUTTIME`, `INPUTORGID`, `UPDATEUSERID`, `UPDATEORGID`, `UPDATETIME`, `cparam`, `memo`, `is_valid`, `defaultStart`) values('7457fee6a7654054b0a214bf05d8c68e','0130','Advance_Settle_Apply','微信提交提前结清申请','[{usertype:\"指定人员\",userinfo:\"8009U00000002,定时任务管理员\"}]','null','/Tenwa/wechat/WechatAdvanceSettleInfo.jsp','','PAUSED','','','','','','','','','valid','Y');
|
||||
insert into `BT_BUSSINESS_MESSAGE_CONFIG` (`id`, `message_no`, `message_catalog`, `message_title`, `send_person`, `message_class`, `message_page`, `message_time`, `message_status`, `INPUTUSERID`, `INPUTTIME`, `INPUTORGID`, `UPDATEUSERID`, `UPDATEORGID`, `UPDATETIME`, `cparam`, `memo`, `is_valid`, `defaultStart`) values('b407c6f005f54319b8f3b3396efae620','0130','bank_info_change','微信提交银行卡信息修改提醒','[{usertype:\"指定人员\",userinfo:\"8009U00000002,定时任务管理员\"}]','null','/Tenwa/wechat/WechatBanknumberChangeInfo.jsp','','PAUSED','','','','','','','','','valid','Y');
|
||||
|
||||
-- 添加附件资料显示
|
||||
Insert Into AWE_DO_CATALOG (dono,doname,dodescribe,dotype,doclass,isinuse,colcount,modeid,jboclass,jbofrom,jbowhere,jbogroup,jboorder,businessprocess,exportflag,inputuser,inputtime,updateuser,updatetime,remark,isvalidate,parent) Values ('WechatBankNumberDocList','微信提交银行正反面附件',null,'30270',null,'1','1','default','jbo.app.tenwa.doc.LB_DOCLIBRARY','O,jbo.app.tenwa.doc.LB_DOCRELATIVE rela','rela.id=O.relative_Id and rela.template_id=:bankInfoId','','DOC_CLASS_ITEMNO,Serial_Num','',null,'SYS_Designer','2019/11/13 20:08:48','SYS_Designer','2019/11/13 20:13:36','','1','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBankNumberDocList','1010','1121','1','O','Serial_Num','Serial_Num','String','','序号','','1','Text','1','1','','','style={width:30px;}','32','0','1','0','0','0',0,'','','','SYS_Designer','2019/11/13 20:08:48','SYS_Designer','2019/11/13 20:13:36','0','','0','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBankNumberDocList','1020','1020','1','O','Doc_Name','Doc_Name','String','','资料名称','','1','Text','1','1','','','style={width:300px;}','200','1','1','0','0','0',0,'','','','SYS_Designer','2019/11/13 20:08:48','SYS_Designer','2019/11/13 20:13:36','0','','0','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBankNumberDocList','1030','1030','1','O','Doc_Nature','Doc_Nature','String','','资料性质','','1','Select','1','1','Code','DocNature','style={width:70px;}','64','0','0','0','0','0',0,'','','','SYS_Designer','2019/11/13 20:08:48','SYS_Designer','2019/11/13 20:49:50','0','','0','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBankNumberDocList','1040','1040','1','O','Remark','Remark','String','','备注','','1','Text','1','1','','','style={width:200px;}','200','0','0','0','0','0',0,'','','','SYS_Designer','2019/11/13 20:08:48','SYS_Designer','2019/11/13 20:49:57','0','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBankNumberDocList','1045','1045','1','O','OPERATE_CHECK','OPERATE_CHECK','String','','运营确认','','1','Text','1','1','','','','32','0','0','0','1','0',0,'','','','SYS_Designer','2019/11/13 20:08:48','SYS_Designer','2019/11/13 20:13:36','0','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBankNumberDocList','1050','1050','1','O','Doc_Type','Doc_Type','String','','资料类型','','1','Text','1','1','','','','32','0','0','0','0','0',0,'','','','SYS_Designer','2019/11/13 20:08:48','SYS_Designer','2019/11/13 20:13:36','0','','0','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBankNumberDocList','1060','1001','1','O','One_Classify','One_Classify','String','','一级分类','','1','Text','1','1','Code','DocList','','150','0','0','0','0','0',0,'','','','SYS_Designer','2019/11/13 20:08:48','SYS_Designer','2019/11/13 20:49:37','0','','0','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBankNumberDocList','1070','1002','1','O','Two_Classify','Two_Classify','String','','二级分类','','1','Text','1','1','','','style="white-space: pre-wrap;"','150','0','0','0','0','0',0,'','','','SYS_Designer','2019/11/13 20:08:48','SYS_Designer','2019/11/13 20:13:36','0','','0','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBankNumberDocList','1080','1080','1','O','Id','Id','String','','id主键','','1','Text','1','1','','','','32','0','0','0','0','0',0,'','','','SYS_Designer','2019/11/13 20:08:48','SYS_Designer','2019/11/13 20:13:36','0','','0','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBankNumberDocList','1090','1042','1','','''''','operation','String','','操作','','1','Text','1','2','','','style={width:50px;}',null,'0','0','0','0','0',0,'','','','SYS_Designer','2019/11/13 20:08:48','SYS_Designer','2019/11/13 20:50:14','0','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBankNumberDocList','1100','1100','1','','com.tenwa.doc.cache.DocListCache.getFile(Id)','filelist','String','','附件清单','','1','Text','1','1','','','style={width:600px;word-break:break-all;}',null,'1','1','0','0','0',0,'','','','SYS_Designer','2019/11/13 20:08:48','SYS_Designer','2019/11/13 20:13:36','0','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBankNumberDocList','1120','1120','1','O','DOC_CLASS_ITEMNO','DOC_CLASS_ITEMNO','String','','资料分类编号','','1','Text','1','1','','','','32','0','0','0','1','0',0,'','','','SYS_Designer','2019/11/13 20:08:48','SYS_Designer','2019/11/13 20:13:36','0','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBankNumberDocList','1122','1122','1','rela','OBJECTTYPE','OBJECTTYPE','String','','对象类别','','1','Text','1','1','','','','32','0','0','0','1','0',0,'','','','SYS_Designer','2019/11/13 20:08:48','SYS_Designer','2019/11/13 20:13:36','0','','1','','','','');
|
||||
Insert Into awe_do_library (dono,colindex,sortno,isinuse,coltablename,colactualname,colname,coltype,coldefaultvalue,colheader,colunit,colcolumntype,coleditstyle,colcheckformat,colalign,coleditsourcetype,coleditsource,colhtmlstyle,collimit,colvisible,colreadonly,colrequired,colsortable,isfilter,colspan,isautocomplete,groupid,colfilterrefid,inputuser,inputtime,updateuser,updatetime,isaudit,colfilterattrs,isupdate,parentcolindex,tips,colinnerbtevent,colfilteroptions) Values ('WechatBankNumberDocList','1140','1041','1','O','BUSINESS_CHECK','BUSINESS_CHECK','String','','业务检查','','1','Select','1','1','Code','DocCheck','style={width:60px}','32','0','0','0','0','0',0,'','','','SYS_Designer','2019/11/13 20:08:48','SYS_Designer','2019/11/13 20:50:03','0','','1','','','','');
|
||||
|
||||
-- 添加定时任务
|
||||
Insert Into Code_Library (codeno,itemno,itemname,bankno,sortno,isinuse,itemdescribe,itemattribute,relativecode,attribute1,attribute2,attribute3,attribute4,attribute5,attribute6,attribute7,attribute8,inputuser,inputorg,inputtime,updateuser,updatetime,remark,helptext) Values ('MissionName','com.tenwa.lease.app.quartzmession.DeleteWechatRentPay','删除微信付款失败占用表','','0490','1','','','','','','','','','','','','SYS_Designer',null,'2019/11/30 16:48:08','SYS_Designer','2019/11/30 16:48:08','','');
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,47 @@
|
||||
package com.tenwa.lease.app.quartzmession;
|
||||
|
||||
|
||||
import org.quartz.Job;
|
||||
import org.quartz.JobExecutionContext;
|
||||
import org.quartz.JobExecutionException;
|
||||
import com.amarsoft.are.jbo.JBOException;
|
||||
import com.amarsoft.awe.util.SqlObject;
|
||||
import com.amarsoft.awe.util.Transaction;
|
||||
import com.amarsoft.dict.als.cache.CacheLoaderFactory;
|
||||
|
||||
|
||||
/**
|
||||
* 1:删除微信发起付款占用表
|
||||
* @author tangfutang
|
||||
*/
|
||||
public class DeleteWechatRentPay implements Job{
|
||||
|
||||
public void execute(JobExecutionContext arg0) throws JobExecutionException {
|
||||
Transaction Sqlca=null;
|
||||
try{
|
||||
Sqlca = Transaction.createTransaction(CacheLoaderFactory.getDataSource());
|
||||
String deleteSql = "DELETE FROM LC_OCCUPY_RENT_LIST WHERE inputtime <= DATE_ADD(NOW(),INTERVAL -30 MINUTE) AND (flow_name='微信银联收款' OR flow_name='微信支付收款')";
|
||||
SqlObject asql = new SqlObject(deleteSql);
|
||||
Sqlca.executeSQL(asql);
|
||||
Sqlca.commit();
|
||||
|
||||
}catch(Exception e){
|
||||
try {
|
||||
Sqlca.rollback();
|
||||
} catch (JBOException e1) {
|
||||
e1.printStackTrace();
|
||||
}
|
||||
e.printStackTrace();
|
||||
}finally {
|
||||
if(Sqlca!=null) {
|
||||
try {
|
||||
Sqlca.commit();
|
||||
Sqlca.disConnect();
|
||||
} catch (JBOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,30 +1,29 @@
|
||||
package com.tenwa.lease.flow.project.commbusiness;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import jbo.app.tenwa.customer.CUSTOMER_ACCOUNT;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_ACCOUNT_HIS;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_ACCOUNT_TEMP;
|
||||
|
||||
import com.amarsoft.awe.util.Transaction;
|
||||
import com.tenwa.comm.util.jboutil.DataOperatorUtil;
|
||||
import com.tenwa.flow.baseBussion.BaseBussiness;
|
||||
|
||||
|
||||
public class LBCustomerAccountFormalToChangeBusiness extends BaseBussiness{
|
||||
@Override
|
||||
public Object run(Transaction Sqlca) throws Exception {
|
||||
this.initBussinessParam(Sqlca);
|
||||
String flowunid = this.getAttribute("ObjectNo").toString();
|
||||
String ContractId = this.getAttribute("ContractId").toString();
|
||||
Map<String,String> fromCondtion = new HashMap<String, String>();
|
||||
Map<String,String> other = new HashMap<String, String>();
|
||||
other.put("flowunid",flowunid);
|
||||
fromCondtion.put(CUSTOMER_ACCOUNT.contract_id, ContractId);
|
||||
DataOperatorUtil.copySingleJBO(CUSTOMER_ACCOUNT.CLASS_NAME, fromCondtion, CUSTOMER_ACCOUNT_TEMP.CLASS_NAME, null, other, Sqlca);
|
||||
|
||||
String sMessage = "true";
|
||||
return sMessage;
|
||||
}
|
||||
}
|
||||
package com.tenwa.lease.flow.project.commbusiness;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import jbo.app.tenwa.customer.CUSTOMER_ACCOUNT;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_ACCOUNT_HIS;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_ACCOUNT_TEMP;
|
||||
|
||||
import com.amarsoft.awe.util.Transaction;
|
||||
import com.tenwa.comm.util.jboutil.DataOperatorUtil;
|
||||
import com.tenwa.flow.baseBussion.BaseBussiness;
|
||||
|
||||
|
||||
public class LBCustomerAccountFormalToChangeBusiness extends BaseBussiness{
|
||||
@Override
|
||||
public Object run(Transaction Sqlca) throws Exception {
|
||||
this.initBussinessParam(Sqlca);
|
||||
String flowunid = this.getAttribute("ObjectNo").toString();
|
||||
String ContractId = this.getAttribute("ContractId").toString();
|
||||
Map<String,String> fromCondtion = new HashMap<String, String>();
|
||||
Map<String,String> other = new HashMap<String, String>();
|
||||
other.put("flowunid",flowunid);
|
||||
fromCondtion.put(CUSTOMER_ACCOUNT.contract_id, ContractId);
|
||||
DataOperatorUtil.copySingleJBO(CUSTOMER_ACCOUNT.CLASS_NAME, fromCondtion, CUSTOMER_ACCOUNT_TEMP.CLASS_NAME, null, other, Sqlca);
|
||||
DataOperatorUtil.copySingleJBO(CUSTOMER_ACCOUNT.CLASS_NAME, fromCondtion, CUSTOMER_ACCOUNT_HIS.CLASS_NAME, null, other, Sqlca);
|
||||
return "true";
|
||||
}
|
||||
}
|
||||
|
||||
@ -0,0 +1,65 @@
|
||||
package com.tenwa.lease.flow.project.commbusiness;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import jbo.app.WECHAT_ADVANCE_SETTLE;
|
||||
import jbo.app.WECHAT_BANKNUMBER_CHANGE;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_ACCOUNT;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_ACCOUNT_HIS;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_ACCOUNT_TEMP;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_FAMILY;
|
||||
import jbo.app.tenwa.customer.CUSTOMER_FAMILY_TEMP;
|
||||
import jbo.com.tenwa.entity.comm.flow.FLOW_BUSSINESS_OBJECT;
|
||||
import jbo.com.tenwa.lease.comm.LB_CONTRACT_INFO;
|
||||
import jbo.com.tenwa.lease.comm.LB_EQUIPMENT;
|
||||
import jbo.com.tenwa.lease.comm.LB_EQUIPMENT_TEMP;
|
||||
import jbo.com.tenwa.lease.comm.LB_GUARANTEE_UNIT;
|
||||
import jbo.com.tenwa.lease.comm.LB_GUARANTEE_UNIT_TEMP;
|
||||
import jbo.com.tenwa.lease.comm.LB_UNION_LESSEE_TEMP;
|
||||
|
||||
import com.amarsoft.are.jbo.BizObject;
|
||||
import com.amarsoft.are.jbo.BizObjectManager;
|
||||
import com.amarsoft.are.jbo.JBOFactory;
|
||||
import com.amarsoft.awe.util.Transaction;
|
||||
import com.tenwa.comm.util.jboutil.DataOperatorUtil;
|
||||
import com.tenwa.flow.baseBussion.BaseBussiness;
|
||||
import com.tenwa.lease.flow.comm.service.LeaseFlowBaseService;
|
||||
import com.tenwa.lease.flow.comm.service.ServiceOperatorEnum;
|
||||
import com.tenwa.lease.flow.comm.serviceImp.LeaseFlowBaseServiceImp;
|
||||
import com.tenwa.lease.flow.project.businessapply.CustomerCompare;
|
||||
|
||||
public class LBCustomerAccountHisToFormal extends BaseBussiness{
|
||||
@Override
|
||||
public Object run(Transaction Sqlca) throws Exception {
|
||||
this.initBussinessParam(Sqlca);
|
||||
String flowunid = this.getAttribute("ObjectNo").toString();
|
||||
String flowName = this.getAttribute("FlowName").toString();
|
||||
String ContractId = this.getAttribute("ContractId").toString();
|
||||
Map<String,String> fromCondtion = new HashMap<String, String>();
|
||||
Map<String,String> other = new HashMap<String, String>();
|
||||
if("扣款信息变更审核".equals(flowName)){
|
||||
fromCondtion.put("flowunid",flowunid);
|
||||
other.put(CUSTOMER_ACCOUNT.contract_id, ContractId);
|
||||
DataOperatorUtil.copySingleJBO(CUSTOMER_ACCOUNT_HIS.CLASS_NAME, fromCondtion, CUSTOMER_ACCOUNT.CLASS_NAME, other, null, Sqlca);
|
||||
|
||||
BizObjectManager wbcMange = JBOFactory.getBizObjectManager(WECHAT_BANKNUMBER_CHANGE.CLASS_NAME,Sqlca);
|
||||
BizObject wbc = wbcMange.createQuery("flowUnid=:flowUnid " ).setParameter("flowUnid", flowunid).getSingleResult(true);
|
||||
if(wbc != null){
|
||||
wbc.setAttributeValue("flowStatus", "流程取消");
|
||||
wbc.setAttributeValue("flowUnid", "");
|
||||
wbcMange.saveObject(wbc);
|
||||
}
|
||||
}else if ("提前结清".equals(flowName)){
|
||||
BizObjectManager wasMange = JBOFactory.getBizObjectManager(WECHAT_ADVANCE_SETTLE.CLASS_NAME,Sqlca);
|
||||
BizObject aws = wasMange.createQuery(" flowUnid=:flowUnid " ).setParameter("flowUnid", flowunid).getSingleResult(true);
|
||||
if(aws != null){
|
||||
aws.setAttributeValue("flowStatus", "流程取消");
|
||||
aws.setAttributeValue("flowUnid", "");
|
||||
wasMange.saveObject(aws);
|
||||
}
|
||||
}
|
||||
return "true";
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user