--消息中心
--领料申请单
IF NOT EXISTS (SELECT 1 FROM T_WF_BILLSUBJECTMODEL WHERE FFORMKEY = 'im_materialreqbill') 
 INSERT INTO T_WF_BILLSUBJECTMODEL(FMODIFYDATE,FBILLSUBJECTMOB,FBILLSUBJECT,FBIZTRACENO,FFORMKEY,FREFERORGANIZATION,FBILLSUBMOBNAME,FSUBJECTSHOWNAME,FBILLID,FBIZTRACENODESC,FPERMISSIONSPLUGIN,FID,FPUSHSTATUSPLUGIN,FCREATEDATE,FMOBILEFORMKEY,FFORMKEYNAME,FBILLSUBJECTNAME,FENTITYNUMBER,FMAINFIELD,FMOBILEFORMKEYNAME,FMODIFIERID,FBILLNAME,FBUSINESSFIELDMAPPINGINFO,FCREATORID,FSAMPLE) 
VALUES ({ts'2022-06-29  00:00:00'},' ','[{"sv_rule":"","customSubject":"{org.name} {applydept.name} {applyuser.name} 领料申请单 ({billno})","rule":"","type":"expression","scene":"task"}]',' ','im_materialreqbill','ENTI_org',' ','{org.name} {applydept.name} {applyuser.name} 领料申请单 ({billno})','05OMY9VZ33W4',' ',' ',1453461576005801984,' ',{ts'2022-06-29  00:00:00'},'im_materialreqbill_mob','领料申请单(im_materialreqbill)',' ','im_materialreqbill',' ','领料申请单(im_materialreqbill_mob)',13466739,'领料申请单',' ',13466739,' '); 

DELETE FROM T_WF_BILLSUBJECTMODEL_L WHERE FPKID = '2JID0MRHFC0W';
INSERT INTO T_WF_BILLSUBJECTMODEL_L(FID,FPKID,FBILLSUBJECTMOB,FBILLSUBJECT,FFORMKEYNAME,FBILLSUBJECTNAME,FBILLSUBMOBNAME,FSUBJECTSHOWNAME,FLOCALEID,FMOBILEFORMKEYNAME,FBIZTRACENODESC,FBILLNAME,FSAMPLE) VALUES (1453461576005801984,'2JID0MRHFC0W',' ','[{"sv_rule":"","customSubject":"{org.name} {applydept.name} {applyuser.name} 领料申请单 ({billno})","rule":"","type":"expression","scene":"task"}]','领料申请单(im_materialreqbill)',' ',' ','{org.name} {applydept.name} {applyuser.name} 领料申请单 ({billno})','zh_TW','领料申请单(im_materialreqbill)_移动表单(im_materialreqbill_mob)',' ','領料申請單',' '); 
DELETE FROM T_WF_BILLSUBJECTMODEL_L WHERE FPKID = '2JID0MRHFC0X';
INSERT INTO T_WF_BILLSUBJECTMODEL_L(FID,FPKID,FBILLSUBJECTMOB,FBILLSUBJECT,FFORMKEYNAME,FBILLSUBJECTNAME,FBILLSUBMOBNAME,FSUBJECTSHOWNAME,FLOCALEID,FMOBILEFORMKEYNAME,FBIZTRACENODESC,FBILLNAME,FSAMPLE) VALUES (1453461576005801984,'2JID0MRHFC0X',' ','[{"sv_rule":"","customSubject":"{org.name} {applydept.name} {applyuser.name} 领料申请单 ({billno})","rule":"","type":"expression","scene":"task"}]','领料申请单(im_materialreqbill)',' ',' ','{org.name} {applydept.name} {applyuser.name} 领料申请单 ({billno})','en_US','领料申请单(im_materialreqbill)_移动表单(im_materialreqbill_mob)',' ','领料申请单',' '); 
DELETE FROM T_WF_BILLSUBJECTMODEL_L WHERE FPKID = '2JID0MRHFC0Y';
INSERT INTO T_WF_BILLSUBJECTMODEL_L(FID,FPKID,FBILLSUBJECTMOB,FBILLSUBJECT,FFORMKEYNAME,FBILLSUBJECTNAME,FBILLSUBMOBNAME,FSUBJECTSHOWNAME,FLOCALEID,FMOBILEFORMKEYNAME,FBIZTRACENODESC,FBILLNAME,FSAMPLE) VALUES (1453461576005801984,'2JID0MRHFC0Y',' ','[{"sv_rule":"","customSubject":"{org.name} {applydept.name} {applyuser.name} 领料申请单 ({billno})","rule":"","type":"expression","scene":"task"}]','领料申请单(im_materialreqbill)',' ',' ','{org.name} {applydept.name} {applyuser.name} 领料申请单 ({billno})','zh_CN','领料申请单(im_materialreqbill)_移动表单(im_materialreqbill_mob)',' ','领料申请单',' '); 

