-- 项目生产工单
DELETE FROM T_BAS_BILLTYPE WHERE FID = 1548394519970463744;
INSERT INTO T_BAS_BILLTYPE(FID,FISDEFAULT,FDEFPRINTTEMPLATE,FCONTROLPRINTCOUNT,FMASTERID,FSTATUS,FMAXPRINTCOUNT,FBILLFORMID,FBILLINITSETTING,FNUMBER,FLAYOUTSOLUTION,FCREATETIME,FMODIFIERID,FENABLE,FMODIFYTIME,FPRINTAFTERAUDIT,FCREATORID) VALUES (1548394519970463744,'0',' ','0',1548394519970463744,'C',1,'pom_mftorder',' ','pom_mftorder_BT_P_S','0T+N1DRSKCXZ',{ts'2022-11-07  00:00:00'},1546388737879988224,'1',{ts'2022-11-07  00:00:00'},'0',1546388737879988224); 

DELETE FROM T_BAS_BILLTYPE_l WHERE FPKID = '2V66VCLCV+Q3';
INSERT INTO T_BAS_BILLTYPE_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1548394519970463744,'2V66VCLCV+Q3','zh_CN',' ','项目生产工单'); 
DELETE FROM T_BAS_BILLTYPE_l WHERE FPKID = '2V66VCLCV+Q4';
INSERT INTO T_BAS_BILLTYPE_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1548394519970463744,'2V66VCLCV+Q4','zh_TW',' ','項目生產工單');

DELETE FROM T_BAS_BILLTYPEPARAMETER WHERE FFORMID = 'pom_mftorder' and FBILLTYPEID = 1548394519970463744;
INSERT INTO T_BAS_BILLTYPEPARAMETER(FFORMID,FBILLTYPEID,FDATA) VALUES ('pom_mftorder',1548394519970463744,'{"_Type_":"bd_billtypeparameter"}');

-- 受托工单
DELETE FROM t_bas_billtypefldctl WHERE FENTRYID = 1548391487270567936;
INSERT INTO t_bas_billtypefldctl(FID,FVVIEW,FISDELETED,FENTRYID,FSYSMUSTINPUT,FMUSTINPUT,FSUBMITENABLED,FEDITENABLED,FDEFAULTVALUETYPE,FAUDITENABLED,FDEFAULTFUNCNAME,FVINIT,FVSUBMIT,FVNEW,FFIELDELEMENTTYPE,FVEDIT,FENABLED,FFIELDKEY,FSEQ,FDEFAULTVALUE,FDEFAULTFUNCPARAM,FVAUDIT,FDEFAULTFUNCID) VALUES (1478294224494438400,'0','0',1548391487270567936,'0','0','1','0',0,'1',' ','1','0','0',0,'0','0','bdproject',1,' ',' ','0',0); 

-- 生产工单
DELETE FROM t_bas_billtypefldctl WHERE FENTRYID = 1548392158946411520;
INSERT INTO t_bas_billtypefldctl(FID,FVVIEW,FISDELETED,FENTRYID,FSYSMUSTINPUT,FMUSTINPUT,FSUBMITENABLED,FEDITENABLED,FDEFAULTVALUETYPE,FAUDITENABLED,FDEFAULTFUNCNAME,FVINIT,FVSUBMIT,FVNEW,FFIELDELEMENTTYPE,FVEDIT,FENABLED,FFIELDKEY,FSEQ,FDEFAULTVALUE,FDEFAULTFUNCPARAM,FVAUDIT,FDEFAULTFUNCID) VALUES (1186159581118813184,'0','0',1548392158946411520,'0','0','1','0',0,'1',' ','1','0','0',0,'0','0','bdproject',1,' ',' ','0',0); 
