Revert "1.网银收款分开租金收款和资金收款"

This reverts commit f01eb996de97b9300700c9554f76ce90c957a7e2.
This commit is contained in:
zhangbb 2020-08-24 16:39:06 +08:00
parent f01eb996de
commit f5f4076686
3 changed files with 2 additions and 47 deletions

View File

@ -5,7 +5,6 @@
<script type="text/javascript">
/*~[Describe=新增记录;InputParam=无;OutPutParam=无;]~*/
function newApply(){
debugger;
var apply = "<%=CurPage.getParameter("ApplyType")%>";
var orgId="<%=CurUser.getOrgID()%>".substring(0,7);
var twoParam = "";
@ -14,7 +13,7 @@
businessType="传统";
twoParam = "空白";
}else if(orgId=="8009011"){
if(apply=="FundCollectionApply"||apply=="CapitalCollectionApply"){
if(apply=="FundCollectionApply"){
businessType="汽车";
}else if(apply=="TFundCollectionApply"){
businessType = "汽车类传统";

View File

@ -21,7 +21,7 @@
//判断业务类型
String businessType="";
String orgId=CurUser.getOrgID().substring(0,7);
if("FundCollectionApply".equals(applytype)||"CapitalCollectionApply".equals(applytype)){
if("FundCollectionApply".equals(applytype)){
businessType="1";
}else{
if("8009010".equals(orgId)){

View File

@ -1,4 +1,3 @@
-- 创建手动卡扣表
create table lc_collect_manual_info (
id varchar (32),
@ -172,11 +171,6 @@ Insert Into AWE_Role_Menu (roleid,menuid) Values ('299','3000100181');
Insert Into AWE_Role_Menu (roleid,menuid) Values ('399','3000100181');
Insert Into AWE_Role_Menu (roleid,menuid) Values ('401','3000100181');
-- 关联公司选择产品
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 ('selectProductCompany','Sql','选择公司关联产品','business_type','typeno','Grid','String product_id','','select typeno,typename from business_type where attribute2=''car_product'' and (typeno not in (select product_id from lb_productToCompany_info) or typeno=''#product_id'')','产品编号,产品名称','typename@style={width:200px;}@typeno@style={width:200px;}','typeno@typename','typeno,typename','1','Single','','','','','','SYS_Designer','','2020/08/07 17:09:40','SYS_Designer','2020/08/07 17:42:51','');
-- 资金计划表新增字段
ALTER TABLE LC_FUND_INCOME_TEMP ADD isCompany VARCHAR(2) COMMENT '是否关联公司';
ALTER TABLE LC_FUND_INCOME ADD isCompany VARCHAR(2) COMMENT '是否关联公司';
@ -284,42 +278,4 @@ 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 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','','');
Insert Into AWE_Role_Menu (roleid,menuid) Values ('099','3000100065');
Insert Into AWE_Role_Menu (roleid,menuid) Values ('299','3000100065');
Insert Into AWE_Role_Menu (roleid,menuid) Values ('399','3000100065');
Insert Into AWE_Role_Menu (roleid,menuid) Values ('800R00000057','3000100065');
-- 资金网银收款流程拷贝
insert into `flow_catalog` (`flowno`, `flowname`, `flowtype`, `flowdescribe`, `initphase`, `aaenabled`, `aapolicy`, `viewfile`, `viewfilelength`, `grouptitles`, `metaflowno`, `isinuse`, `version`, `baseflowno`, `baseflowname`, `graphjsondata`, `flowstate`) values('CapitalCollectionFlow','资金网银收款','CapitalCollectionApply','用于资金回款的网银收款','0010',NULL,NULL,NULL,NULL,NULL,NULL,'1','1','CapitalCollectionFlow',NULL,'{states:{rect1:{type:\'start\',text:{text:\'\'}, attr:{ x:489, y:17, width:50, height:50}, props:{text:{value:\'\'},key:{value:\'3585427ffa97cb4d9688df39aec2673b\'},position:{value:\'0000\'}}},rect2:{type:\'task\',text:{text:\'\'}, attr:{ x:466, y:236, width:100, height:50}, props:{text:{value:\'\'},key:{value:\'c08c4026a1f45f29d60014cf3a69f16d\'},position:{value:\'0020\'}}},rect3:{type:\'task\',text:{text:\'C端财务复核\'}, attr:{ x:468, y:340, width:100, height:50}, props:{text:{value:\'C端财务复核\'},key:{value:\'b07057c52cc13fd426bcf8675bcc2753\'},position:{value:\'0030\'}}},rect4:{type:\'end\',text:{text:\'\'}, attr:{ x:416, y:457, width:50, height:50}, props:{text:{value:\'\'},key:{value:\'cdd527f25ccb46f76c613219a036c5e2\'},position:{value:\'1000\'}}},rect5:{type:\'reject\',text:{text:\'\'}, attr:{ x:571, y:454, width:50, height:50}, props:{text:{value:\'\'},key:{value:\'8d64cd7ad1f75d2518289507fb55eef7\'},position:{value:\'8000\'}}},rect6:{type:\'task\',text:{text:\'\'}, attr:{ x:467, y:112, width:100, height:50}, props:{text:{value:\'\'},key:{value:\'dc01401694dca4518b6204125cbeadf0\'},position:{value:\'0010\'}}}},paths:{path7:{from:\'rect2\',to:\'rect3\', dots:[],text:{text:\'TO \'},textPos:{x:0,y:-10}, props:{text:{value:\'\'}}},path8:{from:\'rect3\',to:\'rect4\', dots:[],text:{text:\'TO \'},textPos:{x:0,y:-10}, props:{text:{value:\'\'}}},path9:{from:\'rect3\',to:\'rect5\', dots:[],text:{text:\'TO \'},textPos:{x:0,y:-10}, props:{text:{value:\'\'}}},path10:{from:\'rect1\',to:\'rect6\', dots:[],text:{text:\'TO \'},textPos:{x:0,y:-10}, props:{text:{value:\'\'}}},path11:{from:\'rect6\',to:\'rect2\', dots:[],text:{text:\'TO \'},textPos:{x:0,y:-10}, props:{text:{value:\'\'}}}},props:{props:{}}}','publish');
insert into `flow_model` (`flowno`, `phaseno`, `phasetype`, `phasename`, `phasedescribe`, `phaseattribute`, `prescript`, `initscript`, `choicedescribe`, `choicescript`, `actiondescribe`, `actionscript`, `postscript`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `attribute9`, `attribute10`, `aaenabled`, `aapointinitscript`, `aapointcomp`, `aapointcompurl`, `standardtime1`, `standardtime2`, `costlob`, `strips`, `checklist`, `decisionscript`, `riskscanrule`, `buttonset2`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `distributerule`, `id`, `type`, `name`, `xcoordinate`, `ycoordinate`, `width`, `height`, `version`, `swimlane`, `nodetype`, `flowphasecontext`, `OPINIONSREQUIRED`, `isreadonly`, `flowpageconfig`, `flowprocessclass`, `flowpagecheck`, `backstepnexttype`, `backsteps`, `backscript`, `deletescript`, `phasescript`, `loadproductcheck`, `nextsteps`, `flowtiptype`, `remindnoticttype`, `flowoverdate`, `overnoticetype`, `overnoticeUser`) values('CapitalCollectionFlow','0010','1010','回款初审',NULL,NULL,'!基础操作.网银信息正式到临时表(#ObjectNo,#FlowKey)+!基础操作.网银信息正式到过程表(#ObjectNo,#UserID,#OrgID,#FlowKey,#FlowName)','{#UserID}',NULL,'commroute',NULL,'[{usertype:\"指定角色\",userinfo:\"800R00000057,回款初审\"}]','#PhaseOpinion1','closePage,doSubmit,signOpinion,circulate',NULL,'all_except',NULL,NULL,NULL,'01',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0','0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'467','112','100','50','1',NULL,'TASK',NULL,'N',NULL,'CapitalCollection010',NULL,NULL,NULL,NULL,NULL,'TreeView.addDeleteCallBackSql(\"jbo.app.tenwa.calc.LC_EBANK_PROCESS\",\"delete from O where flowunid=:FlowUnid\");\r\nTreeView.addDeleteCallBackSql(\"jbo.com.tenwa.lease.comm.LC_OCCUPY_RENT_LIST\",\"delete from O where flowunid=:FlowUnid\");',NULL,NULL,'复审审核(0020)',NULL,NULL,NULL,NULL,NULL);
insert into `flow_model` (`flowno`, `phaseno`, `phasetype`, `phasename`, `phasedescribe`, `phaseattribute`, `prescript`, `initscript`, `choicedescribe`, `choicescript`, `actiondescribe`, `actionscript`, `postscript`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `attribute9`, `attribute10`, `aaenabled`, `aapointinitscript`, `aapointcomp`, `aapointcompurl`, `standardtime1`, `standardtime2`, `costlob`, `strips`, `checklist`, `decisionscript`, `riskscanrule`, `buttonset2`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `distributerule`, `id`, `type`, `name`, `xcoordinate`, `ycoordinate`, `width`, `height`, `version`, `swimlane`, `nodetype`, `flowphasecontext`, `OPINIONSREQUIRED`, `isreadonly`, `flowpageconfig`, `flowprocessclass`, `flowpagecheck`, `backstepnexttype`, `backsteps`, `backscript`, `deletescript`, `phasescript`, `loadproductcheck`, `nextsteps`, `flowtiptype`, `remindnoticttype`, `flowoverdate`, `overnoticetype`, `overnoticeUser`) values('CapitalCollectionFlow','0020','1020','复审审核',NULL,NULL,NULL,'toStringArray(\"#PhaseAction\",\",\",\" \",1)',NULL,'commroute',NULL,'[{usertype:\"指定角色\",userinfo:\"800R00000058,回款复审\"}]','#PhaseOpinion1','closePage,doSubmit,backStep,signOpinion,circulate',NULL,'all_except',NULL,NULL,NULL,'01',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0','0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'466','236','100','50','1',NULL,'TASK',NULL,'N',NULL,'CapitalCollection020',NULL,NULL,'backnextstep','回款初审(0010)',NULL,NULL,NULL,NULL,'C端财务复核(0030)',NULL,NULL,NULL,NULL,NULL);
insert into `flow_model` (`flowno`, `phaseno`, `phasetype`, `phasename`, `phasedescribe`, `phaseattribute`, `prescript`, `initscript`, `choicedescribe`, `choicescript`, `actiondescribe`, `actionscript`, `postscript`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `attribute9`, `attribute10`, `aaenabled`, `aapointinitscript`, `aapointcomp`, `aapointcompurl`, `standardtime1`, `standardtime2`, `costlob`, `strips`, `checklist`, `decisionscript`, `riskscanrule`, `buttonset2`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `distributerule`, `id`, `type`, `name`, `xcoordinate`, `ycoordinate`, `width`, `height`, `version`, `swimlane`, `nodetype`, `flowphasecontext`, `OPINIONSREQUIRED`, `isreadonly`, `flowpageconfig`, `flowprocessclass`, `flowpagecheck`, `backstepnexttype`, `backsteps`, `backscript`, `deletescript`, `phasescript`, `loadproductcheck`, `nextsteps`, `flowtiptype`, `remindnoticttype`, `flowoverdate`, `overnoticetype`, `overnoticeUser`) values('CapitalCollectionFlow','0030','1020','C端财务复核',NULL,NULL,NULL,'toStringArray(\"#PhaseAction\",\",\",\" \",1)',NULL,'selectroute',NULL,'[{usertype:\"指定角色\",userinfo:\"800R00000021,C端财务经办\"}]','#PhaseOpinion1','doSubmit,backStep,signOpinion',NULL,NULL,NULL,NULL,NULL,'01',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0','0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'468','340','100','50','1',NULL,'TASK',NULL,'Y','N','CapitalCollection020',NULL,NULL,'backnextstep','复审审核(0020)',NULL,NULL,NULL,NULL,'[{stepno:\"结束(1000)\",stepcondition:\"提交给结束\"},{stepno:\"否决(8000)\",stepcondition:\"提交给否决\"}]',NULL,NULL,NULL,NULL,NULL);
insert into `flow_model` (`flowno`, `phaseno`, `phasetype`, `phasename`, `phasedescribe`, `phaseattribute`, `prescript`, `initscript`, `choicedescribe`, `choicescript`, `actiondescribe`, `actionscript`, `postscript`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `attribute9`, `attribute10`, `aaenabled`, `aapointinitscript`, `aapointcomp`, `aapointcompurl`, `standardtime1`, `standardtime2`, `costlob`, `strips`, `checklist`, `decisionscript`, `riskscanrule`, `buttonset2`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `distributerule`, `id`, `type`, `name`, `xcoordinate`, `ycoordinate`, `width`, `height`, `version`, `swimlane`, `nodetype`, `flowphasecontext`, `OPINIONSREQUIRED`, `isreadonly`, `flowpageconfig`, `flowprocessclass`, `flowpagecheck`, `backstepnexttype`, `backsteps`, `backscript`, `deletescript`, `phasescript`, `loadproductcheck`, `nextsteps`, `flowtiptype`, `remindnoticttype`, `flowoverdate`, `overnoticetype`, `overnoticeUser`) values('CapitalCollectionFlow','1000','1040','结束',NULL,NULL,'!基础操作.网银信息临时表到正式表(#ObjectNo)+!基础操作.资金实收临时表到正式表(#ObjectNo)+!基础操作.租金实收信息临时到正式(#ObjectNo)+!基础操作.流程结束后删除对应租金计划的占用(#ObjectNo)+!基础操作.网银收款租金计划保存状态(#ObjectNo)+!审批流程.凭证输出--回款(#ObjectNo)','{\"system\"}',NULL,'commroute',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'01',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0','0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'416','457','50','50','1',NULL,'END',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
insert into `flow_model` (`flowno`, `phaseno`, `phasetype`, `phasename`, `phasedescribe`, `phaseattribute`, `prescript`, `initscript`, `choicedescribe`, `choicescript`, `actiondescribe`, `actionscript`, `postscript`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `attribute9`, `attribute10`, `aaenabled`, `aapointinitscript`, `aapointcomp`, `aapointcompurl`, `standardtime1`, `standardtime2`, `costlob`, `strips`, `checklist`, `decisionscript`, `riskscanrule`, `buttonset2`, `inputuser`, `inputtime`, `updateuser`, `updatetime`, `distributerule`, `id`, `type`, `name`, `xcoordinate`, `ycoordinate`, `width`, `height`, `version`, `swimlane`, `nodetype`, `flowphasecontext`, `OPINIONSREQUIRED`, `isreadonly`, `flowpageconfig`, `flowprocessclass`, `flowpagecheck`, `backstepnexttype`, `backsteps`, `backscript`, `deletescript`, `phasescript`, `loadproductcheck`, `nextsteps`, `flowtiptype`, `remindnoticttype`, `flowoverdate`, `overnoticetype`, `overnoticeUser`) values('CapitalCollectionFlow','8000','1050','否决',NULL,NULL,NULL,'{\"system\"}',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0','0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'571','454','50','50','1',NULL,'END',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
-- 流程页面显示
UPDATE code_library SET isinuse='0' WHERE codeno='FundCollection010' AND itemno='002';
UPDATE code_library SET isinuse='0' WHERE codeno='FundCollection020' AND itemno='002';
insert into CODE_CATALOG (codeno,sortno,codetypeone,codetypetwo,codename,codedescribe,codeattribute,inputuser,inputorg,inputtime,updateuser,updatetime,remark) Values ('CapitalCollection010','00100090','流程审批页面','资金网银收款','运营发起','','','SYS_Designer',null,'2020/08/22 18:18:17','SYS_Designer','2020/08/22 18:18:17','');
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 ('CapitalCollection010','001','网银信息','','001','1','/Tenwa/Lease/Flow/Fund/FundCollection/LCEbankTempInfo.jsp@TempletNo=LCEbankTempInfo','','','','','','','','','','','SYS_Designer',null,'2020/08/22 18:18:17','SYS_Designer','2020/08/22 18:18:17','','');
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 ('CapitalCollection010','002','资金收款','','003','1','/Tenwa/Lease/Flow/Fund/FundCollection/FundIncome.jsp@TempletNo=LCFundIncomeTempList','','','','','','','','','','','SYS_Designer',null,'2020/08/22 18:18:17','SYS_Designer','2020/08/22 18:18:17','','');
insert into CODE_CATALOG (codeno,sortno,codetypeone,codetypetwo,codename,codedescribe,codeattribute,inputuser,inputorg,inputtime,updateuser,updatetime,remark) Values ('CapitalCollection020','00100100','流程审批页面','资金网银收款','运营发起','','','SYS_Designer',null,'2020/08/22 18:20:26','SYS_Designer','2020/08/22 18:20:26','');
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 ('CapitalCollection020','001','网银信息','','001','1','/Tenwa/Lease/Flow/Fund/FundCollection/LCEbankTempInfo.jsp@TempletNo=LCEbankTempInfo','','','','','','','','','','','SYS_Designer',null,'2020/08/22 18:20:26','SYS_Designer','2020/08/22 18:20:26','','');
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 ('CapitalCollection020','002','资金收款','','002','1','/Tenwa/Lease/Flow/Fund/FundCollection/LCFundIncomTempList.jsp@TempletNo=LCFundIncomeTempList','','','','','','','','','','','SYS_Designer',null,'2020/08/22 18:20:27','SYS_Designer','2020/08/22 18:20:27','','');
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('ApplyType','CapitalCollectionApply','资金网银申请',NULL,NULL,'1','CapitalCollectionApplyMain','FlowDefaultObject',NULL,NULL,'CapitalCollectionFlow',NULL,NULL,'ButtonSetFlow',NULL,NULL,'/Tenwa/Lease/Flow/Fund/FundCollection/FundCollectionApplyList.jsp',NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `CODE_CATALOG` (`codeno`, `sortno`, `codetypeone`, `codetypetwo`, `codename`, `codedescribe`, `codeattribute`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`) VALUES('CapitalCollectionApplyMain',NULL,'申请主树图',NULL,'CapitalCollection申请主树图',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `CODE_LIBRARY` (`codeno`, `itemno`, `itemname`, `bankno`, `sortno`, `isinuse`, `itemdescribe`, `itemattribute`, `relativecode`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`, `helptext`) VALUES('CapitalCollectionApplyMain','1010','我的草稿',NULL,'1010','1','newApply,cancelApply,doSubmit,viewTab,viewFlowGraph','001',NULL,' and O.ObjectType = \'#ObjectType\' and O.PhaseType=\'#PhaseType\' and O.ApplyType=\'#ApplyType\' ',' and O.UserID=\'#UserID\' ',NULL,'FundCollectionFlowStart','/Tenwa/Lease/Flow/Fund/FundCollection/FundCollectionApplyList.jsp@FundCollectionFlowStart',NULL,NULL,NULL,NULL,NULL,NULL,'administrator','2020/08/22 18:44:34','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('CapitalCollectionApplyMain','1020','审查审批中的申请',NULL,'1020','1','viewTab,viewFlowGraph','001',NULL,' and O.ObjectType = \'#ObjectType\' and O.PhaseType=\'#PhaseType\' and O.ApplyType=\'#ApplyType\' ',' and O.UserID=\'#UserID\' ',NULL,'FundCollectionFlowStart','/Tenwa/Lease/Flow/Fund/FundCollection/FundCollectionApplyList.jsp@FundCollectionFlowStart',NULL,NULL,NULL,NULL,NULL,NULL,'administrator','2020/08/22 18:44:43','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('CapitalCollectionApplyMain','1040','审批通过的申请',NULL,'1040','1','viewTab,viewFlowGraph','001',NULL,' and O.ObjectType = \'#ObjectType\' and O.PhaseType=\'#PhaseType\' and O.ApplyType=\'#ApplyType\' ',' and O.UserID=\'#UserID\' ',NULL,'FundCollectionFlowStart','/Tenwa/Lease/Flow/Fund/FundCollection/FundCollectionApplyList.jsp@FundCollectionFlowStart',NULL,NULL,NULL,NULL,NULL,NULL,'administrator','2020/08/22 18:44:48','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('CapitalCollectionApplyMain','1050','被否决的申请',NULL,'1050','1','viewTab,viewFlowGraph','001',NULL,' and O.ObjectType = \'#ObjectType\' and O.PhaseType=\'#PhaseType\' and O.ApplyType=\'#ApplyType\' ',' and O.UserID=\'#UserID\' ',NULL,'FundCollectionFlowStart','/Tenwa/Lease/Flow/Fund/FundCollection/FundCollectionApplyList.jsp@FundCollectionFlowStart',NULL,NULL,NULL,NULL,NULL,NULL,'administrator','2020/08/22 18:44:56','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('ApproveType','CapitalCollectionApprove','资金网银审批',NULL,NULL,'1','CapitalCollectionApproveMain','FlowDefaultObject',NULL,NULL,'CapitalCollectionFlow',NULL,NULL,'ButtonSetFlow',NULL,NULL,'/Tenwa/Core/FlowManager/BaseFlowList/BaseFlowApprovalList.jsp',NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `CODE_CATALOG` (`codeno`, `sortno`, `codetypeone`, `codetypetwo`, `codename`, `codedescribe`, `codeattribute`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`) VALUES('CapitalCollectionApproveMain',NULL,'审批主树图',NULL,'CapitalCollection审批主树图',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
INSERT INTO `CODE_LIBRARY` (`codeno`, `itemno`, `itemname`, `bankno`, `sortno`, `isinuse`, `itemdescribe`, `itemattribute`, `relativecode`, `attribute1`, `attribute2`, `attribute3`, `attribute4`, `attribute5`, `attribute6`, `attribute7`, `attribute8`, `inputuser`, `inputorg`, `inputtime`, `updateuser`, `updatetime`, `remark`, `helptext`) VALUES('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);
--