--调拨申请单
IF NOT EXISTS (SELECT 1 FROM T_WF_BILLSUBJECTMODEL WHERE FFORMKEY = 'im_transapply') 
 INSERT INTO T_WF_BILLSUBJECTMODEL(FMODIFYDATE,FBILLSUBJECTMOB,FBILLSUBJECT,FBIZTRACENO,FFORMKEY,FREFERORGANIZATION,FBILLSUBMOBNAME,FSUBJECTSHOWNAME,FBILLID,FBIZTRACENODESC,FPERMISSIONSPLUGIN,FID,FPUSHSTATUSPLUGIN,FCREATEDATE,FMOBILEFORMKEY,FFORMKEYNAME,FBILLSUBJECTNAME,FENTITYNUMBER,FMAINFIELD,FMOBILEFORMKEYNAME,FMODIFIERID,FBILLNAME,FBUSINESSFIELDMAPPINGINFO,FCREATORID,FSAMPLE) VALUES ({ts'2022-06-29  00:00:00'},' ','[{"sv_rule":"","customSubject":"{org.name} {applydept.name} {applyuser.name} 调拨申请单 ({billno})","rule":"","type":"expression","scene":"task"}]',' ','im_transapply','ENTI_org',' ','{org.name} {applydept.name} {applyuser.name} 调拨申请单 ({billno})','/G9GM22GT835',' ',' ',1453463140489580544,' ',{ts'2022-06-29  00:00:00'},'im_transapply_mob','调拨申请单(im_transapply)',' ','im_transapply',' ','调拨申请单(im_transapply)_移动表单(im_transapply_mob)',13466739,'调拨申请单',' ',13466739,' '); 

DELETE FROM T_WF_BILLSUBJECTMODEL_L WHERE FPKID = '2JIDB0C+NOMB'; 
INSERT INTO T_WF_BILLSUBJECTMODEL_L(FID,FPKID,FBILLSUBJECTMOB,FBILLSUBJECT,FFORMKEYNAME,FBILLSUBJECTNAME,FBILLSUBMOBNAME,FSUBJECTSHOWNAME,FLOCALEID,FMOBILEFORMKEYNAME,FBIZTRACENODESC,FBILLNAME,FSAMPLE) VALUES (1453463140489580544,'2JIDB0C+NOMB',' ','[{"sv_rule":"","customSubject":"{org.name} {applydept.name} {applyuser.name} 调拨申请单 ({billno})","rule":"","type":"expression","scene":"task"}]','调拨申请单(im_transapply)',' ',' ','{org.name} {applydept.name} {applyuser.name} 调拨申请单 ({billno})','zh_TW','调拨申请单(im_transapply)_移动表单(im_transapply_mob)',' ','調撥申請單',' '); 
DELETE FROM T_WF_BILLSUBJECTMODEL_L WHERE FPKID = '2JIDB0C+NOMC'; 
INSERT INTO T_WF_BILLSUBJECTMODEL_L(FID,FPKID,FBILLSUBJECTMOB,FBILLSUBJECT,FFORMKEYNAME,FBILLSUBJECTNAME,FBILLSUBMOBNAME,FSUBJECTSHOWNAME,FLOCALEID,FMOBILEFORMKEYNAME,FBIZTRACENODESC,FBILLNAME,FSAMPLE) VALUES (1453463140489580544,'2JIDB0C+NOMC',' ','[{"sv_rule":"","customSubject":"{org.name} {applydept.name} {applyuser.name} 调拨申请单 ({billno})","rule":"","type":"expression","scene":"task"}]','调拨申请单(im_transapply)',' ',' ','{org.name} {applydept.name} {applyuser.name} 调拨申请单 ({billno})','en_US','调拨申请单(im_transapply)_移动表单(im_transapply_mob)',' ','调拨申请单',' '); 
DELETE FROM T_WF_BILLSUBJECTMODEL_L WHERE FPKID = '2JIDB0C+NOMD'; 
INSERT INTO T_WF_BILLSUBJECTMODEL_L(FID,FPKID,FBILLSUBJECTMOB,FBILLSUBJECT,FFORMKEYNAME,FBILLSUBJECTNAME,FBILLSUBMOBNAME,FSUBJECTSHOWNAME,FLOCALEID,FMOBILEFORMKEYNAME,FBIZTRACENODESC,FBILLNAME,FSAMPLE) VALUES (1453463140489580544,'2JIDB0C+NOMD',' ','[{"sv_rule":"","customSubject":"{org.name} {applydept.name} {applyuser.name} 调拨申请单 ({billno})","rule":"","type":"expression","scene":"task"}]','调拨申请单(im_transapply)',' ',' ','{org.name} {applydept.name} {applyuser.name} 调拨申请单 ({billno})','zh_CN','调拨申请单(im_transapply)_移动表单(im_transapply_mob)',' ','调拨申请单',' '); 

