From d89a3fa63316ac1dde59b69049a1184b042a8017 Mon Sep 17 00:00:00 2001 From: zhangbb Date: Sat, 29 Aug 2020 14:31:35 +0800 Subject: [PATCH] =?UTF-8?q?1.=E8=A1=A5=E5=85=85=E8=A7=86=E5=9B=BE=E5=92=8C?= =?UTF-8?q?sql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src_sql/view/vi_lc_rent_plan.sql | 1 + src_sql/投产SQL/v20200915/zhangbb0915.sql | 18 +++++++++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/src_sql/view/vi_lc_rent_plan.sql b/src_sql/view/vi_lc_rent_plan.sql index ac91f2223..acc42a2ee 100644 --- a/src_sql/view/vi_lc_rent_plan.sql +++ b/src_sql/view/vi_lc_rent_plan.sql @@ -8,6 +8,7 @@ SELECT lbc.contract_status AS `contract_status`, `lbc`.`BUSINESSTYPE` AS `businesstype`, `lbc`.`SUBJECTID` AS `subjectid`, + `lbc`.`distributor_id` AS `distributor_id`, `lbc`.`CONTRACT_NUMBER` AS `contract_number`, `lcf`.`PAYMENT_NUMBER` AS `payment_number`, IFNULL(`lbu`.`customername`,'') AS `customername`, diff --git a/src_sql/投产SQL/v20200915/zhangbb0915.sql b/src_sql/投产SQL/v20200915/zhangbb0915.sql index 47915b201..5b549dd43 100644 --- a/src_sql/投产SQL/v20200915/zhangbb0915.sql +++ b/src_sql/投产SQL/v20200915/zhangbb0915.sql @@ -307,7 +307,7 @@ DELIMITER ; -- ¿Í»§Ãû³ÆÑ¡Ôñ¶Ô»°¿ò delete from SELECT_CATALOG where selname='SelectCustomerByType'; -insert into SELECT_CATALOG (selname,seltype,seldescribe,seltablename,selprimarykey,selbrowsemode,selargs,selhidefield,selcode,selfieldname,selfielddisp,selreturnvalue,selfilterfield,isinuse,mutilorsingle,attribute1,attribute2,attribute3,attribute4,attribute5,inputuser,inputorg,inputtime,updateuser,updatetime,remark) Values ('SelectCustomerByType','Sql','²éѯ³Ð×âÈËÃû³Æ£¨by¿Í»§ÀàÐÍ£©','customer_info','customerid','Grid','','customerid','select customerid,customer_num,customername,itemname from (select ci.customerid,ci.customer_num,ci.customername,cl.itemname from CUSTOMER_INFO ci left join CUSTOMER_TYPE ct on ci.customerid=ct.customerid left join code_library cl on cl.itemno=ci.customertype and cl.codeno=''CustomerType'' where ct.custtype = ''cust_type.cust'' and ct.custstatus=''status02'' union all select di.distributor_no as customerid,di.distributor_coding as customer_num,di.distributor_name as customername,''¾­ÏúÉÌ'' as itemname FROM DISTRIBUTOR_INFO di) O where 1=1','¿Í»§ID,¿Í»§±àºÅ,¿Í»§Ãû³Æ,¿Í»§ÀàÐÍ','','customerid@customername','customername','1','Single','','','','','O.customername@ @ @Contains','SYS_Designer','','2019/12/02 15:03:00','SYS_Designer','2020/08/18 10:37:53',''); +Insert Into SELECT_CATALOG (selname,seltype,seldescribe,seltablename,selprimarykey,selbrowsemode,selargs,selhidefield,selcode,selfieldname,selfielddisp,selreturnvalue,selfilterfield,isinuse,mutilorsingle,attribute1,attribute2,attribute3,attribute4,attribute5,inputuser,inputorg,inputtime,updateuser,updatetime,remark) Values ('SelectCustomerByType','Sql','²éѯ³Ð×âÈËÃû³Æ£¨by¿Í»§ÀàÐÍ£©','customer_info','customerid','Grid','','customerid','select customerid,customer_num,customername,itemname from (select ci.customerid,ci.customer_num,ci.customername,cl.itemname from CUSTOMER_INFO ci left join CUSTOMER_TYPE ct on ci.customerid=ct.customerid left join code_library cl on cl.itemno=ci.customertype and cl.codeno=''CustomerType'' where ct.custtype = ''cust_type.cust'' and ct.custstatus=''status02'' union all select di.distributor_no as customerid,di.distributor_coding as customer_num,di.distributor_name as customername,''¾­ÏúÉÌ'' as itemname FROM DISTRIBUTOR_INFO di) O where 1=1','¿Í»§ID,¿Í»§±àºÅ,¿Í»§Ãû³Æ,¿Í»§ÀàÐÍ','','customerid@customername','customername','1','Single','','','','','O.customername@ @ @Contains','SYS_Designer','','2019/12/02 15:03:00','SYS_Designer','2020/08/18 10:37:53',''); -- ×ʽðÍøÒøÊÕ¿î²Ëµ¥ Insert Into AWE_MENU_INFO (menuid,menuname,displayname,sortno,url,urlparam,target,style,isinuse,remark,inputorgid,inputuserid,inputtime,updateorgid,updateuserid,updatetime,accesstype,icon,appicon) Values ('3000100065','×ʽðÍøÒøºËÏú','×ʽðÍøÒøºËÏú','3000100065','/Common/WorkFlow/ApplyMain.jsp','ComponentName=×ʽðÍøÒøÊÕ¿îÉêÇë&ComponentType=MainWindow&ApplyType=CapitalCollectionApply&isCache=false',null,null,'1','','','','','','','','10','',''); @@ -347,6 +347,22 @@ INSERT INTO `CODE_CATALOG` (`codeno`, `sortno`, `codetypeone`, `codetypetwo`, `c INSERT INTO `CODE_LIBRARY` (`codeno`, `itemno`, `itemname`, `bankno`, `sortno`, `isinuse`, `itemdescribe`, `itemattribute`, `relativecode`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`, `helptext`) VALUES('CapitalCollectionApproveMain','N','µ±Ç°¹¤×÷',NULL,'0010','1',NULL,'001',NULL,' and O.ObjectType = \'#ObjectType\' and O.FlowNo=\'#FlowNo\' and O.PhaseNo=\'#PhaseNo\' and O.UserID=\'#UserID\' and (O.FlowState<>\'INPOOL\' or O.FlowState is null) AND (O.FlowState <> \'NOTSELECT\' or O.FlowState is null) ',' and (O.EndTime is null or O.EndTime = \'\') ',NULL,'FundCollectionFlowApproval','/Tenwa/Core/FlowManager/BaseFlowList/BaseFlowApprovalList.jsp@FundCollectionFlowApproval',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ObjectWindow',NULL); INSERT INTO `CODE_LIBRARY` (`codeno`, `itemno`, `itemname`, `bankno`, `sortno`, `isinuse`, `itemdescribe`, `itemattribute`, `relativecode`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`, `helptext`) VALUES('CapitalCollectionApproveMain','Y','ÒÑÍê³É¹¤×÷',NULL,'0020','1',NULL,'001',NULL,' and O.ObjectType = \'#ObjectType\' and O.FlowNo=\'#FlowNo\' and O.PhaseNo=\'#PhaseNo\' and O.UserID=\'#UserID\' ',' and O.EndTime is not null and O.EndTime <> \'\' ',NULL,'FundCollectionFlowApproval','/Tenwa/Core/FlowManager/BaseFlowList/BaseFlowApprovalList.jsp@FundCollectionFlowApproval',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ObjectWindow',NULL); + +-- °Ñ´«Í³ÍøÒøÊÕ¿îµÄÇø·Ö¿ª +-- и´ÖÆÁËÁ½¸öÁ÷³Ìҳǩ£¬È»ºó·Åµ½´«Í³µÄÀïÃæ +Insert Into CODE_CATALOG (codeno,sortno,codetypeone,codetypetwo,codename,codedescribe,codeattribute,inputuser,inputorg,inputtime,updateuser,updatetime,remark) Values ('FundCollectionTradition010','00100090','Á÷³ÌÉóÅúÒ³Ãæ','ÍøÒøÊÕ¿î','ÔËÓª·¢Æð','','','SYS_Designer',null,'2020/08/29 14:07:37','SYS_Designer','2020/08/29 14:07:37',''); +Insert Into Code_Library (codeno,itemno,itemname,bankno,sortno,isinuse,itemdescribe,itemattribute,relativecode,attribute1,attribute2,attribute3,attribute4,attribute5,attribute6,attribute7,attribute8,inputuser,inputorg,inputtime,updateuser,updatetime,remark,helptext) Values ('FundCollectionTradition010','001','ÍøÒøÐÅÏ¢','','001','1','/Tenwa/Lease/Flow/Fund/FundCollection/LCEbankTempInfo.jsp@TempletNo=LCEbankTempInfo','','','','','','','','','','','SYS_Designer',null,'2020/08/29 14:07:37','SYS_Designer','2020/08/29 14:07:37','',''); +Insert Into Code_Library (codeno,itemno,itemname,bankno,sortno,isinuse,itemdescribe,itemattribute,relativecode,attribute1,attribute2,attribute3,attribute4,attribute5,attribute6,attribute7,attribute8,inputuser,inputorg,inputtime,updateuser,updatetime,remark,helptext) Values ('FundCollectionTradition010','002','×ʽðÊÕ¿î','','003','1','/Tenwa/Lease/Flow/Fund/FundCollection/FundIncome.jsp@TempletNo=LCFundIncomeTempList','','','','','','','','','','','SYS_Designer',null,'2020/08/29 14:07:37','SYS_Designer','2020/08/29 14:07:37','',''); +Insert Into Code_Library (codeno,itemno,itemname,bankno,sortno,isinuse,itemdescribe,itemattribute,relativecode,attribute1,attribute2,attribute3,attribute4,attribute5,attribute6,attribute7,attribute8,inputuser,inputorg,inputtime,updateuser,updatetime,remark,helptext) Values ('FundCollectionTradition010','003','×â½ðÊÕ¿î','','002','1','/Tenwa/Lease/Flow/Rent/RentIncome/RentIncome.jsp@TempletNo=LCRentIncomeTempList','','','','','','','','','','','SYS_Designer',null,'2020/08/29 14:07:37','SYS_Designer','2020/08/29 14:07:37','',''); + +Insert Into CODE_CATALOG (codeno,sortno,codetypeone,codetypetwo,codename,codedescribe,codeattribute,inputuser,inputorg,inputtime,updateuser,updatetime,remark) Values ('FundCollectionTradition020','00100100','Á÷³ÌÉóÅúÒ³Ãæ','ÍøÒøÊÕ¿î','ÔËÓª·¢Æð','','','SYS_Designer',null,'2020/08/29 14:10:55','SYS_Designer','2020/08/29 14:10:55',''); +Insert Into Code_Library (codeno,itemno,itemname,bankno,sortno,isinuse,itemdescribe,itemattribute,relativecode,attribute1,attribute2,attribute3,attribute4,attribute5,attribute6,attribute7,attribute8,inputuser,inputorg,inputtime,updateuser,updatetime,remark,helptext) Values ('FundCollectionTradition020','001','ÍøÒøÐÅÏ¢','','001','1','/Tenwa/Lease/Flow/Fund/FundCollection/LCEbankTempInfo.jsp@TempletNo=LCEbankTempInfo','','','','','','','','','','','SYS_Designer',null,'2020/08/29 14:10:55','SYS_Designer','2020/08/29 14:10:55','',''); +Insert Into Code_Library (codeno,itemno,itemname,bankno,sortno,isinuse,itemdescribe,itemattribute,relativecode,attribute1,attribute2,attribute3,attribute4,attribute5,attribute6,attribute7,attribute8,inputuser,inputorg,inputtime,updateuser,updatetime,remark,helptext) Values ('FundCollectionTradition020','002','×ʽðÊÕ¿î','','002','1','/Tenwa/Lease/Flow/Fund/FundCollection/LCFundIncomTempList.jsp@TempletNo=LCFundIncomeTempList','','','','','','','','','','','SYS_Designer',null,'2020/08/29 14:10:55','SYS_Designer','2020/08/29 14:10:55','',''); +Insert Into Code_Library (codeno,itemno,itemname,bankno,sortno,isinuse,itemdescribe,itemattribute,relativecode,attribute1,attribute2,attribute3,attribute4,attribute5,attribute6,attribute7,attribute8,inputuser,inputorg,inputtime,updateuser,updatetime,remark,helptext) Values ('FundCollectionTradition020','003','×â½ðÊÕ¿î','','003','1','/Tenwa/Lease/Flow/Rent/RentIncome/LCRentIncomeTempList.jsp@TempletNo=LCRentIncomeTempList','','','','','','','','','','','SYS_Designer',null,'2020/08/29 14:10:55','SYS_Designer','2020/08/29 14:10:55','',''); + +UPDATE flow_model SET flowpageconfig='FundCollectionTradition010' WHERE flowno='TFundCollectionFlow' AND phaseno='0010'; +UPDATE flow_model SET flowpageconfig='FundCollectionTradition020' WHERE flowno='TFundCollectionFlow' AND phaseno='0020'; + -- ¹ØÁª¹«Ë¾¸¶¿îÐÅÏ¢excelµ¼³ö -- Ä£°å insert into `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('f4c9efd00c394b35985aa4833c5f7efd',NULL,'','¹ØÁª¹«Ë¾·Å¿îÐÅÏ¢','¹ØÁª¹«Ë¾·Å¿îÐÅÏ¢.xlsx','¹ØÁª¹«Ë¾·Å¿îÄÚÈÝ.xlsx','excel','create','',NULL,'','','','','','1','','','administrator','8009001','2020/08/25 14:27:38','administrator','8009001','2020/08/25 14:43:06','','');