----销售订单消息主题中心预置
IF NOT EXISTS (SELECT 1 FROM t_wf_billsubjectmodel  WHERE fentitynumber  = 'sm_salorder')
INSERT INTO T_WF_BILLSUBJECTMODEL(FID,FMODIFYDATE,FPUSHSTATUSPLUGIN,FBILLSUBJECTMOB,FBILLSUBJECT,FCREATEDATE,FMOBILEFORMKEY,FFORMKEYNAME,FBIZTRACENO,FFORMKEY,FBILLSUBJECTNAME,FENTITYNUMBER,FREFERORGANIZATION,FMAINFIELD,FBILLSUBMOBNAME,FSUBJECTSHOWNAME,FBILLID,FMODIFIERID,FMOBILEFORMKEYNAME,FBIZTRACENODESC,FBILLNAME,FPERMISSIONSPLUGIN,FCREATORID,FSAMPLE) VALUES (1450105494298441728,{ts'2022-06-27  00:00:00'},' ',' ','[{"sv_rule":"","customSubject":"{model.customer.name} {totalallamount} 销售订单 {billno}","rule":"","type":"expression","scene":"task"}]',{ts'2022-06-24  00:00:00'},' ','销售订单(sm_salorder)',' ','sm_salorder',' ','sm_salorder',' ',' ',' ','{model.customer.name} {totalallamount} 销售订单 {billno}','/S6F8QA39CS6',1162960583100742656,' ',' ','销售订单',' ',1162960583100742656,' '); 
IF NOT EXISTS (SELECT 1 FROM t_wf_billsubjectmodel_l  WHERE FPKID  = '2J3=ZYBOXLM+')  INSERT INTO t_wf_billsubjectmodel_l(FID,FPKID,FBILLSUBJECTMOB,FBILLSUBJECT,FFORMKEYNAME,FBILLSUBJECTNAME,FBILLSUBMOBNAME,FSUBJECTSHOWNAME,FLOCALEID,FMOBILEFORMKEYNAME,FBIZTRACENODESC,FBILLNAME,FSAMPLE) VALUES (1450105494298441728,'2J3=ZYBOXLM+',' ','[{"sv_rule":"","customSubject":"{model.customer.name} {totalallamount} 销售订单 {billno}","rule":"","type":"expression","scene":"task"}]','销售订单(sm_salorder)',' ',' ','{model.customer.name} {totalallamount} 销售订单 {billno}','zh_TW',' ',' ','銷售訂單',' '); 
IF NOT EXISTS (SELECT 1 FROM t_wf_billsubjectmodel_l  WHERE FPKID  = '2J3=ZYBOXLM/')  INSERT INTO t_wf_billsubjectmodel_l(FID,FPKID,FBILLSUBJECTMOB,FBILLSUBJECT,FFORMKEYNAME,FBILLSUBJECTNAME,FBILLSUBMOBNAME,FSUBJECTSHOWNAME,FLOCALEID,FMOBILEFORMKEYNAME,FBIZTRACENODESC,FBILLNAME,FSAMPLE) VALUES (1450105494298441728,'2J3=ZYBOXLM/',' ','[{"sv_rule":"","customSubject":"{model.customer.name} {totalallamount} 销售订单 {billno}","rule":"","type":"expression","scene":"task"}]','销售订单(sm_salorder)',' ',' ','{model.customer.name} {totalallamount} 销售订单 {billno}','en_US',' ',' ','销售订单',' '); 
IF NOT EXISTS (SELECT 1 FROM t_wf_billsubjectmodel_l  WHERE FPKID  = '2J3=ZYBOXLM0')  INSERT INTO t_wf_billsubjectmodel_l(FID,FPKID,FBILLSUBJECTMOB,FBILLSUBJECT,FFORMKEYNAME,FBILLSUBJECTNAME,FBILLSUBMOBNAME,FSUBJECTSHOWNAME,FLOCALEID,FMOBILEFORMKEYNAME,FBIZTRACENODESC,FBILLNAME,FSAMPLE) VALUES (1450105494298441728,'2J3=ZYBOXLM0',' ','[{"sv_rule":"","customSubject":"{model.customer.name} {totalallamount} 销售订单 {billno}","rule":"","type":"expression","scene":"task"}]','销售订单(sm_salorder)',' ',' ','{model.customer.name} {totalallamount} 销售订单 {billno}','zh_CN',' ',' ','销售订单',' '); 