--单据摘要
--领料申请单
DELETE FROM t_wf_mbillsummarycfg WHERE FID = 1453618681916512256;
INSERT INTO t_wf_mbillsummarycfg(FID,FTPLNAME,FSCENE,FMASTERID,FSTATUS,FNUMBER,FCREATETIME,FSUMMARYTPL,FMODIFIERID,FENABLE,FBILLTYPE,FDEFAULTDATAROWS,FMODIFYTIME,FCREATORID,FDEFAULTROWS) VALUES (1453618681916512256,'单据关系图卡片模板','billRelationCardSummary',1453618681916512256,'A','im_materialreqbill_BBC_S',{ts'2022-06-29  00:00:00'},'bpm_billrelation_cardtpl',1164445317291206656,'1','im_materialreqbill',3,{ts'2022-06-29  00:00:00'},1164445317291206656,6); 

DELETE FROM t_wf_mbillsumarycfgentry WHERE FENTRYID = 1453618681958455296;
INSERT INTO t_wf_mbillsumarycfgentry(FID,FFONTSIZE,FENTRYLOCATION,FENTRYID,FFIELDID,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FEDITABLE,FFIELDPERCEN,FAGGREGATEFUNCTION,FFIELDKEY,FSEQ,FSHOWCONTENT,FISDEFAULTSHOW) VALUES (1453618681916512256,0,' ',1453618681958455296,' ',' ',' ','0',' ','0',' ',' ',' ',1,'申请组织: {model.org.name}','1'); 
DELETE FROM t_wf_mbillsumarycfgentry WHERE FENTRYID = 1453618681958455297;
INSERT INTO t_wf_mbillsumarycfgentry(FID,FFONTSIZE,FENTRYLOCATION,FENTRYID,FFIELDID,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FEDITABLE,FFIELDPERCEN,FAGGREGATEFUNCTION,FFIELDKEY,FSEQ,FSHOWCONTENT,FISDEFAULTSHOW) VALUES (1453618681916512256,0,' ',1453618681958455297,' ',' ',' ','0',' ','0',' ',' ',' ',2,'申请人: {model.applyuser.name}','1'); 
DELETE FROM t_wf_mbillsumarycfgentry WHERE FENTRYID = 1453618681958455298;
INSERT INTO t_wf_mbillsumarycfgentry(FID,FFONTSIZE,FENTRYLOCATION,FENTRYID,FFIELDID,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FEDITABLE,FFIELDPERCEN,FAGGREGATEFUNCTION,FFIELDKEY,FSEQ,FSHOWCONTENT,FISDEFAULTSHOW) VALUES (1453618681916512256,0,' ',1453618681958455298,' ',' ',' ','0',' ','0',' ',' ',' ',3,'业务日期: {model.biztime}','1'); 

DELETE FROM t_wf_mbillsummarycfg_L WHERE FPKID = '2JJ4DG0N5O34';
INSERT INTO t_wf_mbillsummarycfg_L(FID,FPKID,FLOCALEID,FNAME) VALUES (1453618681916512256,'2JJ4DG0N5O34','en_US','领料申请单_卡片'); 
DELETE FROM t_wf_mbillsummarycfg_L WHERE FPKID = '2JJ4DG0N5O32';
INSERT INTO t_wf_mbillsummarycfg_L(FID,FPKID,FLOCALEID,FNAME) VALUES (1453618681916512256,'2JJ4DG0N5O32','zh_CN','领料申请单_卡片'); 
DELETE FROM t_wf_mbillsummarycfg_L WHERE FPKID = '2JJ4DG0N5O33';
INSERT INTO t_wf_mbillsummarycfg_L(FID,FPKID,FLOCALEID,FNAME) VALUES (1453618681916512256,'2JJ4DG0N5O33','zh_TW','領料申請單_卡片'); 
--领料出库单
DELETE FROM T_WF_MBILLSUMMARYCFG WHERE FID = 1453619888408055808;
INSERT INTO T_WF_MBILLSUMMARYCFG(FID,FTPLNAME,FSCENE,FMASTERID,FSTATUS,FNUMBER,FCREATETIME,FSUMMARYTPL,FENABLE,FMODIFIERID,FDEFAULTDATAROWS,FBILLTYPE,FMODIFYTIME,FDEFAULTROWS,FCREATORID) VALUES (1453619888408055808,'单据关系图卡片模板','billRelationCardSummary',1453619888408055808,'A','im_materialreqoutbill_BBC_S',{ts'2022-06-29  00:00:00'},'bpm_billrelation_cardtpl','1',1164445317291206656,3,'im_materialreqoutbill',{ts'2022-06-29  00:00:00'},6,1164445317291206656); 

