diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBContract/AttorneyLetter.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBContract/AttorneyLetter.jsp
new file mode 100644
index 000000000..17309ef8d
--- /dev/null
+++ b/WebContent/Tenwa/Lease/Flow/Comm/LBContract/AttorneyLetter.jsp
@@ -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"%>
+
+<%@ include file="/Frame/resources/include/include_end.jspf"%>
\ No newline at end of file
diff --git a/WebContent/Tenwa/Lease/Flow/Comm/LBContract/ReminderLetter.jsp b/WebContent/Tenwa/Lease/Flow/Comm/LBContract/ReminderLetter.jsp
new file mode 100644
index 000000000..adfa2b118
--- /dev/null
+++ b/WebContent/Tenwa/Lease/Flow/Comm/LBContract/ReminderLetter.jsp
@@ -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"%>
+
+<%@ include file="/Frame/resources/include/include_end.jspf"%>
\ No newline at end of file
diff --git a/WebContent/WEB-INF/etc/jbo/jbo_lease.xml b/WebContent/WEB-INF/etc/jbo/jbo_lease.xml
index 9dcd8c0ef..9a1fbbc18 100644
--- a/WebContent/WEB-INF/etc/jbo/jbo_lease.xml
+++ b/WebContent/WEB-INF/etc/jbo/jbo_lease.xml
@@ -5940,6 +5940,53 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src_core/com/tenwa/officetempalte/controller/FindNotifyAction.java b/src_core/com/tenwa/officetempalte/controller/FindNotifyAction.java
index f1532c93c..022c13727 100644
--- a/src_core/com/tenwa/officetempalte/controller/FindNotifyAction.java
+++ b/src_core/com/tenwa/officetempalte/controller/FindNotifyAction.java
@@ -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();
+ }
}
\ No newline at end of file
diff --git a/src_core/com/tenwa/officetempalte/controller/RentNotinyDeleteAction.java b/src_core/com/tenwa/officetempalte/controller/RentNotinyDeleteAction.java
index 629eef786..ccd3179f1 100644
--- a/src_core/com/tenwa/officetempalte/controller/RentNotinyDeleteAction.java
+++ b/src_core/com/tenwa/officetempalte/controller/RentNotinyDeleteAction.java
@@ -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);
}
diff --git a/src_jbo/jbo/com/tenwa/lease/carbrand/REPORT_RENT_PLAN.java b/src_jbo/jbo/com/tenwa/lease/carbrand/REPORT_RENT_PLAN.java
new file mode 100644
index 000000000..d2adf32e9
--- /dev/null
+++ b/src_jbo/jbo/com/tenwa/lease/carbrand/REPORT_RENT_PLAN.java
@@ -0,0 +1,168 @@
+package jbo.com.tenwa.lease.carbrand;
+
+import java.lang.String;
+
+/**
+* - JBO命名常量类
+* Note: This file is generated by ADE tools, dont modify it.
+
+*/
+public interface REPORT_RENT_PLAN{
+ /**
+ *
+ * 代表本类映射的BizObjectClass
+ */
+ public static final String CLASS_NAME = "jbo.com.tenwa.lease.carbrand.REPORT_RENT_PLAN";
+ /**
+ * 标识 STRING(32)
+ */
+ public static final String rent_plan_id = "rent_plan_id";
+ /**
+ * 主体名称 STRING(100)
+ */
+ public static final String subjectname = "subjectname";
+ /**
+ * 收支日期 STRING(32)
+ */
+ public static final String start_date = "start_date";
+ /**
+ * 业务合同号 STRING(50)
+ */
+ public static final String contract_number = "contract_number";
+ /**
+ * 投放编号 STRING(32)
+ */
+ public static final String payment_number = "payment_number";
+ /**
+ * 承租人名称 STRING(200)
+ */
+ public static final String customer_name = "customer_name";
+ /**
+ * 手机号 STRING(32)
+ */
+ public static final String mobile = "mobile";
+ /**
+ * 项目经理 STRING(32)
+ */
+ public static final String project_manage = "project_manage";
+ /**
+ * 用户姓名 STRING(32)
+ */
+ public static final String project_manage_name = "project_manage_name";
+ /**
+ * 期次 INT(10)
+ */
+ public static final String plan_list = "plan_list";
+ /**
+ * 计划日期 STRING(32)
+ */
+ public static final String plan_date = "plan_date";
+ /**
+ * 租金 DOUBLE(18)
+ */
+ public static final String rent = "rent";
+ /**
+ * 财务本金 DOUBLE(18)
+ */
+ public static final String corpus = "corpus";
+ /**
+ * 财务租息 DOUBLE(18)
+ */
+ public static final String interest = "interest";
+ /**
+ * 本期后本金余额 DOUBLE(18)
+ */
+ public static final String ALL_REMAIN_CORPUS = "ALL_REMAIN_CORPUS";
+ /**
+ * 收款状态 STRING(32)
+ */
+ public static final String collect_status = "collect_status";
+ /**
+ * 收款描述 STRING(200)
+ */
+ public static final String collect_msg = "collect_msg";
+ /**
+ * 批量交易流水号,若拆分,以,分割 STRING(200)
+ */
+ public static final String batch_no = "batch_no";
+ /**
+ * 年利率 DOUBLE(18)
+ */
+ public static final String year_rate = "year_rate";
+ /**
+ * batch_status STRING(3)
+ */
+ public static final String batch_status = "batch_status";
+ /**
+ * batch_sn STRING(200)
+ */
+ public static final String batch_sn = "batch_sn";
+ /**
+ * fact_rent DOUBLE(45)
+ */
+ public static final String fact_rent = "fact_rent";
+ /**
+ * fact_corpus DOUBLE(45)
+ */
+ public static final String fact_corpus = "fact_corpus";
+ /**
+ * fact_interest DOUBLE(45)
+ */
+ public static final String fact_interest = "fact_interest";
+ /**
+ * rent_over DOUBLE(46)
+ */
+ public static final String rent_over = "rent_over";
+ /**
+ * corpus_over DOUBLE(48)
+ */
+ public static final String corpus_over = "corpus_over";
+ /**
+ * interest_adjust DOUBLE(45)
+ */
+ public static final String interest_adjust = "interest_adjust";
+ /**
+ * interest_over DOUBLE(48)
+ */
+ public static final String interest_over = "interest_over";
+ /**
+ * fact_penalty DOUBLE(45)
+ */
+ public static final String fact_penalty = "fact_penalty";
+ /**
+ * penalty_adjust DOUBLE(45)
+ */
+ public static final String penalty_adjust = "penalty_adjust";
+ /**
+ * penalty DOUBLE(56)
+ */
+ public static final String penalty = "penalty";
+ /**
+ * 经销商名称 STRING(200)
+ */
+ public static final String distributor_name = "distributor_name";
+ /**
+ * over_days INT(10)
+ */
+ public static final String over_days = "over_days";
+ /**
+ * 本方银行 STRING(100)
+ */
+ public static final String own_bank = "own_bank";
+ /**
+ * 核销日期 STRING(32)
+ */
+ public static final String HIRE_DATE = "HIRE_DATE";
+ /**
+ * RemainInterest DOUBLE(18)
+ */
+ public static final String RemainInterest = "RemainInterest";
+ /**
+ * num LONG(19)
+ */
+ public static final String num = "num";
+ /**
+ * ACHIEVED_DATE STRING(96)
+ */
+ public static final String ACHIEVED_DATE = "ACHIEVED_DATE";
+}
\ No newline at end of file
diff --git a/src_sql/鎶曚骇SQL/v20211231/maliang20211214_宸蹭笂绾.sql b/src_sql/鎶曚骇SQL/v20211231/maliang20211214_宸蹭笂绾.sql
new file mode 100644
index 000000000..85d742e98
--- /dev/null
+++ b/src_sql/鎶曚骇SQL/v20211231/maliang20211214_宸蹭笂绾.sql
@@ -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);