fix:新增催告函\催收服务委托书
This commit is contained in:
parent
8b5490b99b
commit
c2dab9703a
149
WebContent/Tenwa/Lease/Flow/Comm/LBContract/AttorneyLetter.jsp
Normal file
149
WebContent/Tenwa/Lease/Flow/Comm/LBContract/AttorneyLetter.jsp
Normal file
@ -0,0 +1,149 @@
|
||||
<%@page import="jbo.app.tenwa.calc.LC_CALC_CONDITION_TEMP"%>
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%>
|
||||
<%@ page import="com.tenwa.doc.action.DocListInitAction" %>
|
||||
<%@ page import="com.amarsoft.app.lc.workflow.action.GetFlowAction" %>
|
||||
<%@ page import="com.amarsoft.app.util.*" %>
|
||||
<%
|
||||
/*
|
||||
Author: undefined 2016-09-01
|
||||
Content: 催收服务委托书 AttorneyLetter.jsp
|
||||
History Log:
|
||||
*/
|
||||
|
||||
String userId = CurUser.getUserID();
|
||||
String orgId =CurUser.getOrgID();
|
||||
System.out.print(orgId);
|
||||
String falg = "true";
|
||||
String compClientID = request.getParameter("CompClientID");
|
||||
ASObjectModel doTemp = new ASObjectModel("AttorneyLetter");
|
||||
|
||||
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
|
||||
dwTemp.Style="1"; //--设置为Grid风格--
|
||||
dwTemp.ReadOnly = "1";
|
||||
dwTemp.setPageSize(15);
|
||||
dwTemp.MultiSelect = true;
|
||||
dwTemp.genHTMLObjectWindow(userId);
|
||||
|
||||
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格
|
||||
String sButtons[][] =null;
|
||||
sButtons=new String[][]{
|
||||
{"true","All","Button","生成催收服务委托书","生成催收服务委托书","generateQuotation()","","","","btn_icon_generate"},
|
||||
{"true","All","Button","批量下载","批量下载","lotdown()","","","","btn_icon_down"},
|
||||
{"false","All","Button","公司盖章","公司盖章","stamp()","","","",""},
|
||||
};
|
||||
|
||||
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
|
||||
<script type="text/javascript">
|
||||
|
||||
//在加载完表格后调用
|
||||
function afterSearch(){
|
||||
for(var i=0;i<getRowCount(0);i++){
|
||||
var html="";
|
||||
html+='<a onclick=downloadFile(\''+getItemValue(0,i,"attrid")+'\')><font color="blue">'+"下载     "+'</font></a>';
|
||||
getObj(0,i,"FILENAME").innerHTML=html+'<font >'+getObj(0,i,"FILENAME").innerHTML+'</font>';
|
||||
};
|
||||
|
||||
}
|
||||
function downloadFile(id){
|
||||
if(typeof(id)==undefined || id=='') {
|
||||
alert("请先生成催收服务委托书再下载!");
|
||||
return;
|
||||
}
|
||||
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 generateQuotation(){
|
||||
var projectId=getItemValueArray(0,"PROJECT_ID");
|
||||
//var contractNos=getItemValueArray(0,"CONTRACT_NUMBER");
|
||||
// var subjectIds=getItemValueArray(0,"SUBJECTID");
|
||||
var number = 0;
|
||||
if(typeof(projectId)=="undefined"||projectId==null||projectId==""){alert("请选择数据");return;}
|
||||
for(var i=0;i<projectId.length;i++){
|
||||
var param={};
|
||||
var tempParam={};
|
||||
var sparam="";
|
||||
|
||||
param["templateNo"]="69f0423f984a46128292fbd8768f557f";
|
||||
//生成文件关联关系
|
||||
tempParam["OBJECTTYPE"]="AttorneyLetter";
|
||||
tempParam["PROJECTID"]=projectId[i];
|
||||
tempParam["PROJ_ID"]=projectId[i];
|
||||
|
||||
//生成模板固定参数
|
||||
tempParam["CurUserId"]="<%=CurUser.getUserID()%>";
|
||||
tempParam["CurOrgId"]="<%=CurUser.getOrgID()%>";
|
||||
tempParam["fileSavePath"]="<%=CurConfig.getConfigure("FileSavePath")%>";
|
||||
|
||||
param["templateParam"]=JSON.stringify(tempParam).replace(/,/g,"@");//生成模板的参数据
|
||||
for(var key in param){
|
||||
if(sparam.length>0){sparam+=",";}
|
||||
sparam+=key+"="+param[key];
|
||||
}
|
||||
var deleteresult=RunJavaMethodTrans("com.tenwa.officetempalte.controller.RentNotinyDeleteAction","deletequtation","projectId="+projectId[i]+",objecttype=AttorneyLetter");
|
||||
var result=RunJavaMethodTrans("com.tenwa.officetempalte.action.CreateOfficeAction","createOfficeByTemplate",sparam);
|
||||
number++;
|
||||
}
|
||||
if(projectId.length==0){
|
||||
alert("请先选择数据!!!");
|
||||
return;
|
||||
}else if(number==0){
|
||||
alert("生成失败!!!");
|
||||
}else if(number==projectId.length){
|
||||
alert("生成成功!!!");
|
||||
}else{
|
||||
alert("部分生成成功!!!");
|
||||
}
|
||||
reloadSelf();
|
||||
}
|
||||
function lotdown(){
|
||||
var attrids=getItemValueArray(0,"attrid");
|
||||
if(typeof(attrids)=="undefined"||attrids==null||attrids==""){alert("请选择");return;}
|
||||
for( var i=0;i<attrids.length;i++){
|
||||
if(typeof(attrids[i])=="undefined"||attrids[i]==null||attrids[i]==""){
|
||||
alert("请先生成催收服务委托书再下载!");
|
||||
return;
|
||||
}
|
||||
}
|
||||
lotdownloadFile(attrids);
|
||||
|
||||
}
|
||||
function lotdownloadFile(id){
|
||||
if(!frames["downloadTemplate"]) $("<iframe name='downloadTemplate' style='display:none;'></iframe>").appendTo("body");
|
||||
window.open(sWebRootPath+"/servlet/view/DownloadZipServlet?CompClientID=<%=sCompClientID%>&id="+id, "downloadTemplate");
|
||||
}
|
||||
|
||||
|
||||
function stamp(){
|
||||
var flie = getItemValue(0,getRow(0),"FILENAME");
|
||||
if(typeof(flie)=="undefined"||flie==null||flie==""){
|
||||
alert("请先生成催收服务委托书!");
|
||||
return;
|
||||
}
|
||||
var number = 0;
|
||||
var projectIds=getItemValueArray(0,"ID");
|
||||
|
||||
for(var i=0;i<projectIds.length;i++){
|
||||
var projectId=projectIds[i];
|
||||
var result=RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignAction","TcollectionSignA","ProjectId="+projectId+",flagType=AttorneyLetter");
|
||||
if("success"==result){
|
||||
number++;
|
||||
}
|
||||
}
|
||||
|
||||
if(projectIds.length==0){
|
||||
alert("请先选择数据!!!");
|
||||
return;
|
||||
}else if(number==0){
|
||||
alert("盖章失败!!!");
|
||||
}else if(number==projectIds.length){
|
||||
alert("盖章成功!!!");
|
||||
}else{
|
||||
alert("部分盖章成功!!!");
|
||||
}
|
||||
location.reload();
|
||||
|
||||
}
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
160
WebContent/Tenwa/Lease/Flow/Comm/LBContract/ReminderLetter.jsp
Normal file
160
WebContent/Tenwa/Lease/Flow/Comm/LBContract/ReminderLetter.jsp
Normal file
@ -0,0 +1,160 @@
|
||||
<%@page import="jbo.app.tenwa.calc.LC_CALC_CONDITION_TEMP"%>
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%>
|
||||
<%@ page import="com.tenwa.doc.action.DocListInitAction" %>
|
||||
<%@ page import="com.amarsoft.app.lc.workflow.action.GetFlowAction" %>
|
||||
<%@ page import="com.amarsoft.app.util.*" %>
|
||||
<%
|
||||
/*
|
||||
Author: undefined 2016-09-01
|
||||
Content: 催告函 ReminderLetter.jsp
|
||||
History Log:
|
||||
*/
|
||||
|
||||
String userId = CurUser.getUserID();
|
||||
String orgId =CurUser.getOrgID();
|
||||
System.out.print(orgId);
|
||||
String falg = "true";
|
||||
String compClientID = request.getParameter("CompClientID");
|
||||
ASObjectModel doTemp = new ASObjectModel("ReminderLetter");
|
||||
|
||||
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
|
||||
dwTemp.Style="1"; //--设置为Grid风格--
|
||||
dwTemp.ReadOnly = "1";
|
||||
dwTemp.setPageSize(15);
|
||||
dwTemp.MultiSelect = true;
|
||||
dwTemp.genHTMLObjectWindow(userId);
|
||||
|
||||
//0、是否展示 1、 权限控制 2、 展示类型 3、按钮显示名称 4、按钮解释文字 5、按钮触发事件代码 6、 7、 8、 9、图标,CSS层叠样式 10、风格
|
||||
String sButtons[][] =null;
|
||||
sButtons=new String[][]{
|
||||
{"true","All","Button","生成催告函","生成催告函","generateQuotation()","","","","btn_icon_generate"},
|
||||
{"true","All","Button","批量下载","批量下载","lotdown()","","","","btn_icon_down"},
|
||||
{"false","All","Button","公司盖章","公司盖章","stamp()","","","",""},
|
||||
};
|
||||
|
||||
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
|
||||
<script type="text/javascript">
|
||||
|
||||
//在加载完表格后调用
|
||||
function afterSearch(){
|
||||
for(var i=0;i<getRowCount(0);i++){
|
||||
var html="";
|
||||
html+='<a onclick=downloadFile(\''+getItemValue(0,i,"attrid")+'\')><font color="blue">'+"下载     "+'</font></a>';
|
||||
getObj(0,i,"FILENAME").innerHTML=html+'<font >'+getObj(0,i,"FILENAME").innerHTML+'</font>';
|
||||
};
|
||||
|
||||
}
|
||||
function downloadFile(id){
|
||||
if(typeof(id)==undefined || id=='') {
|
||||
alert("请先生成催告函再下载!");
|
||||
return;
|
||||
}
|
||||
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 generateQuotation(){
|
||||
var projectId=getItemValueArray(0,"PROJECT_ID");
|
||||
//var contractNos=getItemValueArray(0,"CONTRACT_NUMBER");
|
||||
//var subjectIds=getItemValueArray(0,"SUBJECTID");
|
||||
var number = 0;
|
||||
if(typeof(projectId)=="undefined"||projectId==null||projectId==""){alert("请选择数据");return;}
|
||||
for(var i=0;i<projectId.length;i++){
|
||||
var param={};
|
||||
var tempParam={};
|
||||
var sparam="";
|
||||
//根据合同编号 获取主体信息
|
||||
//var subjectId = RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignAction","selectSubjectId","contractNo="+contractNos[i]);
|
||||
|
||||
//模板号
|
||||
// if("aa740e4111c111eaaa0000163e0e11e6" == subjectIds[i]){//深圳催告函模板
|
||||
// param["templateNo"]="69f0423f984a46128292fbd8768fcd2f";
|
||||
// }else if("d989246c11c111eaaa0000163e0e11e6" == subjectIds[i]){//天津催告函模板
|
||||
// param["templateNo"]="5edc6ce108494e5982c1aa0cc5c117a0";
|
||||
// }else{
|
||||
// alert("未找到对应主体信息!!!");
|
||||
// break;
|
||||
// }
|
||||
param["templateNo"]="69f0423f984a46128292fbd8768f556f";
|
||||
//生成文件关联关系
|
||||
tempParam["OBJECTTYPE"]="ReminderLetter";
|
||||
tempParam["PROJECTID"]=projectId[i];
|
||||
tempParam["PROJ_ID"]=projectId[i];
|
||||
|
||||
//生成模板固定参数
|
||||
tempParam["CurUserId"]="<%=CurUser.getUserID()%>";
|
||||
tempParam["CurOrgId"]="<%=CurUser.getOrgID()%>";
|
||||
tempParam["fileSavePath"]="<%=CurConfig.getConfigure("FileSavePath")%>";
|
||||
|
||||
param["templateParam"]=JSON.stringify(tempParam).replace(/,/g,"@");//生成模板的参数据
|
||||
for(var key in param){
|
||||
if(sparam.length>0){sparam+=",";}
|
||||
sparam+=key+"="+param[key];
|
||||
}
|
||||
var deleteresult=RunJavaMethodTrans("com.tenwa.officetempalte.controller.RentNotinyDeleteAction","deletequtation","projectId="+projectId[i]+",objecttype=ReminderLetter");
|
||||
var result=RunJavaMethodTrans("com.tenwa.officetempalte.action.CreateOfficeAction","createOfficeByTemplate",sparam);
|
||||
number++;
|
||||
}
|
||||
if(projectId.length==0){
|
||||
alert("请先选择数据!!!");
|
||||
return;
|
||||
}else if(number==0){
|
||||
alert("生成失败!!!");
|
||||
}else if(number==projectId.length){
|
||||
alert("生成成功!!!");
|
||||
}else{
|
||||
alert("部分生成成功!!!");
|
||||
}
|
||||
reloadSelf();
|
||||
}
|
||||
function lotdown(){
|
||||
var attrids=getItemValueArray(0,"attrid");
|
||||
if(typeof(attrids)=="undefined"||attrids==null||attrids==""){alert("请选择");return;}
|
||||
for( var i=0;i<attrids.length;i++){
|
||||
if(typeof(attrids[i])=="undefined"||attrids[i]==null||attrids[i]==""){
|
||||
alert("请先生成催告函再下载!");
|
||||
return;
|
||||
}
|
||||
}
|
||||
lotdownloadFile(attrids);
|
||||
|
||||
}
|
||||
function lotdownloadFile(id){
|
||||
if(!frames["downloadTemplate"]) $("<iframe name='downloadTemplate' style='display:none;'></iframe>").appendTo("body");
|
||||
window.open(sWebRootPath+"/servlet/view/DownloadZipServlet?CompClientID=<%=sCompClientID%>&id="+id, "downloadTemplate");
|
||||
}
|
||||
|
||||
|
||||
function stamp(){
|
||||
var flie = getItemValue(0,getRow(0),"FILENAME");
|
||||
if(typeof(flie)=="undefined"||flie==null||flie==""){
|
||||
alert("请先生成催告函!");
|
||||
return;
|
||||
}
|
||||
var number = 0;
|
||||
var projectIds=getItemValueArray(0,"ID");
|
||||
|
||||
for(var i=0;i<projectIds.length;i++){
|
||||
var projectId=projectIds[i];
|
||||
var result=RunJavaMethodTrans("com.tenwa.channelportal.action.ContractSignAction","TcollectionSignA","ProjectId="+projectId+",flagType=ReminderLetter");
|
||||
if("success"==result){
|
||||
number++;
|
||||
}
|
||||
}
|
||||
|
||||
if(projectIds.length==0){
|
||||
alert("请先选择数据!!!");
|
||||
return;
|
||||
}else if(number==0){
|
||||
alert("盖章失败!!!");
|
||||
}else if(number==projectIds.length){
|
||||
alert("盖章成功!!!");
|
||||
}else{
|
||||
alert("部分盖章成功!!!");
|
||||
}
|
||||
location.reload();
|
||||
|
||||
}
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
@ -5940,6 +5940,53 @@
|
||||
</manager>
|
||||
</class>
|
||||
|
||||
|
||||
<class name="REPORT_RENT_PLAN" label="租金计划-汽车" keyAttributes="">
|
||||
<attributes>
|
||||
<attribute name="rent_plan_id" label="标识" type="STRING" length="32"/>
|
||||
<attribute name="subjectname" label="主体名称" type="STRING" length="100"/>
|
||||
<attribute name="start_date" label="收支日期" type="STRING" length="32"/>
|
||||
<attribute name="contract_number" label="业务合同号" type="STRING" length="50"/>
|
||||
<attribute name="payment_number" label="投放编号" type="STRING" length="32"/>
|
||||
<attribute name="customer_name" label="承租人名称" type="STRING" length="200"/>
|
||||
<attribute name="mobile" label="手机号" type="STRING" length="32"/>
|
||||
<attribute name="project_manage" label="项目经理" type="STRING" length="32"/>
|
||||
<attribute name="project_manage_name" label="用户姓名" type="STRING" length="32"/>
|
||||
<attribute name="plan_list" label="期次" type="INT" length="10"/>
|
||||
<attribute name="plan_date" label="计划日期" type="STRING" length="32"/>
|
||||
<attribute name="rent" label="租金" type="DOUBLE" length="18" scale="2"/>
|
||||
<attribute name="corpus" label="财务本金" type="DOUBLE" length="18" scale="2"/>
|
||||
<attribute name="interest" label="财务租息" type="DOUBLE" length="18" scale="2"/>
|
||||
<attribute name="ALL_REMAIN_CORPUS" label="本期后本金余额" type="DOUBLE" length="18" scale="2"/>
|
||||
<attribute name="collect_status" label="收款状态" type="STRING" length="32"/>
|
||||
<attribute name="collect_msg" label="收款描述" type="STRING" length="200"/>
|
||||
<attribute name="batch_no" label="批量交易流水号,若拆分,以,分割" type="STRING" length="200"/>
|
||||
<attribute name="year_rate" label="年利率" type="DOUBLE" length="18" scale="6"/>
|
||||
<attribute name="batch_status" label="batch_status" type="STRING" length="3"/>
|
||||
<attribute name="batch_sn" label="batch_sn" type="STRING" length="200"/>
|
||||
<attribute name="fact_rent" label="fact_rent" type="DOUBLE" length="45" scale="2"/>
|
||||
<attribute name="fact_corpus" label="fact_corpus" type="DOUBLE" length="45" scale="2"/>
|
||||
<attribute name="fact_interest" label="fact_interest" type="DOUBLE" length="45" scale="2"/>
|
||||
<attribute name="rent_over" label="rent_over" type="DOUBLE" length="46" scale="2"/>
|
||||
<attribute name="corpus_over" label="corpus_over" type="DOUBLE" length="48" scale="2"/>
|
||||
<attribute name="interest_adjust" label="interest_adjust" type="DOUBLE" length="45" scale="2"/>
|
||||
<attribute name="interest_over" label="interest_over" type="DOUBLE" length="48" scale="2"/>
|
||||
<attribute name="fact_penalty" label="fact_penalty" type="DOUBLE" length="45" scale="2"/>
|
||||
<attribute name="penalty_adjust" label="penalty_adjust" type="DOUBLE" length="45" scale="2"/>
|
||||
<attribute name="penalty" label="penalty" type="DOUBLE" length="56" scale="2"/>
|
||||
<attribute name="distributor_name" label="经销商名称" type="STRING" length="200"/>
|
||||
<attribute name="over_days" label="over_days" type="INT" length="10"/>
|
||||
<attribute name="own_bank" label="本方银行" type="STRING" length="100"/>
|
||||
<attribute name="HIRE_DATE" label="核销日期" type="STRING" length="32"/>
|
||||
<attribute name="RemainInterest" label="RemainInterest" type="DOUBLE" length="18" scale="2"/>
|
||||
<attribute name="num" label="num" type="LONG" length="19"/>
|
||||
<attribute name="ACHIEVED_DATE" label="ACHIEVED_DATE" type="STRING" length="96"/>
|
||||
</attributes>
|
||||
<manager>
|
||||
<managerProperties>
|
||||
<property name="table" value="report_rent_plan" />
|
||||
<property name="createKey" value="true" />
|
||||
</managerProperties>
|
||||
</manager>
|
||||
</class>
|
||||
</package>
|
||||
</jbo>
|
||||
|
||||
@ -1,10 +1,12 @@
|
||||
package com.tenwa.officetempalte.controller;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import com.tenwa.channelportal.action.generativecontract.WordToPDFUtil;
|
||||
import jbo.com.tenwa.entity.comm.officetempalte.BF_TEMPLATE;
|
||||
import jbo.com.tenwa.lease.comm.LB_CONTRACT_TEMPLATE;
|
||||
|
||||
@ -210,4 +212,96 @@ public class FindNotifyAction {
|
||||
return attributeid;
|
||||
}
|
||||
|
||||
|
||||
//催告函 催收服务委托书
|
||||
public static String findFileNameByType(String projectId,String objectType) throws JBOException{
|
||||
BizObjectManager bom=JBOFactory.getBizObjectManager(jbo.app.tenwa.doc.LB_DOCRELATIVE.CLASS_NAME);
|
||||
BizObject DOCRELATIVE=bom.createQuery("PROJ_ID=:porjectId and OBJECTTYPE='"+objectType+"'").setParameter("porjectId",projectId).getSingleResult(false);
|
||||
String filename="";
|
||||
if(DOCRELATIVE!=null){
|
||||
String DOCRELATIVEid=DOCRELATIVE.getAttribute("id").toString();
|
||||
BizObjectManager bom1=JBOFactory.getBizObjectManager(jbo.app.tenwa.doc.LB_DOCLIBRARY.CLASS_NAME);
|
||||
String DOCLIBRARYid=bom1.createQuery("relative_id=:relative_id").setParameter("relative_id", DOCRELATIVEid).getSingleResult(false).getAttribute("id").toString();
|
||||
BizObjectManager bom2=JBOFactory.getBizObjectManager(jbo.app.tenwa.doc.LB_DOCATTRIBUTE.CLASS_NAME);
|
||||
filename=bom2.createQuery("library_id=:library_id").setParameter("library_id", DOCLIBRARYid).getSingleResult(false).getAttribute("filename").toString();
|
||||
}
|
||||
return filename;
|
||||
}
|
||||
|
||||
public static String findCreatimeByType(String projectId,String objectType) throws JBOException{
|
||||
String creatime="";
|
||||
|
||||
BizObjectManager bom=JBOFactory.getBizObjectManager(jbo.app.tenwa.doc.LB_DOCRELATIVE.CLASS_NAME);
|
||||
BizObject DOCRELATIVE=bom.createQuery("PROJ_ID=:porjectId and OBJECTTYPE='"+objectType+"'").setParameter("porjectId",projectId).getSingleResult(false);
|
||||
|
||||
if(DOCRELATIVE!=null){
|
||||
String DOCRELATIVEid=DOCRELATIVE.getAttribute("id").toString();
|
||||
BizObjectManager bom1=JBOFactory.getBizObjectManager(jbo.app.tenwa.doc.LB_DOCLIBRARY.CLASS_NAME);
|
||||
String DOCLIBRARYid=bom1.createQuery("relative_id=:relative_id").setParameter("relative_id", DOCRELATIVEid).getSingleResult(false).getAttribute("id").toString();
|
||||
BizObjectManager bom2=JBOFactory.getBizObjectManager(jbo.app.tenwa.doc.LB_DOCATTRIBUTE.CLASS_NAME);
|
||||
creatime=bom2.createQuery("library_id=:library_id").setParameter("library_id", DOCLIBRARYid).getSingleResult(false).getAttribute("inputtime").toString();
|
||||
}
|
||||
return creatime;
|
||||
}
|
||||
public static String findAttributeidByType(String projectId,String objectType) throws JBOException{
|
||||
String attributeid="";
|
||||
|
||||
BizObjectManager bom=JBOFactory.getBizObjectManager(jbo.app.tenwa.doc.LB_DOCRELATIVE.CLASS_NAME);
|
||||
BizObject DOCRELATIVE=bom.createQuery("PROJ_ID=:porjectId and OBJECTTYPE='"+objectType+"'").setParameter("porjectId",projectId).getSingleResult(false);
|
||||
|
||||
if(DOCRELATIVE!=null){
|
||||
String DOCRELATIVEid=DOCRELATIVE.getAttribute("id").toString();
|
||||
BizObjectManager bom1=JBOFactory.getBizObjectManager(jbo.app.tenwa.doc.LB_DOCLIBRARY.CLASS_NAME);
|
||||
String DOCLIBRARYid=bom1.createQuery("relative_id=:relative_id").setParameter("relative_id", DOCRELATIVEid).getSingleResult(false).getAttribute("id").toString();
|
||||
BizObjectManager bom2=JBOFactory.getBizObjectManager(jbo.app.tenwa.doc.LB_DOCATTRIBUTE.CLASS_NAME);
|
||||
attributeid=bom2.createQuery("library_id=:library_id").setParameter("library_id", DOCLIBRARYid).getSingleResult(false).getAttribute("id").toString();
|
||||
}
|
||||
return attributeid;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 租金通知书附件用LibreOffice实现word转换pdf
|
||||
* word转换pdf
|
||||
* @throws JBOException
|
||||
*/
|
||||
public String wordToPdfAnnex(String projectId,String objectType) throws JBOException {
|
||||
|
||||
BizObjectManager bom=JBOFactory.getBizObjectManager(jbo.app.tenwa.doc.LB_DOCRELATIVE.CLASS_NAME);
|
||||
BizObject DOCRELATIVE = null;
|
||||
if("ReminderLetter".equals(objectType)){//催告函
|
||||
DOCRELATIVE=bom.createQuery(" OBJECTTYPE='ReminderLetter' and PROJ_ID=:projectId ").setParameter("projectId",projectId).getSingleResult(false);
|
||||
}else if("AttorneyLetter".equals(objectType)){//催收服务委托书
|
||||
DOCRELATIVE=bom.createQuery(" OBJECTTYPE='AttorneyLetter' and PROJ_ID=:projectId ").setParameter("projectId",projectId).getSingleResult(false);
|
||||
}
|
||||
|
||||
BizObjectManager attrBom=JBOFactory.getBizObjectManager(jbo.app.tenwa.doc.LB_DOCATTRIBUTE.CLASS_NAME);
|
||||
BizObject attrBo=null;
|
||||
WordToPDFUtil wordTopdf = new WordToPDFUtil();
|
||||
File file = null;
|
||||
Boolean result = null;
|
||||
String sql = "";
|
||||
try {
|
||||
if (DOCRELATIVE != null) {
|
||||
|
||||
String DOCRELATIVEid=DOCRELATIVE.getAttribute("id").toString();
|
||||
BizObjectManager bom1=JBOFactory.getBizObjectManager(jbo.app.tenwa.doc.LB_DOCLIBRARY.CLASS_NAME);
|
||||
String DOCLIBRARYid=bom1.createQuery("relative_id=:relative_id").setParameter("relative_id", DOCRELATIVEid).getSingleResult(false).getAttribute("id").toString();
|
||||
attrBo = attrBom.createQuery("library_id=:library_id").setParameter("library_id", DOCLIBRARYid).getSingleResult(true);
|
||||
|
||||
String path = attrBo.getAttribute("FULLPATH").toString();
|
||||
file =new File(path);
|
||||
attrBo.setAttributeValue("FULLPATH",attrBo.getAttribute("FULLPATH").toString());
|
||||
attrBo.setAttributeValue("FILENAME",attrBo.getAttribute("FILENAME").toString());
|
||||
attrBo.setAttributeValue("FILEPATH",attrBo.getAttribute("FILEPATH").toString());
|
||||
attrBo.setAttributeValue("FileSize",file.length());
|
||||
attrBo.setAttributeValue("CONTENT_TYPE","application/pdf");
|
||||
attrBom.saveObject(attrBo);
|
||||
}
|
||||
|
||||
} catch (JBOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
return attrBo.getAttribute("ID").toString();
|
||||
}
|
||||
}
|
||||
@ -78,6 +78,10 @@ public class RentNotinyDeleteAction {
|
||||
DOCRELATIVE=bom.createQuery(" PROJ_ID=:projectId and OBJECTTYPE='LoanNotice'").setParameter("projectId",projectId).getSingleResult(false);
|
||||
}else if("ElectronicSigningConfirmation".equals(objecttype)){//µç×ÓǩԼȷÈÏÊé
|
||||
DOCRELATIVE=bom.createQuery(" PROJ_ID=:projectId and OBJECTTYPE='ElectronicSigningConfirmation'").setParameter("projectId",projectId).getSingleResult(false);
|
||||
}else if("ReminderLetter".equals(objecttype)){//´ß¸æº¯
|
||||
DOCRELATIVE=bom.createQuery(" PROJ_ID=:projectId and OBJECTTYPE='ReminderLetter'").setParameter("projectId",projectId).getSingleResult(false);
|
||||
}else if("AttorneyLetter".equals(objecttype)){//´ßÊÕ·þÎñίÍÐÊé
|
||||
DOCRELATIVE=bom.createQuery(" PROJ_ID=:projectId and OBJECTTYPE='AttorneyLetter'").setParameter("projectId",projectId).getSingleResult(false);
|
||||
}else if("contractInsurance".equals(objecttype)){
|
||||
DOCRELATIVE=bom.createQuery(" PROJ_ID=:projectId and OBJECTTYPE='contractInsurance' and PLAN_NUMBER=:plan_number").setParameter("projectId",projectId).setParameter("plan_number",plan_number).getSingleResult(false);
|
||||
}
|
||||
|
||||
168
src_jbo/jbo/com/tenwa/lease/carbrand/REPORT_RENT_PLAN.java
Normal file
168
src_jbo/jbo/com/tenwa/lease/carbrand/REPORT_RENT_PLAN.java
Normal file
@ -0,0 +1,168 @@
|
||||
package jbo.com.tenwa.lease.carbrand;
|
||||
|
||||
import java.lang.String;
|
||||
|
||||
/**
|
||||
* - JBO命名常量类<br><br>
|
||||
* Note: This file is generated by ADE tools, <em>dont</em> modify it.<br>
|
||||
|
||||
*/
|
||||
public interface REPORT_RENT_PLAN{
|
||||
/**
|
||||
* <br><br>
|
||||
* 代表本类映射的BizObjectClass
|
||||
*/
|
||||
public static final String CLASS_NAME = "jbo.com.tenwa.lease.carbrand.REPORT_RENT_PLAN";
|
||||
/**
|
||||
* 标识 STRING(32)<br>
|
||||
*/
|
||||
public static final String rent_plan_id = "rent_plan_id";
|
||||
/**
|
||||
* 主体名称 STRING(100)<br>
|
||||
*/
|
||||
public static final String subjectname = "subjectname";
|
||||
/**
|
||||
* 收支日期 STRING(32)<br>
|
||||
*/
|
||||
public static final String start_date = "start_date";
|
||||
/**
|
||||
* 业务合同号 STRING(50)<br>
|
||||
*/
|
||||
public static final String contract_number = "contract_number";
|
||||
/**
|
||||
* 投放编号 STRING(32)<br>
|
||||
*/
|
||||
public static final String payment_number = "payment_number";
|
||||
/**
|
||||
* 承租人名称 STRING(200)<br>
|
||||
*/
|
||||
public static final String customer_name = "customer_name";
|
||||
/**
|
||||
* 手机号 STRING(32)<br>
|
||||
*/
|
||||
public static final String mobile = "mobile";
|
||||
/**
|
||||
* 项目经理 STRING(32)<br>
|
||||
*/
|
||||
public static final String project_manage = "project_manage";
|
||||
/**
|
||||
* 用户姓名 STRING(32)<br>
|
||||
*/
|
||||
public static final String project_manage_name = "project_manage_name";
|
||||
/**
|
||||
* 期次 INT(10)<br>
|
||||
*/
|
||||
public static final String plan_list = "plan_list";
|
||||
/**
|
||||
* 计划日期 STRING(32)<br>
|
||||
*/
|
||||
public static final String plan_date = "plan_date";
|
||||
/**
|
||||
* 租金 DOUBLE(18)<br>
|
||||
*/
|
||||
public static final String rent = "rent";
|
||||
/**
|
||||
* 财务本金 DOUBLE(18)<br>
|
||||
*/
|
||||
public static final String corpus = "corpus";
|
||||
/**
|
||||
* 财务租息 DOUBLE(18)<br>
|
||||
*/
|
||||
public static final String interest = "interest";
|
||||
/**
|
||||
* 本期后本金余额 DOUBLE(18)<br>
|
||||
*/
|
||||
public static final String ALL_REMAIN_CORPUS = "ALL_REMAIN_CORPUS";
|
||||
/**
|
||||
* 收款状态 STRING(32)<br>
|
||||
*/
|
||||
public static final String collect_status = "collect_status";
|
||||
/**
|
||||
* 收款描述 STRING(200)<br>
|
||||
*/
|
||||
public static final String collect_msg = "collect_msg";
|
||||
/**
|
||||
* 批量交易流水号,若拆分,以,分割 STRING(200)<br>
|
||||
*/
|
||||
public static final String batch_no = "batch_no";
|
||||
/**
|
||||
* 年利率 DOUBLE(18)<br>
|
||||
*/
|
||||
public static final String year_rate = "year_rate";
|
||||
/**
|
||||
* batch_status STRING(3)<br>
|
||||
*/
|
||||
public static final String batch_status = "batch_status";
|
||||
/**
|
||||
* batch_sn STRING(200)<br>
|
||||
*/
|
||||
public static final String batch_sn = "batch_sn";
|
||||
/**
|
||||
* fact_rent DOUBLE(45)<br>
|
||||
*/
|
||||
public static final String fact_rent = "fact_rent";
|
||||
/**
|
||||
* fact_corpus DOUBLE(45)<br>
|
||||
*/
|
||||
public static final String fact_corpus = "fact_corpus";
|
||||
/**
|
||||
* fact_interest DOUBLE(45)<br>
|
||||
*/
|
||||
public static final String fact_interest = "fact_interest";
|
||||
/**
|
||||
* rent_over DOUBLE(46)<br>
|
||||
*/
|
||||
public static final String rent_over = "rent_over";
|
||||
/**
|
||||
* corpus_over DOUBLE(48)<br>
|
||||
*/
|
||||
public static final String corpus_over = "corpus_over";
|
||||
/**
|
||||
* interest_adjust DOUBLE(45)<br>
|
||||
*/
|
||||
public static final String interest_adjust = "interest_adjust";
|
||||
/**
|
||||
* interest_over DOUBLE(48)<br>
|
||||
*/
|
||||
public static final String interest_over = "interest_over";
|
||||
/**
|
||||
* fact_penalty DOUBLE(45)<br>
|
||||
*/
|
||||
public static final String fact_penalty = "fact_penalty";
|
||||
/**
|
||||
* penalty_adjust DOUBLE(45)<br>
|
||||
*/
|
||||
public static final String penalty_adjust = "penalty_adjust";
|
||||
/**
|
||||
* penalty DOUBLE(56)<br>
|
||||
*/
|
||||
public static final String penalty = "penalty";
|
||||
/**
|
||||
* 经销商名称 STRING(200)<br>
|
||||
*/
|
||||
public static final String distributor_name = "distributor_name";
|
||||
/**
|
||||
* over_days INT(10)<br>
|
||||
*/
|
||||
public static final String over_days = "over_days";
|
||||
/**
|
||||
* 本方银行 STRING(100)<br>
|
||||
*/
|
||||
public static final String own_bank = "own_bank";
|
||||
/**
|
||||
* 核销日期 STRING(32)<br>
|
||||
*/
|
||||
public static final String HIRE_DATE = "HIRE_DATE";
|
||||
/**
|
||||
* RemainInterest DOUBLE(18)<br>
|
||||
*/
|
||||
public static final String RemainInterest = "RemainInterest";
|
||||
/**
|
||||
* num LONG(19)<br>
|
||||
*/
|
||||
public static final String num = "num";
|
||||
/**
|
||||
* ACHIEVED_DATE STRING(96)<br>
|
||||
*/
|
||||
public static final String ACHIEVED_DATE = "ACHIEVED_DATE";
|
||||
}
|
||||
30
src_sql/投产SQL/v20211231/maliang20211214_已上线.sql
Normal file
30
src_sql/投产SQL/v20211231/maliang20211214_已上线.sql
Normal file
@ -0,0 +1,30 @@
|
||||
INSERT INTO `apzl`.`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 ('AttorneyLetter', '拖车委托书', NULL, '30', NULL, '1', '1', 'default', 'jbo.com.tenwa.lease.carbrand.REPORT_RENT_PLAN', 'O LEFT JOIN jbo.com.tenwa.lease.comm.LB_CONTRACT_INFO lci ON O.contract_number = lci.contract_number', 'O.batch_status=\'未完成\' and O.over_days>2 ', 'O.subjectname,O.contract_number,O.customer_name,mobile,lci.project_id', '', NULL, NULL, 'SYS_Designer', '2018/12/12 10:42:17', 'SYS_Designer', '2018/12/21 15:24:35', NULL, '1', NULL);
|
||||
INSERT INTO `apzl`.`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 ('AttorneyLetter', '1010', '1010', '1', 'O', 'subjectname', 'subjectname', 'String', NULL, '主体名称', NULL, '1', 'Text', '1', '1', NULL, NULL, NULL, '200', '1', '0', '0', '1', '1', 0, NULL, NULL, NULL, 'SYS_Designer', '2018/12/12 11:00:03', 'administrator', '2021/09/02 13:05:47', NULL, NULL, '1', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO `apzl`.`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 ('AttorneyLetter', '1020', '1020', '1', 'O', 'contract_number', 'contract_number', 'String', NULL, '合同号', NULL, '1', 'Text', '1', '1', NULL, NULL, NULL, '200', '1', '0', '0', '1', '1', 0, NULL, NULL, NULL, 'SYS_Designer', '2018/12/12 11:00:03', 'administrator', '2021/09/02 13:05:47', NULL, NULL, '1', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO `apzl`.`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 ('AttorneyLetter', '1030', '1030', '1', 'O', 'customer_name', 'customer_name', 'String', NULL, '承租人名称', NULL, '1', 'Text', '1', '1', NULL, NULL, NULL, '200', '1', '0', '0', '1', '1', 0, NULL, NULL, NULL, 'SYS_Designer', '2018/12/12 11:00:03', 'administrator', '2021/09/02 13:05:47', NULL, NULL, '1', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO `apzl`.`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 ('AttorneyLetter', '1040', '1040', '1', 'O', 'mobile', 'mobile', 'String', NULL, '电话号码', NULL, '1', 'Text', '1', '1', NULL, NULL, NULL, '200', '1', '0', '0', '1', '1', 0, NULL, NULL, NULL, 'SYS_Designer', '2018/12/12 11:00:03', 'administrator', '2021/09/02 13:05:47', NULL, NULL, '1', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO `apzl`.`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 ('AttorneyLetter', '1050', '1050', '1', 'lci', 'PROJECT_ID', 'PROJECT_ID', 'String', NULL, '项目编号', NULL, '1', 'Text', '1', '1', NULL, NULL, NULL, '32', '0', '0', '0', '1', '0', 0, NULL, NULL, NULL, 'SYS_Designer', '2018/12/12 11:04:55', 'administrator', '2021/09/02 13:05:47', NULL, NULL, '1', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO `apzl`.`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 ('AttorneyLetter', '1090', '1090', '1', NULL, 'com.tenwa.officetempalte.controller.FindNotifyAction.findFileNameByType(PROJECT_ID,\'AttorneyLetter\')', 'FILENAME', 'String', NULL, '文件名称', NULL, '1', 'Text', '1', '1', NULL, NULL, 'style={width:200px;}', NULL, '1', '0', '0', '1', '0', 0, NULL, NULL, NULL, 'SYS_Designer', '2018/12/12 11:38:18', 'administrator', '2021/09/02 13:05:47', NULL, NULL, '1', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO `apzl`.`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 ('AttorneyLetter', '1100', '1100', '1', NULL, 'com.tenwa.officetempalte.controller.FindNotifyAction.findCreatimeByType(PROJECT_ID,\'AttorneyLetter\')', 'creatime', 'String', NULL, '生成日期', NULL, '1', 'Text', '1', '1', NULL, NULL, NULL, NULL, '1', '0', '0', '1', '0', 0, NULL, NULL, NULL, 'SYS_Designer', '2018/12/12 11:38:18', 'administrator', '2021/09/02 13:05:47', NULL, NULL, '1', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO `apzl`.`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 ('AttorneyLetter', '1110', '1110', '1', NULL, 'com.tenwa.officetempalte.controller.FindNotifyAction.findAttributeidByType(PROJECT_ID,\'AttorneyLetter\')', 'attrid', 'String', NULL, 'attrid', NULL, '1', 'Text', '1', '1', NULL, NULL, NULL, NULL, '0', '0', '0', '1', '0', 0, NULL, NULL, NULL, 'SYS_Designer', '2018/12/13 10:05:23', 'administrator', '2021/09/02 13:05:47', NULL, NULL, '1', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO `apzl`.`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 ('ReminderLetter', '催告函', NULL, '30', NULL, '1', '1', 'default', 'jbo.com.tenwa.lease.carbrand.REPORT_RENT_PLAN', 'O LEFT JOIN jbo.com.tenwa.lease.comm.LB_CONTRACT_INFO lci ON O.contract_number = lci.contract_number', 'O.batch_status=\'未完成\' and O.over_days>2 ', 'O.subjectname,O.contract_number,O.customer_name,mobile,lci.project_id', '', NULL, NULL, 'SYS_Designer', '2018/12/12 10:42:17', 'SYS_Designer', '2018/12/21 15:24:35', NULL, '1', NULL);
|
||||
INSERT INTO `apzl`.`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 ('ReminderLetter', '1010', '1010', '1', 'O', 'subjectname', 'subjectname', 'String', NULL, '主体名称', NULL, '1', 'Text', '1', '1', NULL, NULL, NULL, '200', '1', '0', '0', '1', '1', 0, NULL, NULL, NULL, 'SYS_Designer', '2018/12/12 11:00:03', 'administrator', '2021/09/02 13:05:47', NULL, NULL, '1', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO `apzl`.`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 ('ReminderLetter', '1020', '1020', '1', 'O', 'contract_number', 'contract_number', 'String', NULL, '合同号', NULL, '1', 'Text', '1', '1', NULL, NULL, NULL, '200', '1', '0', '0', '1', '1', 0, NULL, NULL, NULL, 'SYS_Designer', '2018/12/12 11:00:03', 'administrator', '2021/09/02 13:05:47', NULL, NULL, '1', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO `apzl`.`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 ('ReminderLetter', '1030', '1030', '1', 'O', 'customer_name', 'customer_name', 'String', NULL, '承租人名称', NULL, '1', 'Text', '1', '1', NULL, NULL, NULL, '200', '1', '0', '0', '1', '1', 0, NULL, NULL, NULL, 'SYS_Designer', '2018/12/12 11:00:03', 'administrator', '2021/09/02 13:05:47', NULL, NULL, '1', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO `apzl`.`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 ('ReminderLetter', '1040', '1040', '1', 'O', 'mobile', 'mobile', 'String', NULL, '电话号码', NULL, '1', 'Text', '1', '1', NULL, NULL, NULL, '200', '1', '0', '0', '1', '1', 0, NULL, NULL, NULL, 'SYS_Designer', '2018/12/12 11:00:03', 'administrator', '2021/09/02 13:05:47', NULL, NULL, '1', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO `apzl`.`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 ('ReminderLetter', '1050', '1050', '1', 'lci', 'PROJECT_ID', 'PROJECT_ID', 'String', NULL, '项目编号', NULL, '1', 'Text', '1', '1', NULL, NULL, NULL, '32', '0', '0', '0', '1', '0', 0, NULL, NULL, NULL, 'SYS_Designer', '2018/12/12 11:04:55', 'administrator', '2021/09/02 13:05:47', NULL, NULL, '1', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO `apzl`.`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 ('ReminderLetter', '1090', '1090', '1', NULL, 'com.tenwa.officetempalte.controller.FindNotifyAction.findFileNameByType(PROJECT_ID,\'ReminderLetter\')', 'FILENAME', 'String', NULL, '文件名称', NULL, '1', 'Text', '1', '1', NULL, NULL, 'style={width:200px;}', NULL, '1', '0', '0', '1', '0', 0, NULL, NULL, NULL, 'SYS_Designer', '2018/12/12 11:38:18', 'administrator', '2021/09/02 13:05:47', NULL, NULL, '1', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO `apzl`.`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 ('ReminderLetter', '1100', '1100', '1', NULL, 'com.tenwa.officetempalte.controller.FindNotifyAction.findCreatimeByType(PROJECT_ID,\'ReminderLetter\')', 'creatime', 'String', NULL, '生成日期', NULL, '1', 'Text', '1', '1', NULL, NULL, NULL, NULL, '1', '0', '0', '1', '0', 0, NULL, NULL, NULL, 'SYS_Designer', '2018/12/12 11:38:18', 'administrator', '2021/09/02 13:05:47', NULL, NULL, '1', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO `apzl`.`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 ('ReminderLetter', '1110', '1110', '1', NULL, 'com.tenwa.officetempalte.controller.FindNotifyAction.findAttributeidByType(PROJECT_ID,\'ReminderLetter\')', 'attrid', 'String', NULL, 'attrid', NULL, '1', 'Text', '1', '1', NULL, NULL, NULL, NULL, '0', '0', '0', '1', '0', 0, NULL, NULL, NULL, 'SYS_Designer', '2018/12/13 10:05:23', 'administrator', '2021/09/02 13:05:47', NULL, NULL, '1', NULL, NULL, NULL, NULL);
|
||||
INSERT INTO `apzl`.`bf_template`(`ID`, `SERIALNO`, `SORTNUMBER`, `TEMPLATENAME`, `TEMPLATESHOWNAME`, `TEMPLATEPATH`, `TEMPLATETYPE`, `OPERATETYPE`, `CALLBACK`, `CREATEMETHOD`, `DOCTYPE`, `ONECLASSIFY`, `TWOCLASSIFY`, `THREECLASSIFY`, `FOURCLASSIFY`, `TEMPLATEVERSION`, `STATUS`, `REMARK`, `INPUTUSERID`, `INPUTORGID`, `INPUTTIME`, `UPDATEUSERID`, `UPDATEORGID`, `UPDATETIME`, `CREATECONDITION`, `CREATESHEETCONDITION`) VALUES ('69f0423f984a46128292fbd8768f556f', NULL, '', '催告函', '催告函{contractNo}.docx', '催告函.docx', 'word', 'create', '', NULL, '030', '030002', '', '', '', '1', '', '', 'administrator', '8009001', '2021/05/17 15:09:11', 'administrator', '8009001', '2021/12/09 10:03:08', '', '');
|
||||
INSERT INTO `apzl`.`bf_template`(`ID`, `SERIALNO`, `SORTNUMBER`, `TEMPLATENAME`, `TEMPLATESHOWNAME`, `TEMPLATEPATH`, `TEMPLATETYPE`, `OPERATETYPE`, `CALLBACK`, `CREATEMETHOD`, `DOCTYPE`, `ONECLASSIFY`, `TWOCLASSIFY`, `THREECLASSIFY`, `FOURCLASSIFY`, `TEMPLATEVERSION`, `STATUS`, `REMARK`, `INPUTUSERID`, `INPUTORGID`, `INPUTTIME`, `UPDATEUSERID`, `UPDATEORGID`, `UPDATETIME`, `CREATECONDITION`, `CREATESHEETCONDITION`) VALUES ('69f0423f984a46128292fbd8768f557f', NULL, '', '催收服务委托书', '催收服务委托书{contractNo}.docx', '催收服务委托书.docx', 'word', 'create', '', NULL, '030', '030002', '', '', '', '1', '', '', 'administrator', '8009001', '2021/05/17 15:09:11', 'administrator', '8009001', '2021/12/09 16:48:04', '', '');
|
||||
INSERT INTO `apzl`.`awe_menu_info`(`menuid`, `menuname`, `displayname`, `sortno`, `url`, `urlparam`, `target`, `style`, `isinuse`, `remark`, `inputorgid`, `inputuserid`, `inputtime`, `updateorgid`, `updateuserid`, `updatetime`, `accesstype`, `icon`, `appicon`) VALUES ('2500700060', '催告函', '催告函', '3500500060', '/Tenwa/Lease/Flow/Comm/LBContract/ReminderLetter.jsp', 'isCache=false', NULL, NULL, '1', '', '', '', '', '', '', '', '10', '', '');
|
||||
INSERT INTO `apzl`.`awe_menu_info`(`menuid`, `menuname`, `displayname`, `sortno`, `url`, `urlparam`, `target`, `style`, `isinuse`, `remark`, `inputorgid`, `inputuserid`, `inputtime`, `updateorgid`, `updateuserid`, `updatetime`, `accesstype`, `icon`, `appicon`) VALUES ('2500700070', '催收服务委托书', '催收服务委托书', '3500500070', '/Tenwa/Lease/Flow/Comm/LBContract/AttorneyLetter.jsp', 'isCache=false', NULL, NULL, '1', '', '', '', '', '', '', '', '10', '', '');
|
||||
INSERT INTO `apzl`.`bf_lableconfig`(`ID`, `TAGNUMBER`, `TAGNAME`, `TITLE`, `TAGTYPE`, `VALUETYPE`, `VALUEFIELD`, `VALUEMETHOD`, `THOUSANDSFIELD`, `ISSHOEINDEX`, `REMARK`, `INPUTUSERID`, `INPUTORGID`, `UPDATEUSERID`, `UPDATEORGID`, `INPUTTIME`, `UPDATETIME`, `OPERATORCLASS`) VALUES ('975294b526544d83b806e3fc2f2', '1000280', 'AttorneyLetter', '催收服务委托书', 'tag_type2', 'value_type3', 'subjectname,customername,certid,contract_number,td30,td1', 'SELECT\r\n lci.subjectname,\r\n ci.customername,\r\n ci.certid,\r\n lci.contract_number,\r\n date_format( date_add( now(), INTERVAL 30 DAY ), \'%Y年%m月%d日\' ) td30,\r\n date_format( now(), \'%Y年%m月%d日\' ) td1\r\nFROM\r\n LB_CONTRACT_INFO lci\r\n LEFT JOIN lb_union_lessee lul ON lci.id = lul.contract_id\r\n LEFT JOIN customer_info ci ON ci.customerid = lul.customer_id \r\nWHERE\r\n lci.project_id =:{PROJECTID}', NULL, 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'word_default_class');
|
||||
INSERT INTO `apzl`.`bf_lableconfig`(`ID`, `TAGNUMBER`, `TAGNAME`, `TITLE`, `TAGTYPE`, `VALUETYPE`, `VALUEFIELD`, `VALUEMETHOD`, `THOUSANDSFIELD`, `ISSHOEINDEX`, `REMARK`, `INPUTUSERID`, `INPUTORGID`, `UPDATEUSERID`, `UPDATEORGID`, `INPUTTIME`, `UPDATETIME`, `OPERATORCLASS`) VALUES ('975294b526544d83b806e3fc2f2', '1000280', 'AttorneyLetter', '催收服务委托书', 'tag_type2', 'value_type3', 'subjectname,customername,certid,contract_number,td30,td1', 'SELECT\r\n lci.subjectname,\r\n ci.customername,\r\n ci.certid,\r\n lci.contract_number,\r\n date_format( date_add( now(), INTERVAL 30 DAY ), \'%Y年%m月%d日\' ) td30,\r\n date_format( now(), \'%Y年%m月%d日\' ) td1\r\nFROM\r\n LB_CONTRACT_INFO lci\r\n LEFT JOIN lb_union_lessee lul ON lci.id = lul.contract_id\r\n LEFT JOIN customer_info ci ON ci.customerid = lul.customer_id \r\nWHERE\r\n lci.project_id =:{PROJECTID}', NULL, 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'word_default_class');
|
||||
INSERT INTO `apzl`.`bf_lableconfig`(`ID`, `TAGNUMBER`, `TAGNAME`, `TITLE`, `TAGTYPE`, `VALUETYPE`, `VALUEFIELD`, `VALUEMETHOD`, `THOUSANDSFIELD`, `ISSHOEINDEX`, `REMARK`, `INPUTUSERID`, `INPUTORGID`, `UPDATEUSERID`, `UPDATEORGID`, `INPUTTIME`, `UPDATETIME`, `OPERATORCLASS`) VALUES ('975294b526544d83b806e3f2', '1000281', 'AttorneyCarOne', '催收服务委托书车辆信息1', 'tag_type2', 'value_type3', 'CONTRACT_NO,PLATE_NUMBER,FRAME_NUMBER', 'SELECT\r\n lcit.CONTRACT_NO CONTRACT_NO,\r\n lclpit.plate_number PLATE_NUMBER,\r\n lect.FRAME_NUMBER FRAME_NUMBER\r\nFROM\r\n LB_CONTRACT_INFO lcit\r\n LEFT JOIN LB_EQUIPMENT_CAR lect ON lcit.id = lect.contract_id \r\n AND lect.car_attribute = \'head\'\r\n LEFT JOIN LB_CAR_LICENSE_PLATE_INFO lclpit ON lcit.id = lclpit.contract_id \r\n AND lect.frame_number = lclpit.frame_number \r\nWHERE\r\n lcit.project_id =:{PROJECTID}\r\n LIMIT 0,1', NULL, 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'word_default_class');
|
||||
INSERT INTO `apzl`.`bf_lableconfig`(`ID`, `TAGNUMBER`, `TAGNAME`, `TITLE`, `TAGTYPE`, `VALUETYPE`, `VALUEFIELD`, `VALUEMETHOD`, `THOUSANDSFIELD`, `ISSHOEINDEX`, `REMARK`, `INPUTUSERID`, `INPUTORGID`, `UPDATEUSERID`, `UPDATEORGID`, `INPUTTIME`, `UPDATETIME`, `OPERATORCLASS`) VALUES ('975294b526544d83b806e3f3', '1000282', 'AttorneyCarTwo', '催收服务委托书车辆信息2', 'tag_type2', 'value_type3', 'CONTRACT_NO,PLATE_NUMBER,FRAME_NUMBER', 'SELECT\r\n lcit.CONTRACT_NO CONTRACT_NO,\r\n lclpit.plate_number PLATE_NUMBER,\r\n lect.FRAME_NUMBER FRAME_NUMBER\r\nFROM\r\n LB_CONTRACT_INFO lcit\r\n LEFT JOIN LB_EQUIPMENT_CAR lect ON lcit.id = lect.contract_id \r\n AND lect.car_attribute = \'tail\'\r\n LEFT JOIN LB_CAR_LICENSE_PLATE_INFO lclpit ON lcit.id = lclpit.contract_id \r\n AND lect.frame_number = lclpit.frame_number \r\nWHERE\r\n lcit.project_id =:{PROJECTID}\r\n LIMIT 0,1', NULL, 'N', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'word_default_class');
|
||||
INSERT INTO `apzl`.`bf_templatelable`(`ID`, `LABLEID`, `TEMPLATEID`, `INPUTUSERID`, `INPUTORGID`, `UPDATEUSERID`, `UPDATEORGID`, `INPUTTIME`, `UPDATETIME`) VALUES ('0d5f5dd7d43f4dcc80eee08d45321f3a', '975294b526544d83b806e3fc2f1', '69f0423f984a46128292fbd8768f556f', NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
INSERT INTO `apzl`.`bf_templatelable`(`ID`, `LABLEID`, `TEMPLATEID`, `INPUTUSERID`, `INPUTORGID`, `UPDATEUSERID`, `UPDATEORGID`, `INPUTTIME`, `UPDATETIME`) VALUES ('09430d898da243a993c004a61a0ea2b3', '975294b526544d83b806e3fc2f2', '69f0423f984a46128292fbd8768f557f', NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
INSERT INTO `apzl`.`bf_templatelable`(`ID`, `LABLEID`, `TEMPLATEID`, `INPUTUSERID`, `INPUTORGID`, `UPDATEUSERID`, `UPDATEORGID`, `INPUTTIME`, `UPDATETIME`) VALUES ('97dad5d3eff9456aa4a50f6e2b1a1f20', '975294b526544d83b806e3f3', '69f0423f984a46128292fbd8768f557f', NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
INSERT INTO `apzl`.`bf_templatelable`(`ID`, `LABLEID`, `TEMPLATEID`, `INPUTUSERID`, `INPUTORGID`, `UPDATEUSERID`, `UPDATEORGID`, `INPUTTIME`, `UPDATETIME`) VALUES ('b0f90f03866740e4b6b731e1c85d5062', '975294b526544d83b806e3f2', '69f0423f984a46128292fbd8768f557f', NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
Loading…
x
Reference in New Issue
Block a user