DELETE FROM T_WF_MBILLSUMARYCFGENTRY WHERE FENTRYID = 1453619888433221632;
INSERT INTO T_WF_MBILLSUMARYCFGENTRY(FID,FFONTSIZE,FENTRYLOCATION,FENTRYID,FFIELDID,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1453619888408055808,0,' ',1453619888433221632,' ',' ',' ','0',' ',' ','0',' ',' ',1,'1','库存组织: {model.org.name}'); 
DELETE FROM T_WF_MBILLSUMARYCFGENTRY WHERE FENTRYID = 1453619888433221633;
INSERT INTO T_WF_MBILLSUMARYCFGENTRY(FID,FFONTSIZE,FENTRYLOCATION,FENTRYID,FFIELDID,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1453619888408055808,0,' ',1453619888433221633,' ',' ',' ','0',' ',' ','0',' ',' ',2,'1','库管员: {model.operator.operatorname}'); 
DELETE FROM T_WF_MBILLSUMARYCFGENTRY WHERE FENTRYID = 1453619888433221634;
INSERT INTO T_WF_MBILLSUMARYCFGENTRY(FID,FFONTSIZE,FENTRYLOCATION,FENTRYID,FFIELDID,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1453619888408055808,0,' ',1453619888433221634,' ',' ',' ','0',' ',' ','0',' ',' ',3,'1','业务日期: {model.biztime}'); 

DELETE FROM t_wf_mbillsummarycfg_L WHERE FPKID = '2JJ4M8XLSE/0';
INSERT INTO t_wf_mbillsummarycfg_L(FID,FPKID,FLOCALEID,FNAME) VALUES (1453619888408055808,'2JJ4M8XLSE/0','en_US','领料出库单_卡片'); 
DELETE FROM t_wf_mbillsummarycfg_L WHERE FPKID = '2JJ4M8XLSE/+';
INSERT INTO t_wf_mbillsummarycfg_L(FID,FPKID,FLOCALEID,FNAME) VALUES (1453619888408055808,'2JJ4M8XLSE/+','zh_CN','领料出库单_卡片'); 
DELETE FROM t_wf_mbillsummarycfg_L WHERE FPKID = '2JJ4M8XLSE//';
INSERT INTO t_wf_mbillsummarycfg_L(FID,FPKID,FLOCALEID,FNAME) VALUES (1453619888408055808,'2JJ4M8XLSE//','zh_TW','領料出庫單_卡片'); 


--调拨申请
DELETE FROM T_WF_MBILLSUMMARYCFG WHERE FID = 1453622036453742592;
INSERT INTO T_WF_MBILLSUMMARYCFG(FID,FTPLNAME,FSCENE,FMASTERID,FSTATUS,FNUMBER,FCREATETIME,FSUMMARYTPL,FENABLE,FMODIFIERID,FDEFAULTDATAROWS,FBILLTYPE,FMODIFYTIME,FDEFAULTROWS,FCREATORID) VALUES (1453622036453742592,'单据关系图卡片模板','billRelationCardSummary',1453622036453742592,'A','im_transapply_BBC_S',{ts'2022-06-29  00:00:00'},'bpm_billrelation_cardtpl','1',1164445317291206656,3,'im_transapply',{ts'2022-06-29  00:00:00'},6,1164445317291206656); 

DELETE FROM T_WF_MBILLSUMARYCFGENTRY WHERE FENTRYID = 1453622036512462848;
INSERT INTO T_WF_MBILLSUMARYCFGENTRY(FID,FFONTSIZE,FENTRYLOCATION,FENTRYID,FFIELDID,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1453622036453742592,0,' ',1453622036512462848,' ',' ',' ','0',' ',' ','0',' ',' ',1,'1','申请组织: {model.org.name}'); 
DELETE FROM T_WF_MBILLSUMARYCFGENTRY WHERE FENTRYID = 1453622036512462849;
INSERT INTO T_WF_MBILLSUMARYCFGENTRY(FID,FFONTSIZE,FENTRYLOCATION,FENTRYID,FFIELDID,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1453622036453742592,0,' ',1453622036512462849,' ',' ',' ','0',' ',' ','0',' ',' ',2,'1','申请人: {model.applyuser.name}'); 
DELETE FROM T_WF_MBILLSUMARYCFGENTRY WHERE FENTRYID = 1453622036512462850;
INSERT INTO T_WF_MBILLSUMARYCFGENTRY(FID,FFONTSIZE,FENTRYLOCATION,FENTRYID,FFIELDID,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1453622036453742592,0,' ',1453622036512462850,' ',' ',' ','0',' ',' ','0',' ',' ',3,'1','业务日期: {model.biztime}'); 

