--生产工单默认单据类型
DELETE FROM t_bas_billtype WHERE fid = 1186159581118813184;
INSERT INTO t_bas_billtype(fid,fissyspreset,fdefwnreporttemplate,fdocumentstatus,fdefprinttemplate,fisdefault,fcontrolprintcount,fmasterid,fstatus,fbillformid,fmaxprintcount,fbillinitsetting,fbillcoderuleid,fnumber,fcreatetime,flayoutsolution,fparasettingxml,fmodifierid,fenable,fmodifytime,fprintafteraudit,fcreatorid) VALUES (1186159581118813184,'0',NULL,'0',' ','1','0',1186159581118813184,'C','pom_mftorder',1,' ',' ','pom_mftorder_BT_S',{ts'2021-06-25  00:00:00'},'0T+N1DRSKCXZ',NULL,8638558,'1',{ts'2021-06-25  00:00:00'},'1',1158710551313022976); 

DELETE FROM t_bas_billtype_l WHERE fpkid = '1PORTK374HI+';
INSERT INTO t_bas_billtype_l(fid,fpkid,flocaleid,fdescription,fname) VALUES (1186159581118813184,'1PORTK374HI+','zh_CN',' ','生产工单'); 
DELETE FROM t_bas_billtype_l WHERE fpkid = '1PORTK374HI/';
INSERT INTO t_bas_billtype_l(fid,fpkid,flocaleid,fdescription,fname) VALUES (1186159581118813184,'1PORTK374HI/','zh_TW',' ','生產工單'); 

--工单变更单默认单据类型
DELETE FROM t_bas_billtype WHERE fid = 1186177707634020352;
INSERT INTO t_bas_billtype(fid,fissyspreset,fdefwnreporttemplate,fdocumentstatus,fdefprinttemplate,fisdefault,fcontrolprintcount,fmasterid,fstatus,fbillformid,fmaxprintcount,fbillinitsetting,fbillcoderuleid,fnumber,fcreatetime,flayoutsolution,fparasettingxml,fmodifierid,fenable,fmodifytime,fprintafteraudit,fcreatorid) VALUES (1186177707634020352,'0',NULL,'0',' ','1','0',1186177707634020352,'C','pom_xmftorder',1,' ',' ','pom_xmftorder_BT_S',{ts'2021-06-25  00:00:00'},'0ZQIR17IQ15H',NULL,1158710551313022976,'1',{ts'2021-06-25  00:00:00'},'1',1158710551313022976); 

DELETE FROM t_bas_billtype_l WHERE fpkid = '1POV6NHX3G8V';
INSERT INTO t_bas_billtype_l(fid,fpkid,flocaleid,fdescription,fname) VALUES (1186177707634020352,'1POV6NHX3G8V','zh_CN',' ','工单变更单'); 
DELETE FROM t_bas_billtype_l WHERE fpkid = '1POV6NHX3G8W';
INSERT INTO t_bas_billtype_l(fid,fpkid,flocaleid,fdescription,fname) VALUES (1186177707634020352,'1POV6NHX3G8W','zh_TW',' ','工單變更單'); 

--工单汇报单默认单据类型
DELETE FROM t_bas_billtype WHERE fid = 1185440391386845184;
INSERT INTO t_bas_billtype(fid,fissyspreset,fdefwnreporttemplate,fdocumentstatus,fdefprinttemplate,fisdefault,fcontrolprintcount,fmasterid,fstatus,fbillformid,fmaxprintcount,fbillinitsetting,fbillcoderuleid,fnumber,fcreatetime,flayoutsolution,fparasettingxml,fmodifierid,fenable,fmodifytime,fprintafteraudit,fcreatorid) VALUES (1185440391386845184,'0',NULL,'0',' ','1','0',1185440391386845184,'C','pom_mftorderreport',1,' ',' ','pom_mftorderreport_BT_S',{ts'2021-06-24  00:00:00'},'114IB3/TO4XP',NULL,1158710551313022976,'1',{ts'2021-06-24  00:00:00'},'1',1158710551313022976); 

DELETE FROM t_bas_billtype_l WHERE fpkid = '1PLAEUWXE091';
INSERT INTO t_bas_billtype_l(fid,fpkid,flocaleid,fdescription,fname) VALUES (1185440391386845184,'1PLAEUWXE091','zh_CN',' ','工单汇报单'); 
DELETE FROM t_bas_billtype_l WHERE fpkid = '1PLAEUWXE092';
INSERT INTO t_bas_billtype_l(fid,fpkid,flocaleid,fdescription,fname) VALUES (1185440391386845184,'1PLAEUWXE092','zh_TW',' ','工單彙報單'); 