DELETE FROM t_wf_mbillsummarycfg_L WHERE FPKID = '2JJ5/XCV2+9+';
INSERT INTO t_wf_mbillsummarycfg_L(FID,FPKID,FLOCALEID,FNAME) VALUES (1453622036453742592,'2JJ5/XCV2+9+','en_US','调拨申请单_卡片'); 
DELETE FROM t_wf_mbillsummarycfg_L WHERE FPKID = '2JJ5/XCV2+8Y';
INSERT INTO t_wf_mbillsummarycfg_L(FID,FPKID,FLOCALEID,FNAME) VALUES (1453622036453742592,'2JJ5/XCV2+8Y','zh_CN','调拨申请单_卡片'); 
DELETE FROM t_wf_mbillsummarycfg_L WHERE FPKID = '2JJ5/XCV2+8Z';
INSERT INTO t_wf_mbillsummarycfg_L(FID,FPKID,FLOCALEID,FNAME) VALUES (1453622036453742592,'2JJ5/XCV2+8Z','zh_TW','調撥申請單_卡片'); 
--直接调拨
DELETE FROM T_WF_MBILLSUMMARYCFG WHERE FID = 1453622961692037120;
INSERT INTO T_WF_MBILLSUMMARYCFG(FID,FTPLNAME,FSCENE,FMASTERID,FSTATUS,FNUMBER,FCREATETIME,FSUMMARYTPL,FENABLE,FMODIFIERID,FDEFAULTDATAROWS,FBILLTYPE,FMODIFYTIME,FDEFAULTROWS,FCREATORID) VALUES (1453622961692037120,'单据关系图卡片模板','billRelationCardSummary',1453622961692037120,'A','im_transdirbill_BBC_S',{ts'2022-06-29  00:00:00'},'bpm_billrelation_cardtpl','1',1164445317291206656,3,'im_transdirbill',{ts'2022-06-29  00:00:00'},6,1164445317291206656); 

DELETE FROM T_WF_MBILLSUMARYCFGENTRY WHERE FENTRYID = 1453622961725591552;
INSERT INTO T_WF_MBILLSUMARYCFGENTRY(FID,FFONTSIZE,FENTRYLOCATION,FENTRYID,FFIELDID,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1453622961692037120,0,' ',1453622961725591552,' ',' ',' ','0',' ',' ','0',' ',' ',1,'1','调出组织: {model.outorg.name}'); 
DELETE FROM T_WF_MBILLSUMARYCFGENTRY WHERE FENTRYID = 1453622961725591553;
INSERT INTO T_WF_MBILLSUMARYCFGENTRY(FID,FFONTSIZE,FENTRYLOCATION,FENTRYID,FFIELDID,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1453622961692037120,0,' ',1453622961725591553,' ',' ',' ','0',' ',' ','0',' ',' ',2,'1','调入组织: {model.org.name}'); 
DELETE FROM T_WF_MBILLSUMARYCFGENTRY WHERE FENTRYID = 1453622961725591554;
INSERT INTO T_WF_MBILLSUMARYCFGENTRY(FID,FFONTSIZE,FENTRYLOCATION,FENTRYID,FFIELDID,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1453622961692037120,0,' ',1453622961725591554,' ',' ',' ','0',' ',' ','0',' ',' ',3,'1','业务日期: {model.biztime}'); 

DELETE FROM t_wf_mbillsummarycfg_L WHERE FPKID = '2JJ56NAFHM8I';
INSERT INTO t_wf_mbillsummarycfg_L(FID,FPKID,FLOCALEID,FNAME) VALUES (1453622961692037120,'2JJ56NAFHM8I','en_US','直接调拨单_卡片'); 
DELETE FROM t_wf_mbillsummarycfg_L WHERE FPKID = '2JJ56NAFHM8G';
INSERT INTO t_wf_mbillsummarycfg_L(FID,FPKID,FLOCALEID,FNAME) VALUES (1453622961692037120,'2JJ56NAFHM8G','zh_CN','直接调拨单_卡片'); 
DELETE FROM t_wf_mbillsummarycfg_L WHERE FPKID = '2JJ56NAFHM8H';
INSERT INTO t_wf_mbillsummarycfg_L(FID,FPKID,FLOCALEID,FNAME) VALUES (1453622961692037120,'2JJ56NAFHM8H','zh_TW','直接調撥單_卡片'); 

--分布调入
DELETE FROM T_WF_MBILLSUMMARYCFG WHERE FID = 1453624344889610240;
INSERT INTO T_WF_MBILLSUMMARYCFG(FID,FTPLNAME,FSCENE,FMASTERID,FSTATUS,FNUMBER,FCREATETIME,FSUMMARYTPL,FENABLE,FMODIFIERID,FDEFAULTDATAROWS,FBILLTYPE,FMODIFYTIME,FDEFAULTROWS,FCREATORID) VALUES (1453624344889610240,'单据关系图卡片模板','billRelationCardSummary',1453624344889610240,'A','im_transinbill_BBC_S',{ts'2022-06-29  00:00:00'},'bpm_billrelation_cardtpl','1',1164445317291206656,3,'im_transinbill',{ts'2022-06-29  00:00:00'},6,1164445317291206656); 

DELETE FROM T_WF_MBILLSUMARYCFGENTRY WHERE FENTRYID = 1453624344914776064;
INSERT INTO T_WF_MBILLSUMARYCFGENTRY(FID,FFONTSIZE,FENTRYLOCATION,FENTRYID,FFIELDID,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1453624344889610240,0,' ',1453624344914776064,' ',' ',' ','0',' ',' ','0',' ',' ',1,'1','调入组织: {model.org.name}'); 
DELETE FROM T_WF_MBILLSUMARYCFGENTRY WHERE FENTRYID = 1453624344914776065;
INSERT INTO T_WF_MBILLSUMARYCFGENTRY(FID,FFONTSIZE,FENTRYLOCATION,FENTRYID,FFIELDID,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1453624344889610240,0,' ',1453624344914776065,' ',' ',' ','0',' ',' ','0',' ',' ',2,'1','调出组织: {model.outorg.name}'); 
DELETE FROM T_WF_MBILLSUMARYCFGENTRY WHERE FENTRYID = 1453624344914776066;
INSERT INTO T_WF_MBILLSUMARYCFGENTRY(FID,FFONTSIZE,FENTRYLOCATION,FENTRYID,FFIELDID,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1453624344889610240,0,' ',1453624344914776066,' ',' ',' ','0',' ',' ','0',' ',' ',3,'1','业务日期: {model.biztime}'); 

DELETE FROM t_wf_mbillsummarycfg_L WHERE FPKID = '2JJ5FQE01UW+';
INSERT INTO t_wf_mbillsummarycfg_L(FID,FPKID,FLOCALEID,FNAME) VALUES (1453624344889610240,'2JJ5FQE01UW+','en_US','分步调入单_卡片'); 
DELETE FROM t_wf_mbillsummarycfg_L WHERE FPKID = '2JJ5FQE01UVY';
INSERT INTO t_wf_mbillsummarycfg_L(FID,FPKID,FLOCALEID,FNAME) VALUES (1453624344889610240,'2JJ5FQE01UVY','zh_CN','分步调入单_卡片'); 
DELETE FROM t_wf_mbillsummarycfg_L WHERE FPKID = '2JJ5FQE01UVZ';
INSERT INTO t_wf_mbillsummarycfg_L(FID,FPKID,FLOCALEID,FNAME) VALUES (1453624344889610240,'2JJ5FQE01UVZ','zh_TW','分步調入單_卡片'); 

--分布调出
DELETE FROM T_WF_MBILLSUMMARYCFG WHERE FID = 1453623630280873984;
INSERT INTO T_WF_MBILLSUMMARYCFG(FID,FTPLNAME,FSCENE,FMASTERID,FSTATUS,FNUMBER,FCREATETIME,FSUMMARYTPL,FENABLE,FMODIFIERID,FDEFAULTDATAROWS,FBILLTYPE,FMODIFYTIME,FDEFAULTROWS,FCREATORID) VALUES (1453623630280873984,'单据关系图卡片模板','billRelationCardSummary',1453623630280873984,'A','im_transoutbill_BBC_S',{ts'2022-06-29  00:00:00'},'bpm_billrelation_cardtpl','1',1164445317291206656,3,'im_transoutbill',{ts'2022-06-29  00:00:00'},6,1164445317291206656); 

DELETE FROM T_WF_MBILLSUMARYCFGENTRY WHERE FENTRYID = 1453623630322817024;
INSERT INTO T_WF_MBILLSUMARYCFGENTRY(FID,FFONTSIZE,FENTRYLOCATION,FENTRYID,FFIELDID,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1453623630280873984,0,' ',1453623630322817024,' ',' ',' ','0',' ',' ','0',' ',' ',1,'1','调出组织: {model.org.name}'); 
DELETE FROM T_WF_MBILLSUMARYCFGENTRY WHERE FENTRYID = 1453623630322817025;
INSERT INTO T_WF_MBILLSUMARYCFGENTRY(FID,FFONTSIZE,FENTRYLOCATION,FENTRYID,FFIELDID,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1453623630280873984,0,' ',1453623630322817025,' ',' ',' ','0',' ',' ','0',' ',' ',2,'1','调入组织: {model.inorg.name}'); 
DELETE FROM T_WF_MBILLSUMARYCFGENTRY WHERE FENTRYID = 1453623630322817026;
INSERT INTO T_WF_MBILLSUMARYCFGENTRY(FID,FFONTSIZE,FENTRYLOCATION,FENTRYID,FFIELDID,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1453623630280873984,0,' ',1453623630322817026,' ',' ',' ','0',' ',' ','0',' ',' ',3,'1','业务日期: {model.biztime}'); 

DELETE FROM t_wf_mbillsummarycfg_L WHERE FPKID = '2JJ5AIAV/YLB';
INSERT INTO t_wf_mbillsummarycfg_L(FID,FPKID,FLOCALEID,FNAME) VALUES (1453623630280873984,'2JJ5AIAV/YLB','en_US','分步调出单_卡片'); 
DELETE FROM t_wf_mbillsummarycfg_L WHERE FPKID = '2JJ5AIAV/YL=';
INSERT INTO t_wf_mbillsummarycfg_L(FID,FPKID,FLOCALEID,FNAME) VALUES (1453623630280873984,'2JJ5AIAV/YL=','zh_CN','分步调出单_卡片'); 
DELETE FROM t_wf_mbillsummarycfg_L WHERE FPKID = '2JJ5AIAV/YLA';
INSERT INTO t_wf_mbillsummarycfg_L(FID,FPKID,FLOCALEID,FNAME) VALUES (1453623630280873984,'2JJ5AIAV/YLA','zh_TW','分步調出單_卡片'); 

--采购入库
DELETE FROM T_WF_MBILLSUMMARYCFG WHERE FID = 1266875935643152384;
INSERT INTO T_WF_MBILLSUMMARYCFG(FID,FTPLNAME,FSCENE,FMASTERID,FSTATUS,FNUMBER,FCREATETIME,FSUMMARYTPL,FENABLE,FMODIFIERID,FDEFAULTDATAROWS,FBILLTYPE,FMODIFYTIME,FDEFAULTROWS,FCREATORID) VALUES (1266875935643152384,'单据关系图卡片模板','billRelationCardSummary',1266875935643152384,'A','im_purinbill_BBC_S',{ts'2021-10-14  00:00:00'},'bpm_billrelation_cardtpl','1',13466739,3,'im_purinbill',{ts'2022-07-19  00:00:00'},6,13466739); 

DELETE FROM T_WF_MBILLSUMARYCFGENTRY WHERE FENTRYID = 1266875935651540992;
INSERT INTO T_WF_MBILLSUMARYCFGENTRY(FID,FFONTSIZE,FENTRYLOCATION,FENTRYID,FFIELDID,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1266875935643152384,0,' ',1266875935651540992,' ',' ',' ','0',' ',' ','0',' ',' ',1,'1','库存组织: {model.org.name}'); 
DELETE FROM T_WF_MBILLSUMARYCFGENTRY WHERE FENTRYID = 1266875935651540993;
INSERT INTO T_WF_MBILLSUMARYCFGENTRY(FID,FFONTSIZE,FENTRYLOCATION,FENTRYID,FFIELDID,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1266875935643152384,0,' ',1266875935651540993,' ',' ',' ','0',' ',' ','0',' ',' ',2,'1','库管员: {model.operator.operatorname}'); 
DELETE FROM T_WF_MBILLSUMARYCFGENTRY WHERE FENTRYID = 1266875935651540994;
INSERT INTO T_WF_MBILLSUMARYCFGENTRY(FID,FFONTSIZE,FENTRYLOCATION,FENTRYID,FFIELDID,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1266875935643152384,0,' ',1266875935651540994,' ',' ',' ','0',' ',' ','0',' ',' ',3,'1','业务日期: {model.biztime}'); 

DELETE FROM t_wf_mbillsummarycfg_L WHERE FPKID = '1ZLGA97WAX1D';
INSERT INTO t_wf_mbillsummarycfg_L(FID,FPKID,FLOCALEID,FNAME) VALUES (1266875935643152384,'1ZLGA97WAX1D','en_US','采购入库单_卡片'); 
DELETE FROM t_wf_mbillsummarycfg_L WHERE FPKID = '1ZLGA97WAX1C';
INSERT INTO t_wf_mbillsummarycfg_L(FID,FPKID,FLOCALEID,FNAME) VALUES (1266875935643152384,'1ZLGA97WAX1C','zh_TW','采購入庫單_卡片'); 
DELETE FROM t_wf_mbillsummarycfg_L WHERE FPKID = '1ZLGA97WAX1B';
INSERT INTO t_wf_mbillsummarycfg_L(FID,FPKID,FLOCALEID,FNAME) VALUES (1266875935643152384,'1ZLGA97WAX1B','zh_CN','采购入库单_卡片'); 

--采购收货
DELETE FROM T_WF_MBILLSUMMARYCFG WHERE FID = 1288563823690657792;
INSERT INTO T_WF_MBILLSUMMARYCFG(FID,FTPLNAME,FSCENE,FMASTERID,FSTATUS,FNUMBER,FCREATETIME,FSUMMARYTPL,FENABLE,FMODIFIERID,FDEFAULTDATAROWS,FBILLTYPE,FMODIFYTIME,FDEFAULTROWS,FCREATORID) VALUES (1288563823690657792,'单据关系图卡片模板','billRelationCardSummary',1288563823690657792,'A','im_purreceivebill_BBC_S',{ts'2021-11-13  00:00:00'},'bpm_billrelation_cardtpl','1',13466739,3,'im_purreceivebill',{ts'2022-07-19  00:00:00'},6,13466739); 

DELETE FROM T_WF_MBILLSUMARYCFGENTRY WHERE FENTRYID = 1288563823715823616;
INSERT INTO T_WF_MBILLSUMARYCFGENTRY(FID,FFONTSIZE,FENTRYLOCATION,FENTRYID,FFIELDID,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1288563823690657792,0,' ',1288563823715823616,' ',' ',' ','0',' ',' ','0',' ',' ',1,'1','收货组织: {model.org.name}'); 
DELETE FROM T_WF_MBILLSUMARYCFGENTRY WHERE FENTRYID = 1288563823715823617;
INSERT INTO T_WF_MBILLSUMARYCFGENTRY(FID,FFONTSIZE,FENTRYLOCATION,FENTRYID,FFIELDID,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1288563823690657792,0,' ',1288563823715823617,' ',' ',' ','0',' ',' ','0',' ',' ',2,'1','收货员: {model.operator.operatorname}'); 
DELETE FROM T_WF_MBILLSUMARYCFGENTRY WHERE FENTRYID = 1288563823715823618;
INSERT INTO T_WF_MBILLSUMARYCFGENTRY(FID,FFONTSIZE,FENTRYLOCATION,FENTRYID,FFIELDID,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1288563823690657792,0,' ',1288563823715823618,' ',' ',' ','0',' ',' ','0',' ',' ',3,'1','业务日期: {model.biztime}'); 

DELETE FROM t_wf_mbillsummarycfg_L WHERE FPKID = '209CLIQZPPG2';
INSERT INTO t_wf_mbillsummarycfg_L(FID,FPKID,FLOCALEID,FNAME) VALUES (1288563823690657792,'209CLIQZPPG2','zh_TW','采購收貨單_卡片'); 
DELETE FROM t_wf_mbillsummarycfg_L WHERE FPKID = '209CLIQZPPG1';
INSERT INTO t_wf_mbillsummarycfg_L(FID,FPKID,FLOCALEID,FNAME) VALUES (1288563823690657792,'209CLIQZPPG1','zh_CN','采购收货单_卡片'); 
DELETE FROM t_wf_mbillsummarycfg_L WHERE FPKID = '209CLIQZPPG3';
INSERT INTO t_wf_mbillsummarycfg_L(FID,FPKID,FLOCALEID,FNAME) VALUES (1288563823690657792,'209CLIQZPPG3','en_US','采购收货单_卡片'); 

--销售出库
DELETE FROM T_WF_MBILLSUMMARYCFG WHERE FID = 1266919770767240192;
INSERT INTO T_WF_MBILLSUMMARYCFG(FID,FTPLNAME,FSCENE,FMASTERID,FSTATUS,FNUMBER,FCREATETIME,FSUMMARYTPL,FENABLE,FMODIFIERID,FDEFAULTDATAROWS,FBILLTYPE,FMODIFYTIME,FDEFAULTROWS,FCREATORID) VALUES (1266919770767240192,'单据关系图卡片模板','billRelationCardSummary',1266919770767240192,'A','im_saloutbill_BBC_S',{ts'2021-10-15  00:00:00'},'bpm_billrelation_cardtpl','1',13466739,3,'im_saloutbill',{ts'2022-07-19  00:00:00'},6,13466739); 

DELETE FROM T_WF_MBILLSUMARYCFGENTRY WHERE FENTRYID = 1266919770775628800;
INSERT INTO T_WF_MBILLSUMARYCFGENTRY(FID,FFONTSIZE,FENTRYLOCATION,FENTRYID,FFIELDID,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1266919770767240192,0,' ',1266919770775628800,' ',' ',' ','0',' ',' ','0',' ',' ',1,'1','库存组织: {model.org.name}'); 
DELETE FROM T_WF_MBILLSUMARYCFGENTRY WHERE FENTRYID = 1266919770775628801;
INSERT INTO T_WF_MBILLSUMARYCFGENTRY(FID,FFONTSIZE,FENTRYLOCATION,FENTRYID,FFIELDID,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1266919770767240192,0,' ',1266919770775628801,' ',' ',' ','0',' ',' ','0',' ',' ',2,'1','库管员: {model.operator.operatorname}'); 
DELETE FROM T_WF_MBILLSUMARYCFGENTRY WHERE FENTRYID = 1266919770775628802;
INSERT INTO T_WF_MBILLSUMARYCFGENTRY(FID,FFONTSIZE,FENTRYLOCATION,FENTRYID,FFIELDID,FFIELDTYPE,FENTRYLOCATIONID,FISHEADFIELD,FFONTCOLOR,FFIELDPERCEN,FEDITABLE,FFIELDKEY,FAGGREGATEFUNCTION,FSEQ,FISDEFAULTSHOW,FSHOWCONTENT) VALUES (1266919770767240192,0,' ',1266919770775628802,' ',' ',' ','0',' ',' ','0',' ',' ',3,'1','业务日期: {model.biztime}'); 

DELETE FROM t_wf_mbillsummarycfg_L WHERE FPKID = '1ZLOHOUIC/RY';
INSERT INTO t_wf_mbillsummarycfg_L(FID,FPKID,FLOCALEID,FNAME) VALUES (1266919770767240192,'1ZLOHOUIC/RY','en_US','销售出库单_卡片'); 
DELETE FROM t_wf_mbillsummarycfg_L WHERE FPKID = '1ZLOHOUIC/RW';
INSERT INTO t_wf_mbillsummarycfg_L(FID,FPKID,FLOCALEID,FNAME) VALUES (1266919770767240192,'1ZLOHOUIC/RW','zh_CN','销售出库单_卡片'); 
DELETE FROM t_wf_mbillsummarycfg_L WHERE FPKID = '1ZLOHOUIC/RX';
INSERT INTO t_wf_mbillsummarycfg_L(FID,FPKID,FLOCALEID,FNAME) VALUES (1266919770767240192,'1ZLOHOUIC/RX','zh_TW','銷售出庫單_卡片'); 












